Wowza Community

Error loading certificate

I created self sign sslf with below command
keytool -genkey -keysize 2048 -alias wowza -keyalg RSA -keystore

but enfine have a error when stream via ssl
CertificateUtilsloadCertificateX509[load]: : Invalid keystore format|at java.base/ Source)|at java.base/ Source)|at java.base/ Source)|at com.wowza.wms.util.CertificateUtils.loadCertificateX509(|at com.wowza.wms.util.CertificateUtils.loadCertificateX509(|at com.wowza.wms.webrtc.model.WebRTCContext.loadWebRTCSSLCertificates(|at com.wowza.wms.webrtc.model.WebRTCContext.init(|at com.wowza.wms.vhost.VHost.init(|at com.wowza.wms.vhost.VHostSingleton.init(|at com.wowza.wms.server.Server.startVHost(|at com.wowza.wms.server.Server.startVHosts(|at com.wowza.wms.server.Server.start(|at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)|at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)


It looks like there might be an issue with the format of the keystore file. When generating a self-signed SSL certificate using the keytool command, it’s important to ensure that the keystore format is compatible with what Wowza Streaming Engine expects.

Here are a few steps you can take to troubleshoot and potentially resolve the issue:

  1. Verify Keystore Format : Ensure that the keystore format is correct. Wowza Streaming Engine typically expects a Java KeyStore (JKS) format. You can check the format using the following command:
keytool -list -keystore

If the keystore format is incorrect, you may need to recreate the keystore in the correct format.

  1. Recreate Keystore : If the keystore format is incorrect or if you suspect there may be an issue with the keystore, you can recreate it using the following command:
keytool -genkey -keysize 2048 -alias wowza -keyalg RSA -keystore

Make sure to specify the correct alias ( wowza in this case) and keystore file name ( ).

It has been a while. I am sure you might have been able to figure out the issue. If not and you still having issues you can submit a support ticket

1 Like