11
OSX'te curl kullanarak belirli bir URL'ye erişirken sorun yaşıyorum. Diğer URL'ler için yanıt alıyorum ve bu özel UWL için diğer ubuntu makinesinden yanıt alabilirim.Curl hatası - Sunucudan boş cevap (ssl)
Takılıyorum ve hangi sistemin bozuk olduğunu bilmiyorum ve tüm sistemi yükseltmekten başka hiçbir fikrim yok ve bunu yapmama engel olacak herhangi bir tavsiyeyi gerçekten takdir ediyorum. kıvrılma
Çıktı:
$ curl -v https://subdomain.example.com/pushdispatcher/dispatcher.asp
* About to connect() to subdomain.example.com port 443 (#0)
* Trying 213.229.251.147... connected
* Connected to subdomain.example.com (213.229.251.147) port 443 (#0)
* successfully set certificate verify locations:
* CAfile: /Users/bmihelac/.cert/cacert.pem
CApath: none
* SSLv2, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server finished (14):
* SSLv3, TLS handshake, Client key exchange (16):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSL connection using RC4-MD5
* Server certificate:
* subject: /C=SI/ST=Ljubljana/L=Ljubljana/O=Example d.d./OU=Example/CN=subdomain.example.com
* start date: 2011-07-01 00:00:00 GMT
* expire date: 2012-07-26 23:59:59 GMT
* common name: subdomain.example.com (matched)
* issuer: /C=US/O=Thawte, Inc./CN=Thawte SSL CA
* SSL certificate verify ok.
> GET /pushdispatcher/dispatcher.asp HTTP/1.1
> User-Agent: curl/7.16.4 (i386-apple-darwin9.0) libcurl/7.16.4 OpenSSL/0.9.7l zlib/1.2.3
> Host: subdomain.example.com
> Accept: */*
>
* SSLv3, TLS handshake, Hello request (0):
* SSL read: error:00000000:lib(0):func(0):reason(0), errno 54
* Empty reply from server
* Connection #0 to host subdomain.example.com left intact
curl: (52) SSL read: error:00000000:lib(0):func(0):reason(0), errno 54
* Closing connection #0
SSL sorunu bir süper ile -old kıvrım ve bir süper eski OpenSSL sürümü. Bileşenleri yükseltmenizi ve ilk çözüm olarak tekrar denemenizi öneriyorum. –
@daniel Haha, Kendimi farkettim ... Çok eski bir soruya yorum yaptınız. Yayınlandığı zaman o kadar yaşlı değildi, lmao. Ama sen soruyu aktive ettin ve şimdi kendimi cevapladığımı buldum. Lol. – stevenvanc
curl 7.16.4, 2012 yılında beş yaşındaydı ... –