certificate error accessing public url of sharepoint

Document ID : KB000125742
Last Modified Date : 01/02/2019
Show Technical Document Details
Issue:
We are getting the following error when we hit the public URL:

Your PC doesn’t trust this website’s security certificate.
Error Code: DLG_FLAGS_INVALID_CA

The root certificate has been already imported in the ca-bundle.crt.
Environment:
Agent for SharePoint
OS: any
Resolution:
Even though the root CA certificate is imported, there may be intermediary certificates for the CA that also need to be included.  Review the certificate trust chain and make sure all certs are imported in to the ca-bundle.crt.