I have an issue with curl (Centos 6 env) does not recognize Geotrust intermediary certificate:
* Trying 192.168.6.6... connected
* Connected to composer.graymatter.co.uk (192.168.6.6) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* Peer's certificate issuer is not recognized: 'CN=GeoTrust DV SSL CA - G4,OU=Domain Validated SSL,O=GeoTrust Inc.,C=US'
* NSS error -8179
* Closing connection #0
The strange thing is it only started happening recently. (about a month ago). I have updated the ca bundle file with:
curl https://curl.haxx.se/ca/cacert.pem -o /etc/pki/tls/certs/ca-bundle.crt
But it did not help. At this point my knowledge runs out and I need some help. The certificate on the destination server was working perfectly before and I have no problem connecting to it using my local OSX machine so I am quite sure that the cert itself is ok.
P.S. the curl connection is used by composer so adding "--insecure" is not an option