Follow instructions, certificate still invalid?

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:
electricdirect.co.il

I ran this command:
certbot --nginx --redirect -d www.electricdirect.co.il -m admin@electricdirect.co.il

It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log

Plugins selected: Authenticator nginx, Installer nginx

Cert not yet due for renewal

You have an existing certificate that has exactly the same domains or certificate name you requested and isn’t close to expiry.

(ref: /etc/letsencrypt/renewal/www.electricdirect.co.il.conf)

What would you like to do?


1: Attempt to reinstall this existing certificate

2: Renew & replace the cert (limit ~5 per 7 days)


Select the appropriate number [1-2] then [enter] (press ‘c’ to cancel): 2

Renewing an existing certificate

Deploying Certificate to VirtualHost /etc/nginx/conf.d/wordpress_https.conf

No matching insecure server blocks listening on port 80 found.


Your existing certificate has been successfully renewed, and the new certificate

has been installed.

The new certificate covers the following domains:

https://www.electricdirect.co.il

You should test your configuration at:

https://www.ssllabs.com/ssltest/analyze.html?d=www.electricdirect.co.il


My web server is (include version):
Wordpress

The operating system my web server runs on is (include version):
Ubuntu 18.04 x64

My hosting provider, if applicable, is:
Vultr
Followed this guide:

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):
certbot 0.31.0

1 Like

Figured it out. Was missing the domain without the “www” in the certbot command.

2 Likes