-
-
Notifications
You must be signed in to change notification settings - Fork 717
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to renew - Problem connecting to server [FreeBSD, curl, SSL cert problem] #902
Comments
I experience the same! |
"CAfile: none" indicates that curl is not using /usr/local/share/certs/ca-root-nss.crt for certificate validation and cert material in /etc is too old to verify. I'm guessing that your curl port was not compiled with the CA_BUNDLE=on option? |
I'm also guessing /etc/ssl/certs/ is not populated in your setup, you can do that with "certctl rehash" |
Works for me. Thanks! |
Well, or whatever. Root certificates need to be renewed. Current version - 3.88.1 |
But IMHO the FreeBSD ca_cert package postinstall section or something should be responsible for rehashing certificates. |
No. That should be enough. |
No it shouldn't. Software in the ports either uses the ca_root_nss certificate bundle (/usr/local/share/certs/ca-root-nss.crt) directly or it relies on the trustststore of openssl (/etc/ssl/certs) being managed by the admin. For example the curl port has the CA_BUNDLE option for exactly this purpose, deactivate it and rely on the truststore, activate it and rely on ca_root_nss. certctl is triggered by freebsd-update, so in case of updates to the CA certificates that are provided by FreeBSD itself it is taken care to have an up to date truststore. So the question, while having nothing to do with dehydrated, is more.. why wasn't your /etc/ssl/certs updated by the tools in place and why isn't your curl port using the ca_root_nss without you knowing. |
Just to chime in for others trying to find a solution for |
In the last months,
dehydrated -c
on my FreeBSD failed to renew some domain certs.Is there some problem with root certificates? (But I have them installed, see below).
Should the FreeBSD port maintainer do something?
https://www.freshports.org/security/dehydrated/
Thanks!
Details:
dehydrated -c
curl -v https://acme-v02.api.letsencrypt.org/directory
dehydrated -v
uname -a
pkg info | grep -i cert
The text was updated successfully, but these errors were encountered: