This repository has been archived by the owner. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 50
This repository has been archived by the owner. It is now read-only.
OpenSSL / Default CA issues with latest Rails images #38
Copy link
Copy link
Closed
Description
$ docker run -it rails:4.2.5.1 curl -v https://api.outbrain.com
* Rebuilt URL to: https://api.outbrain.com/
* Hostname was NOT found in DNS cache
* Trying 50.31.185.57...
* Connected to api.outbrain.com (50.31.185.57) port 443 (#0)
* successfully set certificate verify locations:
* CAfile: none
CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS alert, Server hello (2):
* SSL certificate problem: unable to get local issuer certificate
* Closing connection 0
curl: (60) SSL certificate problem: unable to get local issuer certificate
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.
$ docker run -it rails:4.2.4 curl -v https://api.outbrain.com
* Rebuilt URL to: https://api.outbrain.com/
* Hostname was NOT found in DNS cache
* Trying 64.74.232.58...
* Connected to api.outbrain.com (64.74.232.58) port 443 (#0)
* successfully set certificate verify locations:
* CAfile: none
CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server key exchange (12):
* 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 TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* Server certificate:
* subject: C=US; ST=New York; L=New York; O=Outbrain Inc.; OU=Operations; CN=*.outbrain.com
* start date: 2014-10-20 00:00:00 GMT
* expire date: 2016-12-18 23:59:59 GMT
* subjectAltName: api.outbrain.com matched
* issuer: C=US; O=thawte, Inc.; CN=thawte SSL CA - G2
* SSL certificate verify ok.
> GET / HTTP/1.1
> User-Agent: curl/7.38.0
> Host: api.outbrain.com
> Accept: */*
>
< HTTP/1.1 302 Found
< Cache-Control: no-cache
< Content-length: 0
< Location: http://www.outbrain.com/?proxy-redirect=1
< Connection: close
<
* Closing connection 0
* SSLv3, TLS alert, Client hello (1):
Metadata
Metadata
Assignees
Labels
No labels