Cannot renew domain

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.

My domain is: alexanderpicov.com

I ran this command:
root@videotron:/usr/local/www/apache24/data/picov # certbot
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Unable to read ssl_module file; not disabling session tickets.

Which names would you like to activate HTTPS for?
We recommend selecting either all domains, or all domains in a VirtualHost/server block.


1: alexanderpicov.com
2: www.alexanderpicov.com


Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel): 1
Certificate 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: /usr/local/etc/letsencrypt/renewal/alexanderpicov.com.conf)

What would you like to do?


1: Attempt to reinstall this existing certificate
2: Renew & replace the certificate (may be subject to CA rate limits)


Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2
Renewing an existing certificate for alexanderpicov.com

Successfully received certificate.
Certificate is saved at: /usr/local/etc/letsencrypt/live/alexanderpicov.com/fullchain.pem
Key is saved at: /usr/local/etc/letsencrypt/live/alexanderpicov.com/privkey.pem
This certificate expires on 2024-08-12.
These files will be updated when the certificate renews.

Deploying certificate
Successfully deployed certificate for alexanderpicov.com to /usr/local/etc/apache24/extra/httpd-ssl.conf
File: /usr/local/etc/apache24/sites-available/le-redirect-alexanderpicov.com:443.conf - Could not be found to be deleted

  • Certbot probably shut down unexpectedly

NEXT STEPS:

  • The certificate will need to be renewed before it expires. Certbot can automatically renew the certificate in the background, but you may need to take steps to enable that functionality. See User Guide — Certbot 2.11.0.dev0 documentation for instructions.
    An unexpected error occurred:
    FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/etc/apache24/sites-available/le-redirect-alexanderpicov.com:443.conf'
    Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
    root@videotron:/usr/local/www/apache24/data/picov # certbot
    Saving debug log to /var/log/letsencrypt/letsencrypt.log
    Unable to read ssl_module file; not disabling session tickets.

Which names would you like to activate HTTPS for?
We recommend selecting either all domains, or all domains in a VirtualHost/server block.


1: alexanderpicov.com
2: www.alexanderpicov.com


Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel): 1
Certificate 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: /usr/local/etc/letsencrypt/renewal/alexanderpicov.com.conf)

What would you like to do?


1: Attempt to reinstall this existing certificate
2: Renew & replace the certificate (may be subject to CA rate limits)


Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 1
Deploying certificate
Successfully deployed certificate for alexanderpicov.com to /usr/local/etc/apache24/extra/httpd-ssl.conf
File: /usr/local/etc/apache24/sites-available/le-redirect-alexanderpicov.com:443.conf - Could not be found to be deleted

  • Certbot probably shut down unexpectedly
    An unexpected error occurred:
    FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/etc/apache24/sites-available/le-redirect-alexanderpicov.com:443.conf'
    Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
    root@videotron:/usr/local/www/apache24/data/picov # certbot -v
    Saving debug log to /var/log/letsencrypt/letsencrypt.log
    Unable to read ssl_module file; not disabling session tickets.
    Plugins selected: Authenticator apache, Installer apache

Which names would you like to activate HTTPS for?
We recommend selecting either all domains, or all domains in a VirtualHost/server block.


1: alexanderpicov.com
2: www.alexanderpicov.com


Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel): 1
Certificate 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: /usr/local/etc/letsencrypt/renewal/alexanderpicov.com.conf)

What would you like to do?


1: Attempt to reinstall this existing certificate
2: Renew & replace the certificate (may be subject to CA rate limits)


Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2
Renewing an existing certificate for alexanderpicov.com

Successfully received certificate.
Certificate is saved at: /usr/local/etc/letsencrypt/live/alexanderpicov.com/fullchain.pem
Key is saved at: /usr/local/etc/letsencrypt/live/alexanderpicov.com/privkey.pem
This certificate expires on 2024-08-12.
These files will be updated when the certificate renews.

Deploying certificate
Deploying Certificate to VirtualHost /usr/local/etc/apache24/extra/httpd-ssl.conf
Successfully deployed certificate for alexanderpicov.com to /usr/local/etc/apache24/extra/httpd-ssl.conf
File: /usr/local/etc/apache24/sites-available/le-redirect-alexanderpicov.com:443.conf - Could not be found to be deleted

  • Certbot probably shut down unexpectedly

NEXT STEPS:

  • The certificate will need to be renewed before it expires. Certbot can automatically renew the certificate in the background, but you may need to take steps to enable that functionality. See User Guide — Certbot 2.11.0.dev0 documentation for instructions.
    An unexpected error occurred:
    FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/etc/apache24/sites-available/le-redirect-alexanderpicov.com:443.conf'
    Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.

It produced this output:

My web server is (include version):

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

My hosting provider, if applicable, is:
interxion
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 2.8.0

please note that this problem has been solved by renewing it another way with certbot --renew so it's taken care of but it's not solved by doing it in this manner...

Please don't keep issuing new certificates when that is NOT the problem. Thank you.

3 Likes

Why do you keep selecting only "1"?
Aren't both names being serviced by the same vhost [that would be using the same cert]?

What shows?:
sudo apachectl -t -D DUMP_VHOSTS

3 Likes

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