Jump to content

Recommended Posts

Posted
You need to alter Moodle’s config once you install the cert to force https. Installing it depends on the hosting platform - Linux, Windows? Not done one in Apache for years - it’s fairly easy. Very easy in IIS.
Posted
You need to alter Moodle’s config once you install the cert to force https. Installing it depends on the hosting platform - Linux, Windows? Not done one in Apache for years - it’s fairly easy. Very easy in IIS.

 

Sorry. Should of added Its Ubuntu? I did change the config to point to https://10.xxx.xxx.xx.xx

Posted
Ah, joy. Well, it's bashing about via command line for you. It may be worth trying Let's Encrypt if the server is available externally, or you'll need to generate a self-signed or CA issued cert to get https working.
Posted (edited)

uBuntu serving via Apache (v1, or v2?), or via nGinx, or via Lightspeed...? How you configure SSL is dependant on the software used to serve the sites, as well as the OS.

 

eg:

uBuntu + Apache2: https://www.digicert.com/csr-ssl-installation/ubuntu-server-with-apache2-openssl.htm

uBuntu + nGinx: https://www.digitalocean.com/community/tutorials/how-to-create-a-self-signed-ssl-certificate-for-nginx-in-ubuntu-18-04#step-2-–-configuring-nginx-to-use-ssl

uBuntu + LightSpeed: https://www.itzgeek.com/how-tos/linux/how-to-configure-lets-encrypt-ssl-in-openlitespeed-web-server.html

 

Instructions differ based on self-signed vs purchased vs Let’sEncrypt Freebie cert, webserver, and OS (for generating CSRs etc), as well as whether it’s the only site being served or whether you’re using vhosts.

As well as configuring the certificate, you possibly also have to ensure that your webserver is configured to serve https over port 443 (rather than / as well as non-https over port 80), and that any security modules (iptables, uFW, mod_security etc) that may be installed are also configured to allow access to port 443.

Edited by Marci

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...