LetsEncrypt: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 16: | Line 16: | ||
sudo certbot --apache | sudo certbot --apache | ||
</pre> | |||
Check auto renewal status | |||
<pre> | |||
sudo systemctl status certbot.timer | |||
</pre> | |||
== Let's Encrypt on Ubuntu server with nginx == | |||
First update the server | |||
<pre> | |||
sudo apt update | |||
sudo apt upgrade | |||
sudo apt autoremove | |||
</pre> | |||
Then run these command to install and config certbot | |||
<pre> | |||
sudo apt install certbot python3-certbot-nginx | |||
sudo systemctl reload nginx | |||
sudo certbot --nginx | |||
</pre> | </pre> | ||
Revision as of 16:15, 28 November 2024
Let's Encrypt on Ubuntu server with apache
First update the server
sudo apt update sudo apt upgrade sudo apt autoremove
Then run these command to install and config certbot
sudo apt install certbot python3-certbot-apache sudo apache2ctl configtest sudo systemctl reload apache2 sudo ufw allow 'Apache Full' sudo certbot --apache
Check auto renewal status
sudo systemctl status certbot.timer
Let's Encrypt on Ubuntu server with nginx
First update the server
sudo apt update sudo apt upgrade sudo apt autoremove
Then run these command to install and config certbot
sudo apt install certbot python3-certbot-nginx sudo systemctl reload nginx sudo certbot --nginx
Check auto renewal status
sudo systemctl status certbot.timer