javax.net.ssl.SSLException: failed to initialize the server-side SSL context

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Google Groups by Hui Cao, 10 months ago
failed to initialize the server-side SSL context
via Google Groups by Hui Cao, 10 months ago
failed to initialize the server-side SSL context
via Stack Overflow by Carlipoot
, 1 year ago
failed to initialize the server-side SSL context
javax.net.ssl.SSLException: failed to initialize the server-side SSL context
at sun.security.util.ObjectIdentifier.(ObjectIdentifier.java:253)
at sun.security.util.DerInputStream.getOID(DerInputStream.java:281)
at com.sun.crypto.provider.PBES2Parameters.engineInit(PBES2Parameters.java:267)
at java.security.AlgorithmParameters.init(AlgorithmParameters.java:293)
at sun.security.x509.AlgorithmId.decodeParams(AlgorithmId.java:132)
at sun.security.x509.AlgorithmId.(AlgorithmId.java:114)
at sun.security.x509.AlgorithmId.parse(AlgorithmId.java:372)
at javax.crypto.EncryptedPrivateKeyInfo.(EncryptedPrivateKeyInfo.java:95)
at io.netty.handler.ssl.SslContext.generateKeySpec(SslContext.java:866)
at io.netty.handler.ssl.SslContext.buildKeyStore(SslContext.java:894)
at io.netty.handler.ssl.JdkSslContext.buildKeyManagerFactory(JdkSslContext.java:313)
at io.netty.handler.ssl.JdkSslContext.buildKeyManagerFactory(JdkSslContext.java:291)
at io.netty.handler.ssl.JdkSslServerContext.(JdkSslServerContext.java:205)
at io.netty.handler.ssl.JdkSslServerContext.(JdkSslServerContext.java:161)
at io.netty.handler.ssl.SslContext.newServerContextInternal(SslContext.java:399)
at io.netty.handler.ssl.SslContextBuilder.build(SslContextBuilder.java:219)
at org.apache.tinkerpop.gremlin.server.AbstractChannelizer.createSSLContext(AbstractChannelizer.java:232)
at org.apache.tinkerpop.gremlin.server.AbstractChannelizer.init(AbstractChannelizer.java:114)
at org.apache.tinkerpop.gremlin.server.channel.HttpChannelizer.init(HttpChannelizer.java:49)
at org.apache.tinkerpop.gremlin.server.GremlinServer.start(GremlinServer.java:181)
at org.apache.tinkerpop.gremlin.server.GremlinServer.main(GremlinServer.java:346)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.