FlexHub Forum

FlexHub General => Report a bug => Topic started by: Hamachi on April 17, 2014, 15:28:07

Title: Debian bug
Post by: Hamachi on April 17, 2014, 15:28:07
!createcert -force

Creating a selfsigned TLS certificate failed, check Certificate.log in the logs folder. Use !createcert -h for more details.

./MakeCert.sh: line 2: sudo: command not found
Title: Re: Debian bug
Post by: FlipFlopâ„¢ on April 21, 2014, 16:31:40
Thanks for reporting!

The problem could be that in this case sudo isn't needed run openssl.
What you could do is manually edit the MakeCert.sh file (in FlexHub root folder), and remove the sudo from the openssl line. Then make sure the file MakeCert.sh can't be modified but can be executed.

Then run !createcert -force
The writing to MakeCert.sh should fail silently, and will then execute the manually modified file.