openssl req -out CSR.csr -new -newkey rsa:2048 -nodes -sha256 -keyout privateKey.keyopenssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -keyout privateKey.key -out certificate.crtopenssl req -out CSR.csr -key privateKey.key -newopenssl x509 -x509toreq -in certificate.crt -out CSR.csr -signkey privateKey.keyopenssl rsa -in privateKey.pem -out newPrivateKey.pemopenssl req -text -noout -verify -in CSR.csropenssl rsa -in privateKey.key -checkopenssl x509 -in certificate.crt -text -nooutopenssl pkcs12 -info -in keyStore.p12openssl x509 -noout -text -in certificate.crtopenssl s_client -connect www.paypal.com:443`openssl pkcs12 -in keyStore.p12 -out keyStore.pem -nodesopenssl rsa -in example.key -out example.nocrypt.keyopenssl speed sha1openssl speed aes-256-cbcopenssl speed -evp aes-256-cbc# openssl versionOpenSSL 1.0.1e 11 Feb 2013# apache2 -vServer version: Apache/2.2.22 (Debian)Server built: Aug 18 2015 09:50:52a2enmod ssla2enmod headersa2enmod setenvif SSLEngine on SSLHonorCipherOrder On SSLCipherSuite ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-E SSLProtocol -ALL +TLSv1 +TLSv1.1 +TLSv1.2 SSLCertificateFile /etc/ssl/www.example.com.pem SSLCertificateKeyFile /etc/ssl/www.example.com.key SSLCertificateChainFile /etc/ssl/chain.pem SSLStrictSNIVHostCheck On Header always set Strict-Transport-Security "max-age=63072000; includeSubdomains; preload" <FilesMatch "\.(cgi|shtml|phtml|php)$"> SSLOptions +StdEnvVars </FilesMatch> <Directory /usr/lib/cgi-bin> SSLOptions +StdEnvVars </Directory> BrowserMatch "MSIE [2-6]" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 # MSIE 7 and newer should be able to use keepalive BrowserMatch "MSIE [17-9]" ssl-unclean-shutdownNo comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.