Kirjoittaja Aihe: curl error 60 Problem with the CA cert [Ratkaistu]  (Luettu 1950 kertaa)

ajaaskel

  • Palvelimen ylläpitäjä
  • Käyttäjä
  • Viestejä: 3401
    • Profiili
curl alkoi temppuilla....   

(hyödytön poistettu...)

Edit 26.9.2016:
Asia ei ollutkaan curlin vika miltään osin vaan:

Koodia: [Valitse]
curl -I https://dy.fi
curl: (60) SSL certificate problem: certificate has expired
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.

eli sertifikaatti vanhentunut palvelimen päässä (dy.fi) sillä muualta vastaus tulee kuten pitääkin:

Koodia: [Valitse]
curl -I https://elisa.fi
HTTP/1.1 200 OK
Server: nginx
Date: Mon, 26 Sep 2016 19:12:51 GMT
Content-Type: text/html
Content-Length: 38923
Last-Modified: Mon, 26 Sep 2016 09:09:16 GMT
Connection: keep-alive
Vary: Accept-Encoding
ETag: "57e8e5bc-980b"
Cache-Control: max-age=10, must-revalidate
X-UA-Compatible: IE=Edge,chrome=IE8
Accept-Ranges: bytes

Virhe kiusasi käyttämääni ddns-clienttia ja tein siihen pienen muutoksen että se ei tarkista sertifikaattia jolloin dy.fi toimii jälleen ok:
http://www.homelinuxpc.com/download/regmyip
« Viimeksi muokattu: 26.09.16 - klo:22.22 kirjoittanut ajaaskel »
Autamme ilolla ja ilmaiseksi omalla ajallamme.  Ethän vaadi, uhoa tai isottele näin saamasi palvelun johdosta.