This page is used to 'host' a personnal Knowledge Base with some short gists, cheatsheets and bookmarked-urls.

sql> select * from KB_cards where tags like '%openssl%'
All KB cards
Export the SSL certificate(s) of a server to a .pem file: TARGET_HOST="fqdn_of_target_host" TARGET_PORT="443" openssl s_client -showcerts -connect $TARGET_HOST:$TARGET_PORT </dev/null 2>/dev/null|openssl x509 -outform PEM > $TARGET_HOST.pem