I need to enable https on my local instance of globaleaks, which is deployed on a local VM in NAT mode.
I’ve tried to create a self signed certificate with the command:
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365
and setting the FQDN to globaleaks.local
i’ve changed the /etc/hosts file with the local IP assigned:
globaleaks@globaleaks:/var/globaleaks/log$ cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.6.136 globaleaks.local globaleaks
Then i tried to upload the .pem key using the web UI and the manual procedure but it gives me the error on top:
Error on input validation
the logs globaleaks.log seems to not have relevant info (also enabling debug mode from UI and restarting the service globaleaks).
the automatic and manual procedures from the web UI doesn’t work (probably because server needs to be accessible from the web).
Can you guys help me out please?