[stunnel-users] Creating tunnel to smtp.office365.com:587

Małgorzata Olszówka gosia at olszowka.net
Fri Jan 20 11:39:09 CET 2017


 > The one thing I'm wondering about is the checkHost option. Should I be
 > adding checkHost = smtp.office365.com <http://smtp.office365.com> to
 > verify the certificate of smtp.office365.com
 > <http://smtp.office365.com>? Whenever I add this option, it tells me:
 > [!] /usr/local/etc/stunnel/stunnel.conf:87: "checkHost =
 > smtp.office365.com <http://smtp.office365.com>": Specified option name
 > is not valid here

Hello,
I guess that you have problem with the checkHost option, becouse this 
option requires OpenSSL 1.0.2 or later.
Another thing is that this single option is not able to verify the 
certificate . It must be merged with verifyCheck = yes.

Regards.



More information about the stunnel-users mailing list