Created
June 15, 2017 14:26
-
-
Save dylanmei/d8e17bec4d498d584ff9b7bae39737f9 to your computer and use it in GitHub Desktop.
simple ss-cert
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 genrsa -out ca-key.pem 2048 | |
openssl req -x509 -new -nodes -key ca-key.pem -subj "/CN=*" -days 3650 -out ca.pem | |
openssl genrsa -out telepath-key.pem 2048 | |
openssl req -new -key telepath-key.pem -subj "/CN=telepath" -out telepath.csr | |
openssl x509 -req -in telepath.csr -CA ca.pem -CAkey ca-key.pem -CAcreateserial -out telepath.pem -days 3650 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment