Check for SMTP TLS from command line with OpenSSL

terminal - How to talk to IMAP server in Shell via OpenSSL A few more options to consider: You may be connecting to a server offering STARTTLS (esp. for IMAP on port 143) in which case you can tell openssl to proceed in negotiating this, you need to specify which protocol you're using (choose from pop3, imap, smtp, ftp); the -crlf option has been mentioned by others, and I also find the -showcerts option useful if I'm debugging an SSL/TLS configuration. Command Line Utilities - OpenSSL The openssl program provides a rich variety of commands, each of which often has a wealth of options and arguments. Many commands use an external configuration file for some or all of their arguments and have a -config option to specify that file. The environment variable OPENSSL_CONF can be used to specify the location of the configuration file. If the environment variable is not specified, a How to make http/https requests yourself with nc/telnet

I have IPv6 on all my hosts. It seems that telnet uses IPv6 by default and this works. For example: telnet -6 puppet 8140 works but . telnet -4 puppet 8140 does not work. So there seems to be a problem with the IPv4 route. openssl seems to only (or by default) use IPv4 and therefore fails but telnet …

If you have only imaps enabled, see "remote login" section below for how to test using openssl s_client. Check that it's allowing logins # telnet localhost 143 a login "username" "password" Replace the username and password with the ones you added to passwd.dovecot in BasicConfiguration. Note that all IMAP commands begin with a tag, which is Email Troubleshooting, Including IMAP, Dovecot, and Linux openssl; telnet; Be sure to internalize this hierarchy for maximum troubleshooting productivity. Using the hierarchy and tools, you should be able to solve email client connection problems with a known good IMAP or POP server within minutes, not hours.

SMTP STARTTLS certificate negotitiation via telnet - Stack

OpenSSL download | SourceForge.net Sep 27, 2016 Telnet with TLS support (telnet-tls) download Apr 24, 2013 How to check SMTP connection from Command Line ( Linux 3. openssl: It's a general purpose library that provides an open-source implementation of SSL and TLS protocol. Note: If openssl is not installed, copy and paste the below command: sudo yum install openssl. Step 1: Checking SMTP Connection Using Telnet. Telnet to your host, you want to check connection. How to troubleshoot SSL connections with openssl