Improve SSL performance with Java 9 for Wowza Streaming Engine

Unlike the algorithms used in earlier versions of Java, the default GCM algorithms in Java 9 do not use hardware acceleration. As a result, you may see a signifcant reduction in performance of the default algorithm configurations used in Wowza Streaming Engine™ media server software.

This article describes two ways to disable the newer, slower algorithms in Java 9, as well as an alternative method for improving SSL performance using Conscrypt, an open-source Java Security Provider that offers improved SSL performance.

Note: This article applies to Wowza Streaming Engine 4.7.8 through 4.8.17, which are built on Java 9. Later versions of Wowza Streaming Engine use Java 11 and do not have this issue.

Use a custom file (recommended)

If you don't want to modify the default file in the java_home location, you can create a custom file to modify the jdk.tls.disabledAlgorithms property. 

  1. Create a new file in a location of your choosing.
  2. Set jdk.tls.disabledAlgorithms=GCM.
  3. Save your changes.
  4. Open the [wowza-install-dir]/conf/Tune.xml file in a text editor.
  5. In the <VMOptions> section, add <VMOption>[]/</VMOption>, and save your changes.

Update the java_home file


  • If you completed the steps in Use a custom file (recommended), you've already disabled the algorithms. No further action is required.
  • With this method, you may have to reapply the changes if you update or reinstall Java.

You can also disable the slower GCM algorithms in Java 8 in the java_home version of the file.

  1. Open [java_home]/conf/security/ in a text editor.
  2. Add the value GCM to the jdk.tls.disabledAlgorithms property.
  3. Save your changes.

Enable the Conscrypt provider

Conscrypt improves SSL performance and reduces CPU usage. When enabled, it replaces the built-in Java cryptography libraries. You do not need to disable the GCM algorithms if Conscrypt is enabled.

Note: Conscrypt is available in Wowza Streaming Engine and later.
  1. Navigate to [install-dir]/conf/ and open Server.xml in a text editor.
    Note: You can also add custom properties with Wowza Streaming Engine Manager rather than editing the XML configuration manually. For this property, you add it from the Server Setup page. See Add a custom property for more information.
  2. Add the following property to the <Server>/<Properties> container. Be sure to add the property to the correct <Properties> container in Server.xml as there are several such containers in the file.
  3. Restart Wowza Streaming Engine to apply the changes.
Note: You can enable the sslLogConnectionInfo property to verify that Conscrypt is being used. For more information, see Improve SSL configuration for Wowza Streaming Engine.