Certbot Get your site on Lock https://

      Geen reacties op Certbot Get your site on Lock https://

What’s Certbot?
Certbot is a free, open source software tool for automatically using Let’s Encrypt certificates on manually-administrated websites to enable HTTPS.
Certbot is made by the Electronic Frontier Foundation (EFF), a 501(c)3 nonprofit based in San Francisco, CA, that defends digital privacy, free speech, and innovation.
Kortom, met Certbot kun je simpel een website voorzien van een gratis (Let’s Encrypt) certificaat en secure (https) maken. Hieronder de installatie instructies die te kiezen zijn voor alle webserver software en besturingssystemen. Als voorbeeld voor Apache op Ubuntu 18.04 LTS Bionic:
1. SSH into the server
SSH into the server running your HTTP website as a user with sudo privileges.
2. Install snapd
You’ll need to install snapd and make sure you follow any instructions to enable classic snap support.Follow these instructions on snapcraft’s site to install snapd.
install snapd
3. Remove any Certbot OS packages
If you have any Certbot packages installed using an OS package manager like apt, dnf, or yum, you should remove them before installing the Certbot snap to ensure that when you run the command certbot the snap is used rather than the installation from your OS package manager. The exact command to do this depends on your OS, but common examples are sudo apt-get remove certbot, sudo dnf remove certbot, or sudo yum remove certbot.
4. Install Certbot
Run this command on the command line on the machine to install Certbot.
sudo snap install –classic certbot

5. Choose how you’d like to run Certbot Either get and install your certificates…
Run this command to get a certificate and have Certbot edit your Apache configuration automatically to serve it, turning on HTTPS access in a single step.
sudo certbot –apache
Or, just get a certificate
If you’re feeling more conservative and would like to make the changes to your Apache configuration by hand, run this command.
sudo certbot certonly –apache
6. Test automatic renewal
The Certbot packages on your system come with a cron job or systemd timer that will renew your certificates automatically before they expire. You will not need to run Certbot again, unless you change your configuration. You can test automatic renewal for your certificates by running this command:
sudo certbot renew –dry-run

The command to renew certbot is installed in one of the following locations:
/etc/crontab/
/etc/cron./
systemctl list-timers

7. Confirm that Certbot worked
To confirm that your site is set up properly, visit https://yourwebsite.com/ in your browser and look for the lock icon in the URL bar. If you want to check that you have the top-of-the-line installation, you can head to https://www.ssllabs.com/ssltest
Of controleer de goede werking op https://www.sslcheck.nl/mattizz.nl


Geef een reactie

Het e-mailadres wordt niet gepubliceerd. Vereiste velden zijn gemarkeerd met *