Ticket #15048 (closed defect: fixed)
curl +ssl doesn't install curl-ca-bundle.crt since 7.18
| Reported by: | dp macports@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | Port Bugs |
| Component: | ports | Version: | 1.6.0 |
| Keywords: | Cc: | ||
| Port: |
Description
Curl stopped packaging a certificate file in version 7.18.0 (see http://curl.haxx.se/docs/sslcerts.html). As a result, a clean install of curl +ssl from MacPorts can't verify SSL certificates.
The simplest fix is just to use the file Apple installs. Add one line to the Portfile:
variant ssl {
depends_lib-append port:openssl
configure.args-delete --without-ssl
configure.args-append --with-ca-bundle=/usr/share/curl/curl-ca-bundle.crt
}
Change History
Note: See
TracTickets for help on using
tickets.

