svn.redmine.org: "The certificate is not issued by a trusted authority"
Your certificate is expired.
Error validating server certificate for 'https://svn.redmine.org:443':
- The certificate is not issued by a trusted authority. Use the
fingerprint to validate the certificate manually!
- Hostname: svn.redmine.org
- Valid: from Jan 8 00:00:00 2017 GMT until Jan 8 23:59:59 2020 GMT
- Issuer: Gandi, Paris, Paris, FR
- Fingerprint: AB:F1:C8:B7:69:A6:99:BD:20:C1:59:A4:5F:60:9E:27:2D:81:82:B7
Updated by Toshi MARUYAMA almost 7 years ago
- File gnutls-cli.txt gnutls-cli.txt added
- Subject changed from Upgrade svn.redmine.org's SSL Certificate to svn.redmine.org: "The certificate is not issued by a trusted authority"
- Category changed from Security to Website (redmine.org)
- Status changed from Needs feedback to New
- Priority changed from High to Low
Updated by Holger Just over 6 years ago
The certificate itself is fine and valid. However, it appears that the server for https://svn.redmine.org does not send along the required intermediate certificates to allow clients to verify the full certificate chain as shown in Toshi's gnutls trace.
Some clients (like most current browsers) cache intermediate certificates they have already seen somewhere else (e.g. from a visit to https://www.redmine.org) . This allows them to still verify the certificate chain even if the actual server does not send the required certificates along.
SVN clients usually don't do this (and don't even "visit" other sites). Thus, they have no way to learn about the intermediate certificate chain which is required to verify the server certificate. The clients only have their internal list of trusted root certificates. The solution would be to configure the webserver at https://svn.redmine.org to also send the intermediate certificates along, similar to how it's done for the main website at https://www.redmine.org. I think that right now only Jean-Philippe is able to perform this change.
Updated by Andrey Galkin about 6 years ago
I've just run into the same problem.
Please use SSLCertificateChainFile or SSLCertificateFile depending on Apache version.
You can see the problem here: https://www.ssllabs.com/ssltest/analyze.html?d=svn.redmine.org
"Chain issues Incomplete"
Please also check: https://mozilla.github.io/server-side-tls/ssl-config-generator/
to get acceptable TLS configuration instead of current insecure one.
Updated by Seiei Miyagi over 4 years ago
Is there any progress?
I use following one-liner for now.
svn co --non-interactive --config-option servers:global:ssl-authority-files=<(curl -sL https://www.gandi.net/static/CAs/GandiStandardSSLCA2.pem) https://svn.redmine.org/redmine/trunk /tmp/redmine
the Gandi's intermediary certificates is listed here.