Share via

Testing MS Azure Application Proxy without signed SSL sertificate

john 1 Reputation point
2022-08-12T12:59:53.047+00:00

Hi, everyone.

I am attempting to test out an Azure Application Proxy install and it is working except for an invalid certificate issue:

The SSL server certificate presented to Microsoft AAD Application Proxy Connector by the backend server is not valid; the certificate is not trusted.

This is an internal server and I can't install a signing authority signed certificate on it. I've tried exporting the public keys from the web server and importing them into the Azure Portal's "Certificates & secrets" section, but to no avail. Any other suggestions on how to get it to work?

Thanks!

Microsoft Security | Microsoft Entra | Microsoft Entra ID

1 answer

Sort by: Most helpful
  1. Akshay Kaushik 18,026 Reputation points Microsoft Employee Moderator
    2022-08-17T06:28:24.733+00:00

    Hello @john ,

    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.

    232752-image.png

    Was this answer helpful?

    0 comments No comments

Your answer

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