io.vertx.core.VertxException

io.vertx.core.VertxException: Key/certificate is mandatory for SSL

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web18

  • via Stack Overflow by paul
    , 11 months ago
    io.vertx.core.VertxException: Key/certificate is mandatory for SSL
  • via Google Groups by Paul, 11 months ago
    io.vertx.core.VertxException: Key/certificate is mandatory for SSL
  • javax.net.ssl.SSLException: failed to set certificate and key
  • Stack trace

    • io.vertx.core.VertxException: io.vertx.core.VertxException: Key/certificate is mandatory for SSL at io.vertx.core.net.impl.SSLHelper.createContext(SSLHelper.java:303) at io.vertx.core.net.impl.SSLHelper.getContext(SSLHelper.java:458) at io.vertx.core.net.impl.SSLHelper.validate(SSLHelper.java:472) at io.vertx.core.http.impl.HttpServerImpl.listen(HttpServerImpl.java:219) at io.vertx.core.http.impl.HttpServerImpl.listen(HttpServerImpl.java:191) at io.vertx.groovy.core.http.HttpServer.listen(HttpServer.groovy:178) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrap.invoke(PogoMetaMethodSite.java:190) at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:71) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:133) at com.tesco.price.mocks.identity.IdentityMock.startServer(IdentityMock.groovy:67) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:210) at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:59) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:52) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:154) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:174) at com.tesco.price.mocks.identity.IdentityMock.start(IdentityMock.groovy:29) at io.vertx.lang.groovy.GroovyVerticle$1.start(GroovyVerticle.groovy:93) at io.vertx.core.impl.DeploymentManager.lambda$doDeploy$8(DeploymentManager.java:434) at io.vertx.core.impl.ContextImpl.lambda$wrapTask$3(ContextImpl.java:359) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:339) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:393) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:742) at java.lang.Thread.run(Thread.java:745) Caused by: io.vertx.core.VertxException: Key/certificate is mandatory for SSL at io.vertx.core.net.impl.SSLHelper.createContext(SSLHelper.java:270) ... 32 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

    You’re the first here who have seen this exception.