How to enable SSL on WordPress?

  • Connect via SSH to the server
  • Install snaps
  • Install Certbot & Creating a link so certbot can run by itself
sudo snap install --classic certbot && sudo ln -s /snap/bin/certbot /usr/bin/certbot
  • Getting and install your certificates
sudo certbot --apache