Configure HTTPS (SSL)

Install SSL (HTTPS) using Let’s Encrypt

  1. Use Certbot (simple, automatic):
  • Run the command sudo apt install certbot python3-certbot-apache -y to install Certbot.
  • Next, run sudo certbot –apache to issue the certificate, enter your domain name when prompted.

S3

  • Open your domain and check.
  • If you can access and see the security lock icon, you have succeeded. S3
  1. Update config.php so Moodle runs with the new domain and HTTPS.