Created
June 11, 2022 13:48
-
-
Save vikpe/f3c05cf33a2370ae5703eeb15647a628 to your computer and use it in GitHub Desktop.
Generate a selfsigned key and cert
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
openssl genrsa -out server.key 2048 | |
openssl ecparam -genkey -name secp384r1 -out server.key | |
openssl req -new -x509 -sha256 -key server.key -out server.crt -days 3650 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment