ldapweb.cgi should use standard CA file
When Nick updated the ldap.ecoinformatics.org SSL certificate to use Let's Encrypt instead of GoDaddy, the Perl script for managing accounts could not establish a TLS connection with the LDAP server. I switched to script to use the standard ca-certificates.crt file (includes all standard CAs shipped with Ubuntu) and the connection was successful. I think we should try to use the standard CA certificate file whenever possible. The current default for Metacat is this old GoDaddy CA so on any Metacat upgrades will we need to remember to switch to the standard CA file unless we change the default configuration.
Current Metacat property default value:
#2 Updated by Jing Tao over 4 years ago
- Status changed from New to Resolved
We made changes on the ldap code. If users don't specify the ldap.server.ca.certificate on the metacat.properties, the code will use the default ca file /etc/ssl/certificate; if users specify that value, ldap will use that value. The default value of ldap.server.ca.certificate in metacat.properties is blank (not specify it).