Using built-in HTTPS server
For enabling HTTPS in RPGM Server, you have to edit the Configuration file. The settings for configuring HTTPS are:
|httpsPort||HTTPS port of the server. 443 is the default HTTPS port.|
|httpsKey||Path to the key file of the HTTPS certificate.|
|httpsCert||Path to the certificate for HTTPS.|
Here is an example of configuration:
Do not forget to restart RPGM Server after saving your configuration file.
Using a Reverse Proxy
You can also let RPGM Server only in HTTP and use a reverse proxy to redirect HTTPS connections to HTTP. See the Reverse Proxy section.
Here is a sample on how to install and execute Certbot:
This example is for Debian or Ubuntu with a root session. It also may be outdated and is only here for convenience only. Check out the official website of Certbot with the link above to find the last official documentation.
Now you have to set up a web server for reponding to the challenge for validating your website ownership.
In a futur version, Let's Encrypt will be supported out of the box in RPGM Server.
Paths of the generated file can now be used for