![]() What could be the cause and how to fix it? (Production application is currently logging on level TRACE.) Looking at the stack-trace, it might occur before any custom request pre-processing code is reached, during the SSL handshake, which might be the reason there are no logs before. It is hard to tell what causes the exception, as there are no logs before or after by the same thread. : No value presentĪt (Optional.java:148) ~Īt $T13ServerHelloProducer.produce(ServerHello.java:547) ~Īt .produce(SSLHandshake.java:436) ~Īt $T13ClientHelloConsumer.goServerHello(ClientHello.java:1234) ~Īt $nsume(ClientHello.java:1170) ~Īt $ClientHelloConsumer.onClientHello(ClientHello.java:852) ~Īt $nsume(ClientHello.java:813) ~Īt .consume(SSLHandshake.java:392) ~Īt .dispatch(HandshakeContext.java:443) ~Īt $DelegatedTask$n(SSLEngineImpl.java:1061) ~Īt $DelegatedTask$n(SSLEngineImpl.java:1048) ~Īt (Native Method) ~Īt $n(SSLEngineImpl.java:995) ~Īt .(SecureNioChannel.java:443) ~Īt .(SecureNioChannel.java:507) ~Īt .(SecureNioChannel.java:238) ~Īt .net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1616) Īt .(SocketProcessorBase.java:49) Īt .runWorker(ThreadPoolExecutor.java:1128) Īt $n(ThreadPoolExecutor.java:628) Īt .threads.TaskThread$n(TaskThread.java:61) Īt (Thread.java:834) : cannot create new sslĪt .SSL.newSSL(Native Method)Īt .(OpenSSLEngine.java:214)Īt .(OpenSSLContext.java:492)Īt .(AbstractJsseEndpoint.java:119)Īt .(SecureNioChannel.java:329)Īt .(SecureNioChannel.java:175)Īt .net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1566)Īt .(SocketProcessorBase.java:49)Īt .runWorker(Unknown Source)Īt $n(Unknown Source)Īt .threads.TaskThread$n(TaskThread.In a Spring Boot production app, the following exception is occasionally thrown: o.a.t.u.n.NioEndpoint : Error running socket processor net.NioEndpoint$SocketProcessor.doRun Error ErrorĪt 64$Encoder.encode(Unknown Source)Īt 64$Encoder.encodeToString(Unknown Source)Īt .(OpenSSLContext.java:405)Īt .(OpenSSLContext.java:249)Īt .(SSLUtilBase.java:247)Īt .(AbstractJsseEndpoint.java:97)Īt .(AbstractJsseEndpoint.java:71)Īt .(NioEndpoint.java:218)Īt .(AbstractEndpoint.java:1124)Īt .(AbstractEndpoint.java:1137)Īt .init(AbstractProtocol.java:574)Īt 11.AbstractHttp11Protocol.init(AbstractHttp11Protocol.java:74)Īt .Connector.initInternal(Connector.java:980)Īt .LifecycleBase.init(LifecycleBase.java:136)Īt .StandardService.initInternal(StandardService.java:533)Īt .StandardServer.initInternal(StandardServer.java:1059)Īt .Catalina.load(Catalina.java:584)Īt .Catalina.load(Catalina.java:607)Īt 0(Native Method)Īt (Unknown Source)Īt (Unknown Source)Īt .invoke(Unknown Source)Īt .Bootstrap.load(Bootstrap.java:304)Īt .Bootstrap.main(Bootstrap.java:474). ![]() AprLifecycleListener.initializeSSL OpenSSL successfully initialized ĪPR/OpenSSL configuration: useAprConnector, useOpenSSL ĪPR capabilities: IPv6, sendfile, accept filters, random. ![]() Loaded APR based Apache Tomcat Native library using APR version. What I would like to know is to understand how to make this work with openssl - it seems like it shouldn't matter which implementation I use? Any insight would be appreciated. MaxThreads="150" scheme="https" secure="true" SSLEnabled="true" clientAuth="false" sslProtocol="TLS" sslEnabledProtocols="TLSv1.2" keyAlias="somealias" keystoreFile="" keystorePass="" keystoreType="Windows-My"/> We need to define tomcat to use JSSE in the protocol by doing the following change:Ĭonnector port="443" protocol="11.Http11NioProtocol" sslImplementationName="." ![]() I believe I know how to fix this - by making the following change in the tomcat configuration from:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |