TLS 1.3 support is required for versions 8.x of Smart ID Certificate Manager (CM) and CM SDK. It was introduced in Java 11, but for at least the Zulu 8 JRE a backport exists via the OpenJSSE provider.
This article shows how to enable it in a way that retains the SUN JSSE provider for backwards compatibility with applications that use it explicitly. This information is usable when you shall Integrate Identity Manager with Smart ID Certificate Manager.
The instructions in this article are required and intended only for Zulu 8.47 and lower.
The option to enable crypto policy needs to be done for all versions of Zulu.
Update Java security providers
Open the file ZULU8_FOLDER\jre\lib\security\java.security for editing.
By default there are 10 security providers listed on Windows and 9 on Linux, like this:
Listed security providers
CODE
security.provider.1=...
...
security.provider.4=com.sun.net.ssl.internal.ssl.Provider
...
security.provider.9=...
security.provider.10=... (Windows only)
Add a security provider line at the end of the numbering (number 11 on Windows and number 10 on Linux).
Move "com.sun.net.ssl.internal.ssl.Provider" from security provider number 4 to the new number:
For Windows
CODE
security.provider.11=com.sun.net.ssl.internal.ssl.Provider
For Linux
CODE
security.provider.10=com.sun.net.ssl.internal.ssl.Provider
Insert "org.openjsse.net.ssl.OpenJSSE" at security provider number 4:
Insert at number 4
CODE
security.provider.4=org.openjsse.net.ssl.OpenJSSE
Add this line below the number 4 line:
Add below number 4
CODE
jdk.tls.keyLimits=AES/GCM/NoPadding KeyUpdate 2^37
Replace this:
CODE
security.provider.4=com.sun.net.ssl.internal.ssl.Provider
...with this:
CODE
security.provider.4=org.openjsse.net.ssl.OpenJSSE
jdk.tls.keyLimits=AES/GCM/NoPadding KeyUpdate 2^37
...and add this line:
CODE
security.provider.11=com.sun.net.ssl.internal.ssl.Provider
Note! You can add the new line anywhere in the file. The order of the numbering lines is not important.
Replace this:
CODE
security.provider.4=com.sun.net.ssl.internal.ssl.Provider
with this:
CODE
security.provider.4=org.openjsse.net.ssl.OpenJSSE
jdk.tls.keyLimits=AES/GCM/NoPadding KeyUpdate 2^37
...and add this line:
CODE
security.provider.10=com.sun.net.ssl.internal.ssl.Provider
Note! You can add the new line anywhere in the file. The order of the numbering lines is not important.
Option: Enable the unlimited crypto policy
To enable the unlimited crypto policy, add this line in the Java security file:
Enable unlimited crypto policy
CODE
crypto.policy=unlimited