[[tlsJdkNssBugWorkaroundActive]]
= tls-jdk-nss-bug-workaround-active
:author: Andrzej Wojcik <andrzejw@tigase.org>
:version: v2.1, August 2017: Reformatted for Kernel/DSL

*Default value:* `false`

*Example:* `'tls-jdk-nss-bug-workaround-active' = true`

*Possible values:* `true|false`

*Description:* This is a workaround for TLS/SSL bug in new JDK7 using the native library for keys generation and connection encryption used with new version of nss library.

This caused a number of problems with Tigase installed on systems with JDK7 and the new library installed, such as hanging connections, or broken SSL/TLS. There is some information on our link:https://projects.tigase.org/projects/tigase-server/wiki/Tigase_with_OpenJDK7_with_OpenSSL_101[wiki page]. Our earlier suggestion was to avoid using either JDK7 or the problematic native library. Now we have a proper fix/workaround which allows you to run Tigase with JDK7.

- http://stackoverflow.com/q/10687200/427545
- http://bugs.sun.com/bugdatabase/view_bug.do;jsessionid=b509d9cb5d8164d90e6731f5fc44?bug_id=6928796

Note, while this setting is still supported, the issues mentioned above are fixed in v8 JDK.

*Available since:* 8.0.0
