Skip to content

Script to create CA authority cert, sever cert and server key for development environments

License

Notifications You must be signed in to change notification settings

merlincox/selfca

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

selfca

Tired of adding server certificate exceptions, etc when doing local development with self-signed SSL certs?

This is a script to create a CA authority cert, server cert and server key for development environments.

Add the CA cert to your browser and/or keychain authorities and add the server cert and server key to your local server.

Because the server cert is signed by the CA, the SSL problems should go away in browsers with the CA.

Reuses parts of [https://gist.github.com/polevaultweb/c83ac276f51a523a80d8e7f9a61afad0] but includes the CA creation.

Also uses -subj arguments to avoid the question prompts when generating the CA and the CSR.

About

Script to create CA authority cert, sever cert and server key for development environments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages