alexcrichton / openssl-probe

Apache License 2.0
54 stars 13 forks source link

Freebsd certs not found #20

Open LukeMauldin opened 3 years ago

LukeMauldin commented 3 years ago

I have a FreeBSD 13 system and I am attempted to connect to an internal resource secured by a custom certificate. I have installed the certificate root public keys in /usr/local/share/certs/ca-root-nss.crt and both curl and openssl s_connect will correctly connect to the endpoint. However, it seems that openssl-probe is not checking that location because I get a certificate error while attempting to run rustup-init. If I specify the environment variable SSL_CERT_FILE=/usr/local/share/certs/ca-root-nss.crt then the program works as expected.