In progress document on command line usage of OpenSSL
In progress document on command line usage of OpenSSL
References:
Direct Connect to SSL Port
For testing HTTPS, POP3S, etc
openssl s_client [-crlf] -connect address:portConnect to SSL Port using SNI ServernameS
HTTPS testing using SNI based virtuals
openssl s_client [-crlf] -servername hostname -connect address:portConnect to service using STARTTLS
For testing SMTP w/ starttls, IMAP w/ starttls...
openssl s_client [-crlf] -starttls service -connect address:portService is one of: smtp pop3 imap ftp
Connect with a specific version of SSL/TLS
Useful for verifying that a specific version isn't supported, try connecting with that version and see if it fails.
Note: -crlf will translate line feed from terminal into CR+LF
openssl req -new [-nodes] -keyout certname.key -out certname.csropenssl x509 -in certname.csr -out certname.crt -req -signkey signingkey.key -days 365openssl req -new -x509 -nodes -days 366 -out servercert.pem -keyout servercert.pemopenssl rsa -in signed.key -out unsigned.keyopenssl x509 -noout -text -in pop3s.pem