I went ahead and implemented a new security configuration file directive (permitted-cipher-suites), as well as a new Java TurboVNC Viewer system property. To achieve what you want, assuming you're using OpenSSL 1.0.2 or later, you can add:
permitted-cipher-suites = ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-SHA384
to /etc/turbovncserver-security.conf. That will prevent any
ciphers other than the two you listed from being used on the
server end, regardless of which ciphers are supported on the
client end. It will also effectively disallow any of the TLS*
security types, irrespective of the permitted-security-types
directive (because anonymous TLS uses different ciphers.)
As a belt-and-suspenders measure, you can also force the viewer to use only those ciphers by setting
JAVA_TOOL_OPTIONS='-Dturbovnc.ciphersuites=TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384'
in the environment on the client machine.
The Xvnc log file, as well as the debug output from the
viewer (-loglevel 100) will reveal which ciphers are available
and which cipher was negotiated between server and client.
DRC
--
You received this message because you are subscribed to the Google Groups "TurboVNC User Discussion/Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turbovnc-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/turbovnc-users/717ffd21-4778-4e1c-a6ef-b4fb50f2bf59%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to turbovn...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to turbovnc-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/turbovnc-users/c82c784a-0fef-4f60-b6a6-dc281532dbee%40googlegroups.com.
Server and client O/S? OpenSSL versions?
To unsubscribe from this group and stop receiving emails from it, send an email to turbovnc-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/turbovnc-users/e850a8b0-9ee8-4780-bd53-2aa1d64bc935%40googlegroups.com.
Assuming the issue was that you had openssl098e installed as well, and the TurboVNC Server was picking that up instead of OpenSSL 1.0.2, then that issue should now be fixed.
The latest commit in master reverses the TurboVNC Server's search order for OpenSSL DSOs, so it should now pull the DSO from the newest installed version of OpenSSL rather than the oldest. That means you shouldn't need to move OpenSSL 0.9.8e out of the way anymore.
As far as why Java isn't picking up the newer algorithms, that
appears to be because you are using the 3.0 alpha build of the
TurboVNC Viewer. Please use the 2.2.x stable build. The
embedded JRE in 3.0 alpha isn't providing those ciphers for some
reason, and I need to look into why (it may simply be that I
didn't include the necessary module when building the JRE), but
I just tested the 2.2.x build (with OpenJDK 1.8.0), and it works
fine.
--
You received this message because you are subscribed to the Google Groups "TurboVNC User Discussion/Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turbovnc-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/turbovnc-users/9cd4cde5-a186-4980-9d5e-e36bd538a643%40googlegroups.com.
permitted-cipher-suites = ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-SHA384
JAVA_TOOL_OPTIONS='-Dturbovnc.ciphersuites=TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384'
To unsubscribe from this group and stop receiving emails from it, send an email to turbovn...@googlegroups.com.
> an email to turbovn...@googlegroups.com
> <mailto:turbovnc-users+unsub...@googlegroups.com>.
DRC
To unsubscribe from this group and stop receiving emails from it, send an email to turbovnc-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/turbovnc-users/f9f427de-36e8-46c1-bb15-fdb8bcc0c048%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to turbovn...@googlegroups.com.