End goal - I don't want the machine (curl, wget, git, etc) to throw errors when accessing a site that I trust (ie, within the company). [root at srwilson-centos7 anchors]# openssl s_client -showcerts -connect site.com:443 </dev/null 2>/dev/null|openssl x509 -outform PEM > site_git.pem [root at srwilson-centos7 anchors]# openssl verify site_git.pem site_git.pem: C = US, O = foo, OU = bar, OU = baz, OU = Devices, CN = site.com error 20 at 0 depth lookup:unable to get local issuer certificate [root at srwilson-centos7 anchors]# openssl s_client -CApath ./ -connect site.com:443 </dev/null 2>/dev/null | grep Verify Verify return code: 21 (unable to verify the first certificate) [root at srwilson-centos7 anchors]# update-ca-trust enable; update-ca-trust extract [root at srwilson-centos7 anchors]# openssl s_client -CApath ./ -connect site.com:443 </dev/null 2>/dev/null | grep Verify Verify return code: 21 (unable to verify the first certificate) This is centos 7 and I'm in /etc/pki/ca-trust/source/anchors. Obviously I'm not looking at site.com (that's probably a trusted cert anyway ;) ) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20160919/6b8a3866/attachment.html>