Recently, I started to get into the security topic, more specifically SSL (HTTPS). Searching on Google, I noticed that Amazon Web Services (AWS) offers free SSL certificates for EC2 Load Balancers.
In the meantime, I spent a whole day trying to make the setup and following the official and unofficial tutorials, nothing worked.
I have a domain registered in GoDaddy, let's assume www.mydomain.com. My website is hosted on Amazon Web Services (AWS). I have access to edit both DNS records and any AWS configuration. I read a bit about LetsEncrypt, another free version of SSL, but my website is ASP.NET (C #) and runs on IIS Windows, not Linux.
With all of this in mind, here's what I tried to do:
1. Obtain SSL Certificate from AWS Certificate Manager
I chose the option to check via DNS, which means I added a CNAME record in GoDaddy.
Ifyoulookcloselyattheimagesabove,theCNAMErecordvaluesareatthecenteroftheAWSpage.ThesevalueshavebeenaddedinGoDaddy.
NOTE:BothInboundandOutbundhavebeenconfiguredwiththeaboveinformation.IalsodefinedthesegroupsforbothLoadBalancerandmyinstance.
ThetypeArecordpointstotheIPofmyinstance.
TheNSrecordwasgeneratedbyAmazon(IaddedGoDaddy'snameserversaswell)
TheSOArecordwasgeneratedbyAmazonandhasnotbeenmodified.
TheCNAMEhasbeenaddedbyme.Again,itcontainstheSSLcertificatevalues.
The CURL test returns: "Failed to connect to www.website.com port 443: Connection timed out."
I do not know where I went wrong, or why it's not working. Every help is welcome! Thank you for your attention.