Installing Letsencrypt ssl certificate

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

I was trying to install a ssl certificate to my wordpress site and after running this command sudo certbot --apache I got this error "Could not find ssl_module; not disabling session tickets.
Please enter the domain name(s) you would like on your certificate (comma and/or
space separated) (Enter 'c' to cancel): " but it let me put out my domain and get a certificate but now I cant see my site

My domain is: http://freedom-ap-dev2.eastus2.cloudapp.azure.com/

I ran this command: sudo certbot --apache

It produced this output: "Could not find ssl_module; not disabling session tickets.
Please enter the domain name(s) you would like on your certificate (comma and/or
space separated) (Enter 'c' to cancel):"

"Certbot could not find a VirtualHost for freedom-ap-dev2.eastus2.cloudapp.azure.com in the Apache configuration. Please create a VirtualHost with a ServerName matching freedom-ap-dev2.eastus2.cloudapp.azure.com and try again."

My web server is (include version): Apache/2.4.6 ()

The operating system my web server runs on is (include version): linux

My hosting provider, if applicable, is: Azure

I can login to a root shell on my machine (yes or no, or I don't know): dont know

I'm using a control panel to manage my site (no, or provide the name and version of the control panel): yes don't know the version

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): certbot 1.17.0

Hi @roli, and welcome to the LE community forum :slight_smile:

You need a working web site before you can secure it.
Also, Apache 2.4.6 is in desperate need of an update.

ok then how do I get my website back? it was working fine before I got the certificate ?

Your Wordpress is redirecting from HTTP on port 80 to HTTPS on port 443. But port 443 seems to be closed. Please open port 443 in every firewall available on your hosting service. Sometimes there are multiple in different locations. Not sure how many Azure has.

1 Like

how do I open port 443 in the control panel?

Please research the documentation of Azure on how to do that.

1 Like

I don't have access to the azure portal is there any way to do it from directly from my server?

The local firewall can be controlled locally.
The Azure firewall can only be controlled via the Azure control panel.
OR maybe by contacting Azure support by phone/email (good luck with them making any change for you over the phone/email).
Who has access to the Azure control panel?

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.