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

前端 未结 3 1418
青春惊慌失措
青春惊慌失措 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:28

    According to the documentation, you can set the SSL verification to none when instantiating Net:IMAP

    foo = Net::IMAP.new(host, port, true, nil, false)
    

    You can also point to a local copy of the CA cert with the certs option.

    note: I haven't tried this myself...

提交回复
热议问题