1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-11-21 09:50:11 +00:00
1 TLS
Harvey Tindall edited this page 2021-01-15 18:17:19 +00:00

TLS can be enabled in the Advanced section. You will need a certificate and key for this. You can get these from letsEncrypt, or if using on a local network or placing behind a reverse proxy, you can generate them yourself with:

$ openssl genrsa -out server.key 2048 # Your key file, set the path to this in [advanced]/tls_key
$ openssl req -new -x509 -key server.key -out server.pem -days 365 # Your cert, set the path to this in [advanced]/tls_cert

When enabled, jfa-go runs on port 8057 by default, which you can change with [advanced]/tls_port.