diff --git a/crypto/openssl/openssl.md b/crypto/openssl/OpenSSL-Cheatsheet.md similarity index 79% rename from crypto/openssl/openssl.md rename to crypto/openssl/OpenSSL-Cheatsheet.md index 8970457..964d99b 100644 --- a/crypto/openssl/openssl.md +++ b/crypto/openssl/OpenSSL-Cheatsheet.md @@ -15,3 +15,9 @@ openssl pkcs12 -in cert.pfx -out cert.pem -clcerts -nokeys openssl pkcs12 -in *.pfx -out temp.pem -nodes openssl pkcs12 -export -out *.pfx -in temp.pem ``` + +## Generate Certificate + +```sh +openssl req -new -x509 -keyout cert.pem -out cert.pem -days 365 -nodes +```