Certificate Problem

Enterprise

Bacula Enterprise Only

This solution is only available for Bacula Enterprise. For subscription inquiries, please reach out to sales@baculasystems.com.

The certificate associated with the configured endpoint must be valid, or the plugin may reject the connection.

The hostname in the endpoint must match a name covered by the certificate (normally a Subject Alternative Name). Otherwise, the plugin will raise errors like: “The request failed. The request failed. Host name ‘10.10.10.99’ does not match the certificate subject provided by the peer”.

If the certificate covers a hostname, use that hostname in the plugin configuration, instead of the IP address. If needed, because the DNS Server used by the File Daemon host cannot resolve that hostname, the IP-hostname association should be added to the local /etc/hosts file (or equivalent local hostname configuration, depending on the operating system).

If the certificate chain is not trusted, add the appropriate certificate to the truststore used by the Java runtime running the plugin on the File Daemon. Importing a certificate does not correct a hostname mismatch or renew an expired certificate. Renew expired certificates on the Exchange server. For example:

Import an Exchange certificate into the Java truststore
keytool -cacerts -storepass changeit -importcert -alias ewscert -file certificate.cer

Note that:

  • keytool should be available in the PATH of the system. If it’s not, you should look for it inside the Java JRE installation path (bin directory).

  • changeit is the default password of the Java keystore. You should change it.

  • certificate.cer is the file containing the Exchange certificate to import. You should download it, for instance, using a browser, and connect to Outlook.

See also

Next articles:

Go back to: Troubleshooting.