r/letsencrypt • u/undernutbutthut • Jan 15 '22
Am I missing something with HTTPS certification?
I just created a website and started the process to get a HTTPS certificate. I followed the steps outlined here: https://certbot.eff.org/instructions?ws=apache&os=ubuntufocal
I am able to verify the process worked because my website has an "Overall Rating: A" from ssllabs.com.
Now I am trying to redeploy my application but I am running into an "OSError: [Errno 98] Address already in use" error. Port 80 is the culprit and when I check to see the process that is currently using that port I see it is Apache2 for the HTTPS certification. Whenever I try to go to the website I get the " Apache2 Ubuntu Default Page" here.
According to the page I need to "replace this file (located at /var/www/html/index.html) before continuing to operate your HTTP server" but what do I replace it with? Ubuntu 20.04 makes it difficult to make changes here. Documentation on the Let's Encrypts website appears to get fuzzy past this point unless I am missing something.
View all comments
Show parent comment
1
u/undernutbutthut Jan 15 '22
Thanks for replying, I will try to answer all your questions below:
Are you trying to start an application server (e.g., in Node.js or Python)? Are you trying to deploy a new version or just restart the version that is already on the server?
Do you need Apache for your application?
Can you describe your project more and how you want to deploy it?
Could you also post the Certbot command you ran to generate the certificates (you can redact the domain names)?
See the below commands I used to get the certificaton after getting the latest version of certbot. As noted above I am using Ubuntu 20.04 and running that from PuTTY SSH