Last active
January 1, 2017 22:28
-
-
Save fordaz/1b372e55b4d697ea2d41 to your computer and use it in GitHub Desktop.
UAA key configuration
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
| Generate your private key with any passphrase | |
| openssl genrsa -aes256 -out server.key 1024 | |
| Remove passphrase from key | |
| openssl rsa -in server.key -out server.key | |
| Generate certificate signing request for CA | |
| openssl req -x509 -new -key server.key -out server.csr | |
| Generate self-signed certificate with 365 days expiry-time | |
| openssl x509 -sha256 -days 365 -in server.csr -signkey server.key -out selfsigned.crt | |
| Extract public key from certificate | |
| openssl x509 -pubkey -noout -in selfsigned.crt > pubkey.pem | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment