SSL Certificate Issue When Accessing AWS Hosted Application On-Premises

0

I'm facing an SSL certificate issue after migrating an on-premises application to AWS. We've successfully hosted the application on EC2 instances with an Application Load Balancer (ALB) in front, and we've set up an alias record on Route 53 to point to the ALB. The application can now be accessed from outside the on-premises network, and it correctly displays the SSL certificate from a third party. We've imported the correct SSL certificate to AWS Certificate Manager (ACM), and the ALB is configured to use this certificate.

However, we've encountered a challenge when trying to access the application from within the on-premises network. In this scenario, the application presents an invalid SSL certificate. Strangely, it appears to be showing an instance metadata SSL certificate, with "Amazon RSA 2048 M02" listed as the issuer.

Has anyone encountered a similar issue or have any insights into why the correct SSL certificate is displayed externally, but a different and incorrect certificate is presented within the on-premises network? Your expertise and guidance would be greatly appreciated in resolving this SSL certificate discrepancy.

Thank you in advance for your help!

2 Answers
0

Hard to pin it down because of the many moving parts in your network setup. Did you verify that your local DNS resolves correctly? And can you check how you connect your on-premise network to AWS and how you route requests towards the application when you come through the on-prem connection? It reads to me as if you are just not ending up on the ALB with your internal requests, but on another interface.

profile pictureAWS
Martin
answered 9 months ago
profile picture
EXPERT
reviewed 9 months ago
0

Are you running Split Horizon on Route53 with an Inbound Endpoint Resolver? If you are running Split Horizon, you may want to check what the record resolves too incase its tied to something different.

profile picture
EXPERT
answered 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions