Giter VIP home page Giter VIP logo

devcert-cli's People

Contributors

davewasmer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

devcert-cli's Issues

Ability to supply a name for the key/cert

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

Error: "localhost" is not a valid domain name

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:

  1. Uninstall: npm uninstall devcert-cli -g

  2. Install: npm install devcert-cli -g

  3. Check versions: npm list devcert -g

image

  1. Try to generate a new cert for localhost: devcert generate localhost

That's when I get the message: Error: "localhost" is not a valid domain name.

Install error

$ 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

Disable issue

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.