Self signed cert issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux