I have a website on an EC2 service from AWS. The web domain was purchased on Namecheap with SSL protection. I was investigating how to activate this ssl protection. The first thing I did was to generate the CSR code from my EC2 instance. Then I went to Namecheap to use this code and activate the SSL Protection. I complete the DCV validation using the "HTTP-based validation". Now in my Namecheap main panel the SSL certificate says to be active. But when wanting to go to my website, it still does not appear. Is there something I need to do? Thank you all for your time!
2
votes
To the person that down voted this question. Take the time to add a comment so that new people can learn how improve their questions or why you think the question deserves a down vote. Just down voting does not help anyone. IMHO, this question is just fine.
- John Hanley
@JohnHanley I can not speak about the others but I downvote because: 1) it lacks any details (with the website name people could have tested) and it seems specific to some providers and 2) for me it is off-topic as not related to programming but more about configuration.
- Patrick Mevzek
@PatrickMevzek - Good points. How is the OP to know this unless we help them to understand by providing suggestions? However, to downvote this question when there are so many other similar questions is not right. I prefer just to help the new guys get started. If they stick around, they will understand how everything works on Stack Overflow.
- John Hanley
@JohnHanley I disagree, accepting bad questions just because there are already other bad questions is not ok. Otherwise it means as soon as one case slips through the crack then everyone is welcome to post anything irrespective to the topic? And not to be naive, not everyone comes here to really participate, some people create an account asks a very specific question for only their very specific case, and then never come back (often do not validate the answer even if it helped them)
- Patrick Mevzek
@PatrickMevzek - another suggestion. Instead of just down voting questions, I would like to see comments first to suggest how to improve the question. If the OP does not improve their question, then down vote. I am also opposed down voting without a comment.
- John Hanley
2 Answers
2
votes
Yes, you will need to install the certificate and private key on your web server. You will also need to setup / enable HTTPS on your web server.
https://www.namecheap.com/support/knowledgebase/article.aspx/795/14/how-to-install-ssl-certificates
-1
votes
I can't understand your question clearly but try this and see if it helps - add this to your web config file
<system.webServer>
<rewrite>
<rules>
<clear />
<rule name="Redirect to https" stopProcessing="true">
<match url=".*" />
<conditions>
<add input="{HTTPS}" pattern="off" ignoreCase="true" />
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}"
redirectType="Permanent" appendQueryString="false" />
</rule>
</rules>
</rewrite>
</system.webServer>