2024年3月20日发(作者:)

linux系统添加根证书 linux证书信任列表

收藏

李星

发表于 1年前

阅读 3373

收藏 13

点赞 0

评论 0

摘要: linux 访问 https 证书问题 linux系统添加根证书 linux证书信任列表

访问 https 证书问题

[root@boss-test-dev001-jydx ~]# curl -v

* About to connect() to port 443 (#0)

* Trying 220.130. connected

* Connected to (220.130.127.122) port 443 (#0)

* Initializing NSS with certpath: sql:/etc/pki/nssdb

* CAfile: /etc/pki/tls/certs/

CApath: none

* Certificate is signed by an untrusted issuer: 'CN=TWCA Secure SSL Certifica

tion Authority,OU=Secure SSL Sub-CA,O=TAIWAN-CA,C=TW'

* NSS error -8172

* Closing connection #0

* Peer certificate cannot be authenticated with known CA certificates

curl: (60) Peer certificate cannot be authenticated with known CA certificates

More details here: /docs/

curl performs SSL certificate verification by default, using a "bundle"

of Certificate Authority (CA) public keys (CA certs). If the default

bundle file isn't adequate, you can specify an alternate file