Self-Signed Certificate in Certificate Chain
A backup plan via firewall returns the following errror: SSL certificate problem: self-signed certificate in certificate chain"
A certificate is self-signed, so it is non-trusted by default.
Add Certificate Contents to .cacerts.pem File Manually
To add contents of your certificate that produced such error, proceed as follows:
- Convert your .cer certificate file to .pem certificate. For example, use this command in terminal emulator: openssl x509 -in certname.cer -inform DER -out certname.pem -outform PEM
- Open the new file (certname.pem) in any text editor.
- Copy the contents of the file.
- Navigate to /Applications/backupname.app/Contents/Resources/share.
- Find the .cacerts.pem and edit it in text editor.
- Scroll to the end of the .cacerts.pem file, then and paste the certificate contents of the certname.pem file.
- Save the .cacerts.pem file.