FlexHub Forum

How to enable ADCS / NMDCS on FlexHub for Linux

Offline FlipFlop™

  • FlexHub Developer
  • *****
  • 505
How to enable ADCS / NMDCS on FlexHub for Linux
« 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.
« Last Edit: December 16, 2011, 09:17:26 by FlipFlop™ »
Check the new FlexHubList!           Add awesome statistics like this for your hub!

This post is a natural product. The slight variations in spelling and grammar enhance its individual character and beauty and in no way are to be considered flaws or defects.

Re: How to enable ADCS / NMDCS on FlexHub for Linux
« Reply #1 on: August 28, 2011, 15:12:02 »
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
« Last Edit: August 28, 2011, 15:48:35 by Hamachi »

Offline Neolo

Re: How to enable ADCS / NMDCS on FlexHub for Linux
« Reply #2 on: September 18, 2011, 18:02:29 »
So as I understand people that are connected to unsecured ports can see people from secured ports?

Offline FlipFlop™

  • FlexHub Developer
  • *****
  • 505
Re: How to enable ADCS / NMDCS on FlexHub for Linux
« Reply #3 on: September 18, 2011, 20:45:38 »
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.
Check the new FlexHubList!           Add awesome statistics like this for your hub!

This post is a natural product. The slight variations in spelling and grammar enhance its individual character and beauty and in no way are to be considered flaws or defects.

Offline FlipFlop™

  • FlexHub Developer
  • *****
  • 505
Re: How to enable ADCS / NMDCS on FlexHub for Linux
« Reply #4 on: December 29, 2011, 11:56:57 »
Support question from kleinergeist191 moved here: http://www.flexhub.org/forum/index.php?topic=370.0
Check the new FlexHubList!           Add awesome statistics like this for your hub!

This post is a natural product. The slight variations in spelling and grammar enhance its individual character and beauty and in no way are to be considered flaws or defects.

Offline FlipFlop™

  • FlexHub Developer
  • *****
  • 505
Re: How to enable ADCS / NMDCS on FlexHub for Linux
« Reply #5 on: January 12, 2012, 12:41:38 »
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.
Check the new FlexHubList!           Add awesome statistics like this for your hub!

This post is a natural product. The slight variations in spelling and grammar enhance its individual character and beauty and in no way are to be considered flaws or defects.

Re: How to enable ADCS / NMDCS on FlexHub for Linux
« Reply #6 on: January 26, 2012, 17:46:43 »
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!

Re: How to enable ADCS / NMDCS on FlexHub for Linux
« Reply #7 on: January 26, 2012, 21:38:59 »
If you use windows you can not use TLS !!!

If you use Linux it is not hard to setup TLS ;)

Re: How to enable ADCS / NMDCS on FlexHub for Linux
« Reply #8 on: January 27, 2012, 23:12:44 »
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.

Offline Neolo

Re: How to enable ADCS / NMDCS on FlexHub for Linux
« Reply #9 on: March 03, 2013, 10:18:22 »
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  ???

Offline FlipFlop™

  • FlexHub Developer
  • *****
  • 505
Re: How to enable ADCS / NMDCS on FlexHub for Linux
« Reply #10 on: March 03, 2013, 12:32:20 »
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.
Check the new FlexHubList!           Add awesome statistics like this for your hub!

This post is a natural product. The slight variations in spelling and grammar enhance its individual character and beauty and in no way are to be considered flaws or defects.

Re: How to enable ADCS / NMDCS on FlexHub for Linux
« Reply #11 on: March 06, 2013, 20:30:06 »
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