Source

bin / ssl

Full commit
#!/bin/bash
# Debug SSL/TLS servers.

SERVER=$1
PORT=$2

if [ -z $SERVER ]; then
    SERVER=localhost
fi
if [ -z $PORT ]; then
    PORT=25
fi

openssl s_client -connect $SERVER:$PORT -starttls smtp