From 0946d3a07be605b8202d4891dacdc66bc67830b0 Mon Sep 17 00:00:00 2001 From: Andres Hermosilla Date: Thu, 3 Aug 2017 16:45:57 -0700 Subject: [PATCH] Added guide on openssl --- openssl.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 openssl.md diff --git a/openssl.md b/openssl.md new file mode 100644 index 0000000..8938594 --- /dev/null +++ b/openssl.md @@ -0,0 +1,20 @@ +# OpenSSL + +```bash +# Verify a PEM +openssl x509 -inform PEM -in agent.crt.pem -noout -text + +# Convert cert to PEM format +openssl x509 -in rabbitmq.crt -outform PEM -out rabbitmq.crt.pem + +# Connect to server and show certs +openssl s_client -showcerts -connect pluralsight.com:443 + +# To debug openssl/certs on a server start openssl server ... +openssl s_server -key key.pem -cert cert.pem + +# .. connect to server +openssl s_client -connect server.com:443 -ssl3 +``` + +- https://blog.jorisvisscher.com/2015/07/22/create-a-simple-https-server-with-openssl-s_server/ \ No newline at end of file