From e9d2df04946d7978283a93b2622ef361dc89d56f Mon Sep 17 00:00:00 2001 From: whx Date: Mon, 5 Sep 2022 23:30:48 +0200 Subject: [PATCH] openssl --- crypto/openssl/{openssl.md => OpenSSL-Cheatsheet.md} | 6 ++++++ 1 file changed, 6 insertions(+) rename crypto/openssl/{openssl.md => OpenSSL-Cheatsheet.md} (79%) 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 +```