第一種
SSL handshake error: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:1408A10B:SSL routines:ssl3_get_client_hello:wrong version number
SSL handshake error: stream_socket_enable_crypto(): SSL_R_NO_SHARED_CIPHER: no suitable shared cipher could be used. This could be because the server is missing an SSL certificate (local_cert context option)
第二種
SSL handshake error: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol
證書是阿里云申請(qǐng)的免費(fèi)證書,并且是最近申請(qǐng)的,也沒有過期,證書也確實(shí)在服務(wù)器的某個(gè)位置存儲(chǔ)的。項(xiàng)目目前在開發(fā)階段,一般只有我自己會(huì)訪問,并且可以正常通過https來訪問。經(jīng)常會(huì)突然出現(xiàn)一個(gè)ssl錯(cuò)誤,也不知道是什么原因,會(huì)不會(huì)對(duì)項(xiàng)目有什么影響,查找資料也沒找到答案,麻煩有了解這方面的大神給解惑一下,謝謝
是因?yàn)镾SL是有幾個(gè)不同協(xié)議和多種不同方式,
正常情況下是進(jìn)行交涉,選取雙方認(rèn)定的協(xié)議和加密方式,再進(jìn)行通訊。
出現(xiàn)這個(gè)錯(cuò)誤就是因?yàn)閰f(xié)商失敗。
協(xié)商的事情就交給nginx,然后nginx通過http和webman通訊就可以了。