Created
November 12, 2018 23:57
-
-
Save johnoscott/e12b6ddf12901e71af3196ee62f78d2e to your computer and use it in GitHub Desktop.
Create a Self-signed Certificate for Development
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Credit to : https://github.com/kingkool68/generate-ssl-certs-for-local-development | |
Here is the sample output after running the script: | |
sudo ./generate-ssl.sh local.dev | |
Password: | |
Generating RSA private key, 2048 bit long modulus | |
..........+++ | |
..............................................+++ | |
e is 65537 (0x10001) | |
Enter pass phrase for tmp/local.devCA.key: | |
Verifying - Enter pass phrase for tmp/local.devCA.key: | |
Enter pass phrase for tmp/local.devCA.key: | |
Generating RSA private key, 2048 bit long modulus | |
...............+++ | |
.........+++ | |
e is 65537 (0x10001) | |
Signature ok | |
subject=/C=US/ST=Fake State/L=Fake Locality/O=Fake Company/CN=local.dev | |
Getting CA Private Key | |
Enter pass phrase for tmp/local.devCA.key: | |
All done! Check the your-certs directory for your certs. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment