FlexHub Forum
FlexHub General => Help / Support => FAQ => Topic started by: FlipFlop™ on August 28, 2011, 13:48:34
-
FlexHub currently only support SSL/TLS for Linux, the lib used in Windows can cause the hub to freeze.
For FlexHub to be able to use SSL/TLS, you will need to generate a selfsigned certificate.
To generate a selfsigned certificate you need to follow these 3 steps:
Step 1: Generate a RSA private key: openssl genrsa -out key.pem 1024
(it's possible that this command needs su rights, then use: sudo openssl genrsa -out key.pem 1024)
Step 2: Generate a signing request: openssl req -new -key key.pem -out req.pem
Step 3: Generate the certificate: openssl req -x509 -key key.pem -in req.pem -out cert.pem -days 3650
Then place the files key.pem and cert.pem in the subfolder 'certificates' of the FlexHub folder
After that you can add secure ports with the hub gui, or use the startup option --sport=<portnumber>
Note that normal (unsecure) connections won't be allowed on secure ports.
-
THANKS...
NICE WORK...
ncdcs / adcs :)
[28-08-2011 15:10:48] <FlexBot> You are now connected through TLS, traffic to and from the hub is encrypted.
[28-08-2011 15:10:48] <FlexBot> FlexHub Beta 0.1 svn: 1146 - Made by Daywalker and FlipFlop.
[28-08-2011 15:10:48] <FlexBot> Currently there are 1 users online and the hub uptime is: 0 day(s) 00:00:16
-
So as I understand people that are connected to unsecured ports can see people from secured ports?
-
Yes ofcourse, just like in any other ADCS hub that has a non secure port opened.
But all traffic between the hub and the secure connected user is encrypted, including messages from other non-secured users that go through the hub. The hub encrypts it and sends it to the secure connected user.
If you don't want users in your hub that use non-secure connections, you can simply close those ports and only use a secure one.
-
Support question from kleinergeist191 moved here: http://www.flexhub.org/forum/index.php?topic=370.0 (http://www.flexhub.org/forum/index.php?topic=370.0)
-
The next release of FlexHub will have a new command !createcert to automatically generate and load a selfsigned TLS certificate. A button for certificate generation is added too.
-
The next release of FlexHub will have a new command !createcert...
Can't wait to have that cmd.. Just can't get into flexhub with encryption...
Guess it's my thing somewhere with the cert's i created..
Once encryption is working i can get on with replacing ptokax ;p
Keep it up!
-
If you use windows you can not use TLS !!!
If you use Linux it is not hard to setup TLS ;)
-
If you use windows you can not use TLS !!!
If you use Linux it is not hard to setup TLS ;)
...
Lol so i'll have to wait untill it's possible @ windows.
I'll stop trying and start adch in the mean while.
-
I unable to start secure port on Ubuntu 12.04 x64 + x32 env. installed.
!createcert
Secure connections aren't supported in FlexHub for Windows yet. Use !createcert -h for more details.
I'm not on Windows, wtf ???
-
Neolo, can you make sure that the !createcert wasn't by accident given in the wrong hub?
It's highly unlikely that Flexhub would report the wrong OS.
-
yes its very unlikey, we still did just that. But we blame ubuntu for doing things differently.
The os detection is changed for next version so should hold for a while longer, i hope