SSL_connect SYSCALL returned=5 errno=0 state=SSLv2/v3 read server hello A

前端 未结 3 1425
青春惊慌失措
青春惊慌失措 2021-01-02 04:28

I have a ruby client that connects to an exchange server using IMAP & SSL. I use the Ruby Net::IMAP library (which uses openssl under the covers) to connect. Its been wo

3条回答
  •  滥情空心
    2021-01-02 05:22

    Well it turns out the root cause on this one was ms exchange was misconfigured. I would love to have learned more about ssl errors and how to troublshoot them, but I just didnt get much info on this.

    I did try to just troublshoot this using open ssl, fyi, you can do: OpenSSL> s_client -connect myserver:993

    When it was broken, I received this error: CONNECTED(00000003) 26831:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:s23_lib.c:188:

    Once we fixed I got a cert and handshake message etc.

    Here is what my exchange admin said he did: "I just went to the IMAP protocol and went to the access tab. Then the certificates button. From there I chose to replace the cert and chose the new cert."

提交回复
热议问题