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. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is: huhohi.com
I ran this command:
First time I ran it only with main domain: sudo certbot --apache -d huhohi.com
Created renewal and etc. Then added subdomains running command again:
sudo certbot --apache -d huhohi.com -d www.huhohi.com -d hogas.huhohi.com -d www.hogas.huhohi.com
It produced this output: (after the second command)
Please choose whether or not to redirect HTTP traffic to HTTPS, removing HTTP access.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1: No redirect - Make no further changes to the webserver configuration.
2: Redirect - Make all requests redirect to secure HTTPS access. Choose this for
new sites, or if you’re confident your site works on HTTPS. You can undo this
change by editing your web server’s configuration.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Select the appropriate number [1-2] then [enter] (press ‘c’ to cancel): 2
Enhancement redirect was already set.
Enhancement redirect was already set.
Enhancement redirect was already set.
Enhancement redirect was already set.
My web server is (include version):
The operating system my web server runs on is (include version): Ubuntu Linux 14.04.5
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don’t know): Yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): Webmin 1.900
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you’re using Certbot): certbot 0.31.0
So looks like the first time I did it (for huhohi.com) the redirection was applied and works. But the second time I did it, redirection did not apply to subdomains and etc. Loading directly HTTPS everything shows up correctly, with a valid certificate.
I read somewhere that this might be due to the renewal I got setup? But I am not sure.