remove_letsencrypt_certbot_re_install
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
remove_letsencrypt_certbot_re_install [2023/06/22 15:45] – wikiadmin | remove_letsencrypt_certbot_re_install [2023/06/22 16:22] (current) – wikiadmin | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Remove LetsEncrypt Certbot in Order to Properly Re-Install Certbot ====== | ====== Remove LetsEncrypt Certbot in Order to Properly Re-Install Certbot ====== | ||
+ | |||
+ | [SOLVED] Certbot --apache. The requested apache plugin does not appear to be installed. | ||
+ | |||
+ | Check the version (which would indicate something is installed, but possibly the installation command wasn't exactly correct to install the plugin that integrates best with apache). | ||
< | < | ||
$ certbot --version | $ certbot --version | ||
+ | </ | ||
+ | |||
+ | Result | ||
+ | |||
+ | < | ||
certbot 1.21.0 | certbot 1.21.0 | ||
+ | </ | ||
+ | |||
+ | Try obtaining a certificate by running certbot. | ||
+ | |||
+ | < | ||
user@svr1: | user@svr1: | ||
+ | </ | ||
+ | |||
+ | Result below. Here is the dreaded error message: The requested apache plugin does not appear to be installed. | ||
+ | |||
+ | < | ||
Saving debug log to / | Saving debug log to / | ||
The requested apache plugin does not appear to be installed | The requested apache plugin does not appear to be installed | ||
+ | </ | ||
+ | |||
+ | It's time to do everything to uninstall and properly reinstall certbot. | ||
+ | |||
+ | Step 1 - Run this. | ||
+ | |||
+ | < | ||
user@svr1: | user@svr1: | ||
+ | </ | ||
+ | |||
+ | Result | ||
+ | |||
+ | < | ||
Saving debug log to / | Saving debug log to / | ||
No existing certificates found. | No existing certificates found. | ||
Ask for help or search for solutions at https:// | Ask for help or search for solutions at https:// | ||
+ | </ | ||
+ | |||
+ | Step 2 - Run a purge. | ||
+ | |||
+ | < | ||
user@svr1: | user@svr1: | ||
+ | </ | ||
+ | |||
+ | Result. | ||
+ | |||
+ | < | ||
Reading package lists... Done | Reading package lists... Done | ||
Building dependency tree... Done | Building dependency tree... Done | ||
Line 18: | Line 59: | ||
user@svr1: | user@svr1: | ||
ERROR: Site 000-default-le-ssl does not exist! | ERROR: Site 000-default-le-ssl does not exist! | ||
+ | </ | ||
+ | |||
+ | Next. Run an Update for packages. | ||
+ | |||
+ | < | ||
user@svr1: | user@svr1: | ||
+ | </ | ||
+ | |||
+ | Result. | ||
+ | |||
+ | < | ||
Hit:1 http:// | Hit:1 http:// | ||
Get:2 http:// | Get:2 http:// | ||
Line 33: | Line 84: | ||
</ | </ | ||
- | Next | + | Step 3. REMOVE CERTBOT |
< | < | ||
Line 39: | Line 90: | ||
</ | </ | ||
- | Results | + | Results. Certbot (defective install) appears to have been removed, with further instructions to run ' |
< | < | ||
Line 60: | Line 111: | ||
</ | </ | ||
- | Next | + | So, as instructed, we run ' |
< | < | ||
Line 93: | Line 144: | ||
</ | </ | ||
- | Next | + | That seemed to have worked well. |
+ | |||
+ | Let's do a restart of the apache2 webserver . . . just for good measure. | ||
< | < | ||
Line 101: | Line 154: | ||
</ | </ | ||
- | Results | + | Results. Everything Seems to be Running well. See below. |
< | < | ||
Line 125: | Line 178: | ||
</ | </ | ||
+ | **Now you can PROPERLY reinstall certbot that integrates with Apache2**. | ||
- | Now you can PROPERLY reinstall certbot. | + | Go Here: [[install_letsencrypt_certbot_apache2_ubuntu_server_22_04|Install LetsEncrypt Certbot Apache2 on Ubuntu Server 22.04]] |
- | + | ||
- | [[install_letsencrypt_certbot_apache2_ubuntu_server_22_04|Install LetsEncrypt Certbot Apache2 on Ubuntu Server 22.04]] | + | |
remove_letsencrypt_certbot_re_install.1687448742.txt.gz · Last modified: 2023/06/22 15:45 by wikiadmin