Auth LDAP "unable to get local issuer certificate"?
-
I'm trying to set up a backup XO server, and part of it is the authentication. The primary XO has been set up for a few months, including auth, but the secondary doesn't seem to work, even with the same settings. The error from the syslog is:
Aug 8 00:02:28 i4-as-xo2 xo-server[40549]: 2024-08-08T00:02:28.612Z xo:api WARN xoadmin | plugin.test(...) [19ms] =!> Error: unable to get local issuer certificate
I'm sure it's something simple, I just don't know what to look at. Any suggestions?
-
@omatsei I figured out the problem. There appears to be a bug in XO that requires you to check "Check Certificate" and/or "Start TLS", save the configuration, then uncheck them, then save again. Then it should work. The bug is that they're unchecked by default, but apparently they're enabled in the background.