wget, self-signed certs and a custom HTTPS server

前端 未结 2 907
你的背包
你的背包 2021-02-05 18:21

For various reasons I have created a simple HTTP server, and added SSL support via OpenSSL. I\'m using self-signed certificates. IE, Firefox and Chrome happily load content as

2条回答
  •  后悔当初
    2021-02-05 18:56

    You can also install trusted root CA certificates into OpenSSL in one of a number of ways:

    • Put your CA certificate in /etc/pki/tls/certs or equivalent directory, then create a link based on the certificate hash. See http://gagravarr.org/writing/openssl-certs/others.shtml#ca-openssl for details.
    • Append your CA certificate to /etc/pki/tls/certs/ca-bundle.crt, /etc/pki/tls/cert.pem, or equivalent CA bundle.

提交回复
热议问题