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

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • enable gremlin server ssl with keyPassword
    via by Hui Cao,
  • GitHub comment 79#287700307
    via GitHub by osysltd
    ,
  • big ceritificate (4096)
    via by 843811,
  • ParsingException in KEYTOOL
    via by 843810,
  • problem with certificate
    via by 843810,
  • Certificate Validation
    via by 843811,
    • 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

    Users with the same issue

    Unknown visitor1 times, last one,