Hello,
I was wondering if it is possible to update the builtin CA bundle as I am having troubles connecting to a HTTPS site via curl or Perl LWP::UserAgent.
loginuser@firewall:/home/login > curl https://www.cloudflare.com/api_json.html
curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
More details here: cURL - Details on Server SSL Certificates
If I try to connect with perl using LWP::UserAgent….
oginuser@firewall:/home/login/scripts > perl dyndns_cloudflare.pl
$VAR1 = \'Can\'t connect to Home | CloudFlare | The web performance & security company (Network is unreachable)
LWP:[:P]rotocol::https::Socket: connect: Network is unreachable at /usr/local/ap510/site/lib/LWP/Protocol/http.pm line 51.
';
I went to the https://www.cloudflare.com site and downloaded the certificate
"Certificate Authority Information Access" CRT file. I then converted it to a PEM
file with:
openssl x509 -inform DES -in g***tendvalg2.crt -out outcert.pem -text
I then copied it into the location where I *think* you store the CA bundle:
cp outcert.pem /var/pattern/cadata/ca/GlobalSign_Extended_Validation_CA_-_G2.pem
But, unfortunately this did not help. I wonder if I need to c_rehash or something?
Any assistance greatly appreciated.
Thanks,
Jacko
This thread was automatically locked due to age.