Postman throw SSL Error: Hostname/IP does not match certificate's altnames - AWS EB

Viewed 23

I have setup SSL for AWS EB whcih terminates at ALB. It works when I do

CURL https://sampleapp.xxx-wedxxx.us-east-x.elasticbeanstalk.com/score/33639237

In VSCode extension - thunderclient

GET https://sampleapp.xxx-wedxxx.us-east-x.elasticbeanstalk.com/score/33639237

But, in postman it throws above error. I went throw the stackoverflow answer which suggest add host header as public Instance but As I am using EB with auto scaling, the instance can change and switching off SSL verification doesn't sounds like a good option to me.

Any help is appreciated.

0 Answers
Related