Automatic Renewal

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:
morelandarts.com

I ran this command:
0 0 1 * * sudo /opt/bitnami/letsencrypt/lego --path="/opt/bitnami/letsencrypt" --email="flyntmor@gmail.com" --domains=morelandarts.com --domains=www.morelandarts.com renew && sudo /opt/bitnami/apache2/bin/httpd -f /opt/bitnami/apache2/conf/httpd.conf -k graceful

It produced this output:
I can’t see that it’s doing anything. That’s the problem. (See below)

My web server is (include version):
AWS / Lightsail

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

My hosting provider, if applicable, is:
AWS / Lightsail

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):
No

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):
Word Press 5.2.1

Hi,
Newbie here! (Please be gentle :slight_smile: I added the command listed above to my “cron job” in an attempt to get the automatic renewal going. My renewal is due in16 days. How do I know if this command is working? I put it in several days ago and have not seen anything? Obviously, if it’s not working, and hints as to how to fix it would be greatly appreciated.
Thanks

Hi @flyntm

you have a 88 days valid Letsencrypt certificate ( https://check-your-website.server-daten.de/?q=morelandarts.com ):

CN=morelandarts.com
	02.06.2019
	31.08.2019
expires in 88 days	
morelandarts.com, www.morelandarts.com - 2 entries

So the renew worked Sunday.

And both connections are secure:

Domainname Http-Status redirect Sec. G
• http://morelandarts.com/
54.227.143.2 301 https://morelandarts.com/ 0.333 A
• http://www.morelandarts.com/
54.227.143.2 301 https://www.morelandarts.com/ 0.320 A
• https://morelandarts.com/
54.227.143.2 200 1.780 B
• https://www.morelandarts.com/
54.227.143.2 200 1.607 B

So most looks good.

Perhaps you should select a preferred version (non-www or www) and add a redirect https + non-preferred version -> https + preferred version. But your certificate is up to date. :+1:

2 Likes

Thanks, Juergen, That was a great answer. Unfortunately, being a newbie, your comment:

“Perhaps you should select a preferred version (non-www or www) and add a redirect https + non-preferred version -> https + preferred version.”

is gibberish to me. Perhaps you could direct me to a document that would explain what you are referring to and how to accomplish this?

Your assistance is greatly appreciated.

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

Juergen was just saying that either www.morelandarts.com could redirect to morelandarts.com, or morelandarts.com could redirect to www.morelandarts.com, so that one of the two forms would be official and would always be used, regardless of which form the site visitor typed in. However, this isn’t necessary to do at all. It’s perfectly OK to have both www.morelandarts.com and morelandarts.com both work, without having either of them send visitors to the other one.

1 Like