Last active
December 2, 2015 14:38
-
-
Save rmoriz/62d9df7d18e00f98ab1b to your computer and use it in GitHub Desktop.
Create a private key & self-signed certificate with OpenSSL using a single command
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
openssl req -x509 \ | |
-nodes \ | |
-newkey rsa:4096 \ | |
-sha256 \ | |
-keyout key.pem \ | |
-out cert.pem \ | |
-days 365 \ | |
-subj "/C=DE/ST=Bavaria/L=Pullach/O=Bundessstelle für Cloud-Aufgaben/CN=owncloud.local" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment