today I came up with the problem that certificates cannot be verified on my openvz ubuntu containers. I checked the /etc/ssl/certs folder which is readable and seems to be ok.
However, when I try to use wget, I get the following:
$ wget https://google.com --2014-01-29 11:05:16-- https://google.com/ Resolving google.com (google.com)... 126.96.36.199, 188.8.131.52, 184.108.40.206, ... Connecting to google.com (google.com)|220.127.116.11|:443... connected. ERROR: The certificate of `google.com' is not trusted. ERROR: The certificate of `google.com' hasn't got a known issuer. The certificate's owner does not match hostname `google.com'
I found the
--no-check-certificate option which downloads at least the file, but doesn't solve the issue of accepting the certificate.
I also tried the
--ca-directory=/etc/ssl/certsoption which returns the same result.
Any ideas where the problem might be, or where I can start to troubleshoot?