[Bug 215291] ftp/curl unable to verify SSL certificates with LibreSSL.
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Dec 14 00:38:56 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215291
Bug ID: 215291
Summary: ftp/curl unable to verify SSL certificates with
LibreSSL.
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: sunpoet at FreeBSD.org
Reporter: peter.kien at fastmail.co.uk
Flags: maintainer-feedback?(sunpoet at FreeBSD.org)
Assignee: sunpoet at FreeBSD.org
When compiled against LibreSSL (i.e. put "DEFAULT_VERSIONS+=ssl=libressl" in
/etc/make.conf), curl fails like so:
--------------------------------------------------------------------------
% curl -v "https://google.com"
* Rebuilt URL to: https://google.com/
* Trying 172.217.17.46...
* TCP_NODELAY set
* Connected to google.com (172.217.17.46) port 443 (#0)
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
* CAfile: /usr/local/share/certs/ca-root-nss.crt
CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (OUT), TLS alert, Server hello (2):
* SSL certificate problem: unable to get local issuer certificate
* Curl_http_done: called premature == 1
* Closing connection 0
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://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.
--------------------------------------------------------------------------
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list