Last active
July 13, 2017 19:29
-
-
Save jnovack/15904ba53e1aca08225f361d076d6049 to your computer and use it in GitHub Desktop.
OpenSSL Self-Signed Certificate
This file contains 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
#!/bin/sh | |
openssl req -x509 -nodes -newkey rsa:4096 -keyout key.pem -out certificate.pem -days 720 \ | |
-subj "/C=XX/ST=State/L=City/O=Department/OU=Organization/CN=localhost.localdomain" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment