"SSL23_GET_SERVER_HELLO: unknown protocol" Error while trying to get Outlook smtp Server

I am trying to send emails from an Outlook account in an iOS application. I use Mailcore2 and the Outlook Live-SDK. I can receive emails, but I get an error message when I try to send an email: "a stable connection to the server cannot be established."

To investigate the problem, I went into the terminal and tried to connect via SSL:

openssl s_client -crlf -connect smtp-mail.outlook.com:587

The answer I received was:

error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown  protocol:/SourceCache/OpenSSL098/OpenSSL098-50/src/ssl/s23_clnt.c:607

I do not know exactly what this error means, after a short search I found that the general answer to this problem was that the server I'm trying to contact might not support the necessary SSL protocol. This site: http://foundeo.com/products/iis-weak-ssl-ciphers/test.cfm allows you to check which SSL protocols are enabled for a specific domain. Using this, I found that SSLV2 is disabled, and SSLV3 is also disabled.

I do not understand what all this means or what I need to do to connect to this server. Any help is appreciated.

+4
source share
1 answer

SMTP- 587 . STARTTLS SMTP, .

openssl STARTTLS , SMTP. -starttls smtp, fooobar.com/questions/936590/...


Outlook.com, , smtps: http://windows.microsoft.com/en-us/windows/outlook/send-receive-from-app

+3

Source: https://habr.com/ru/post/1531420/


All Articles