How to change Webserver Certs | FWCloud Forum

How to change Webserver Certs

webadmin

New member
Hello,

FWCloud seems to be a fantastic product! We installed it via the install script on a clean Ubuntu server. How can we change the certs (key, ca, crt) used for the webserver GUI? Simply change the files in /opt/fwcloud/websrv/config/tls? But how to add a CA?

Thank you very much!
 

Carles Munyoz

Administrator
Staff member
Thank you very much for your comments, we are working hard for make FWCloud a great product.

For a simpler installation and maintenance you can install FWCloud by means of DEB and RPM packages:

Regarding the certs change you are right, you can change the content of the fwcloud-websrv.crt and fwcloud-websrv.key files or modify the .env (/opt/fwcloud/websrv/.env) file and add config options like these ones:
Bash:
HTTPS_CERT="./config/tls/my-cert.crt"
HTTPS_KEY="./config/tls/my-key.key"
HTTPS_CA_BUNDLE=""./config/tls/my-ca.crt"

You can see all the available config options in the /opt/fwcloud/websrv/config/websrv.ts file.

After the config change restart the service with:
Bash:
systemctl restart fwcloud-websrv
 
Top