davewasmer / devcert-cli Goto Github PK
View Code? Open in Web Editor NEWA CLI wrapper for devcert, to manage development SSL/TLS certificates and domains
A CLI wrapper for devcert, to manage development SSL/TLS certificates and domains
The source links in the README are broken as a result...
I would like to be able to supply a name
arg that would allow the output to use that name instead of domain.
For example,
npx devcert-cli generate localhost --name snowpack
Also, curious as to why you went with .cert
instead of .crt
I did a fresh install (global) of devcert-cli, which that automatically depends on the latest version of devcert (as of now, 1.2.1) and now I'm getting an error message when trying to generate certificates for localhost.
This issue may be related: davewasmer/devcert#83
Steps to reproduce:
Uninstall: npm uninstall devcert-cli -g
Install: npm install devcert-cli -g
Check versions: npm list devcert -g
devcert generate localhost
That's when I get the message: Error: "localhost" is not a valid domain name.
$ npm install -g devcert-cli
npm ERR! path /usr/local/lib/node_modules/devcert-cli/cli.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/devcert-cli/cli.js'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/iradchenko/.npm/_logs/2018-04-06T14_37_52_375Z-debug.log
Using devcert-cli
to remove a server certificate does not work.
Running this:
devcert disable localhost
And running the generation procedure again results in:
ERROR:There is already a certificate for /CN=localhost
The matching entry has the following details
EDIT:
Replacing index.txt
under devcert/certificate-authority
with an empty file fixes the issue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.