how to find out the path for openssl trusted certificate?

后端 未结 4 1255
醉梦人生
醉梦人生 2020-12-29 06:16

how can I find out, where my openssl installed is looking for installed certificates (trusted)? it is sometimes /etc/ssl/cert but I have here a new system and it is not work

4条回答
  •  太阳男子
    2020-12-29 06:51

    The default path where certificates are looked up might be different on each platform. You can lookup your system configuration using the following command:

    $ openssl version -d
    
    OPENSSLDIR: "/etc/pki/tls"
    

提交回复
热议问题