How do I fix an SSL error when connecting to on-prem app through Entra ID

Devon Stehle 0 Reputation points
2024-01-15T22:13:40.2233333+00:00

I'm receiving an Error Event 13001 when attempting to connect via Application Proxy. "The SSL server certificate presented to Microsoft AAD Application Proxy Connector by the backend server is not valid; the certificate is not trusted."

Microsoft Security Microsoft Entra Microsoft Entra ID
{count} votes

2 answers

Sort by: Most helpful
  1. Thameur-BOURBITA 36,261 Reputation points Moderator
    2024-01-15T22:23:41.5266667+00:00

    Hi @Devon Stehle

    Did you check if the root certificate is installed ? Without the root certificate the certificate cannot be trusted.

    You should also check if the certificate is expired ?


    Please don't forget to accept helpful answer

    0 comments No comments

  2. Sandeep G-MSFT 20,906 Reputation points Microsoft Employee Moderator
    2024-01-16T08:57:46.22+00:00

    @Devon Stehle

    Thank you for posting this in Microsoft Q&A. From the description above I could understand that you are trying to configure AAD Application proxy for an On-Prem web application. However while trying to access the application it gives error and logs suggest "The SSL server certificate presented to Microsoft AAD Application Proxy Connector by the backend server is not valid; the certificate is not trusted" (Please do correct me if this is not the ask):

    Possible Cause: This could indicate that the backend server provided an SSL that was not valid or that there is no trust between the Web Application Proxy and the backend server. Action Plan: Kindly validate backend server SSL certificate. Make sure that the Web Application Proxy server is configured with the right root CAs to trust the backend server certificate/issuing CA. This could be validated by navigating to the certificate -> Certification Path -> Select the chain (by clicking on each of the certificates followed by "view certificate"). PFB screenshot for example 231779-vlidating-certificate-chain.png Action Plan: If any of the cert from the chain is missing then chain building will not be completed resulting in certificate trust issues. Hence the required root cert is needed to be trusted/installed. Let me know if you have any further questions. Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.