3 echo "autossl.sh here called with $*" >&2
8 tls_ports
=([21]=990 [23]=992 [25]=465 [80]=443 [110]=995 [119]=563 [143]=993 [194]=994 [389]=636)
10 tls_port
=${tls_ports[$plain_port]}
14 unset AUTOSSL_UPGRADE_PORTS
15 exec nc
-v "$ip" "$plain_port"
17 echo "autossl.sh: opening TLS channel to $ip:$tls_port" >&2
18 openssl s_client
-connect "$ip:$tls_port" -quiet