0
無論是在我的程序(它使用OpenSSL的),並捲曲,我不能獲取一個網站:爲什麼不能捲曲/ OpenSSL獲取chrome + firefox可以訪問的網站?
$ curl -v https://registration.experient-inc.com/HTMLProduction/ShowCES131/ConfirmationImages/CES131_Header.JPG * About to connect() to registration.experient-inc.com port 443 (#0) * Trying 12.153.51.94... * connected * Connected to registration.experient-inc.com (12.153.51.94) port 443 (#0) * successfully set certificate verify locations: * CAfile: /usr/ssl/certs/ca-bundle.crt CApath: none * SSLv3, TLS handshake, Client hello (1): * Unknown SSL protocol error in connection to registration.experient-inc.com:443 * Closing connection #0 curl: (35) Unknown SSL protocol error in connection to registration.experient-inc.com:443
由於每一個不同的問題,我將發佈一個直接OpenSSL的調用會發生什麼:
$ openssl s_client -host 12.153.51.94 -port 443 CONNECTED(00000003) write:errno=104 --- no peer certificate available --- No client certificate CA names sent --- SSL handshake has read 0 bytes and written 320 bytes --- New, (NONE), Cipher is (NONE) Secure Renegotiation IS NOT supported Compression: NONE Expansion: NONE ---
任何想法爲什麼發生這種情況/如何解決它?