javax.net.ssl.SSLException

failed to initialize the server-side SSL context

Solutions on the web1311

  • via Google Groups by Hui Cao, 4 months ago
    failed to initialize the server-side SSL context
  • failed to initialize the server-side SSL context
  • via Google Groups by Hui Cao, 6 months ago
    failed to initialize the server-side SSL context
  • Stack trace

    • javax.net.ssl.SSLException: failed to initialize the server-side SSL context at io.netty.handler.ssl.JdkSslServerContext.<init>(JdkSslServerContext.java:222) at io.netty.handler.ssl.JdkSslServerContext.<init>(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) Caused by: java.io.IOException: ObjectIdentifier() -- data isn't an object ID (tag = 48) at sun.security.util.ObjectIdentifier.<init>(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.<init>(AlgorithmId.java:114) at sun.security.x509.AlgorithmId.parse(AlgorithmId.java:372) at javax.crypto.EncryptedPrivateKeyInfo.<init>(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.<init>(JdkSslServerContext.java:205) ... 8 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago