How to update the certificate for Automation when error "Either partial ca chain has been provided or leaf server certificate is not signed by provided ca" is thrown?
Issue Description: During the update procedure, error "Either partial ca chain has been provided or leaf server certificate is not signed by provided ca" is thrown.
Resolution:
- Check if the server cert was signed by the ca server
- openssl verify -CAfile ca-certifcate.crt servercertificate.crt
- # servercertifcate.crt: OK
- openssl verify -CAfile ca-certifcate.crt servercertificate.crt
- Ask the IT dept to provide with CA chain or immediate certificates. Obtain root ca and immediate certificates for public CA by visiting their websites. (i.e https://letsencrypt.org/certificates/)
- Combine the root ca with the intermediate certs
- cat intermediate.crt >> root.crt
- Continue with update certificate update instructions