I have deployed my .NET Core Web API application to AWS Elastic Beanstalk , then I purchased a domain from hostinger to get a free SSL certification from Amazon ACM . After I validated the ownership of the domain by DNS , the SSL certification was issued by ACM , after that I headed to my environment , and edited in configuration section Load Balancers . I added a Listener with Port 443 and HTTPS protocol , then chose the certificate and the SSL policy TLS-1-2-2017... then saved the changes . The configuration was successfully carried , but when I access my Elastic Beanstalk url with https it gives certificate not valid like that in the picture below : enter image description here
can someone please guide , I have been stuck for 2 days and didn't find a solution .