You can translate the question and the replies:

After enabling HTTPS can't connecto to virtual data port server nor webtools

Hello, I was doing the exercise of the DEN80EDU13DS05 module to enable the HTTPS in tomcat.properties and server.xml and did everything as was shown. But after I start the servers VDP server can be started, but it does not connect to server. It says it is connecting and keeps waiting for a server connection. The Web Tools don't even start. The http://localhost:9443/denodo-restfulws/denodotraining is rejected. I tried to configure the ports in the firewall but it still does not work, is there any additional configuration? Thank you.
user
20-04-2021 05:21:29 -0400

4 Answers

Hi, When I tried to enable SSL for the embedded Web Container, I was able to configure it successfully. Hence, I would suggest you to verify the steps followed to configure SSL in the Embedded Web Container by referring the [Enabling HTTPS in the Embedded Apache Tomcat](https://community.denodo.com/docs/html/browse/latest/en//platform/installation/postinstallation_tasks/enable_ssl_connections_in_the_denodo_platform_servers/enabling_https_in_the_embedded_apache_tomcat#enabling-https-in-the-embedded-apache-tomcat) documentation. Also, after enabling SSL in your embedded Apache Tomcat, the protocol used in the URL would be HTTPS and not HTTP. So, you would need to use the below URL to access the Denodo RESTful WS, [https://localhost:9443/denodo-restfulws/denodo_training](https://localhost:9443/denodo-restfulws/denodo_training) Hope this helps!!
Denodo Team
22-04-2021 08:11:21 -0400
Hello, Thank you for your answer I followed all the steps, but the webtools don't start and I can't acess the https://localhost:9443/denodo-restfulws/denodotraining, giving me a ERRCONNECTION_REFUSED. I can't figured it out.
user
23-04-2021 14:28:49 -0400
Hello, I configured the keystore and truststore and everything went well, but now, when I try to login I get this error: 27550 [DNI(8)] ERROR 2021-04-24T10:58:44.289 com.denodo.internal.o.a.r.netty.RMIServerHandler [] - EXCEPTION CAUGHT: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure com.denodo.internal.i.n.handler.codec.DecoderException: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure at com.denodo.internal.i.n.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:471) ~[denodo-asyncrmi.jar:8.0.1] at com.denodo.internal.i.n.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:276) ~[denodo-asyncrmi.jar:8.0.1] at com.denodo.internal.i.n.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[denodo-asyncrmi.jar:8.0.1] at com.denodo.internal.i.n.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[denodo-asyncrmi.jar:8.0.1] at com.denodo.internal.i.n.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[denodo-asyncrmi.jar:8.0.1] at com.denodo.internal.i.n.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[denodo-asyncrmi.jar:8.0.1] at com.denodo.internal.i.n.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[denodo-asyncrmi.jar:8.0.1] at com.denodo.internal.i.n.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[denodo-asyncrmi.jar:8.0.1] at com.denodo.internal.i.n.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[denodo-asyncrmi.jar:8.0.1] at com.denodo.internal.i.n.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) ~[denodo-asyncrmi.jar:8.0.1] at com.denodo.internal.i.n.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:719) ~[denodo-asyncrmi.jar:8.0.1] at com.denodo.internal.i.n.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:655) ~[denodo-asyncrmi.jar:8.0.1] at com.denodo.internal.i.n.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:581) ~[denodo-asyncrmi.jar:8.0.1] at com.denodo.internal.i.n.channel.nio.NioEventLoop.run(NioEventLoop.java:493) ~[denodo-asyncrmi.jar:8.0.1] at com.denodo.internal.i.n.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) ~[denodo-asyncrmi.jar:8.0.1] at com.denodo.internal.i.n.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[denodo-asyncrmi.jar:8.0.1] at com.denodo.internal.i.n.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [denodo-asyncrmi.jar:8.0.1] at java.lang.Thread.run(Thread.java:834) [?:?] Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure at sun.security.ssl.Alert.createSSLException(Alert.java:131) ~[?:?] at sun.security.ssl.Alert.createSSLException(Alert.java:117) ~[?:?] at sun.security.ssl.TransportContext.fatal(TransportContext.java:313) ~[?:?] at sun.security.ssl.Alert$AlertConsumer.consume(Alert.java:293) ~[?:?] at sun.security.ssl.TransportContext.dispatch(TransportContext.java:186) ~[?:?] at sun.security.ssl.SSLTransport.decode(SSLTransport.java:171) ~[?:?] at sun.security.ssl.SSLEngineImpl.decode(SSLEngineImpl.java:681) ~[?:?] at sun.security.ssl.SSLEngineImpl.readRecord(SSLEngineImpl.java:636) ~[?:?] at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:454) ~[?:?] at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:433) ~[?:?] at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:637) ~[?:?] at com.denodo.internal.i.n.handler.ssl.SslHandler$SslEngineType$3.unwrap(SslHandler.java:282) ~[denodo-asyncrmi.jar:8.0.1] at com.denodo.internal.i.n.handler.ssl.SslHandler.unwrap(SslHandler.java:1387) ~[denodo-asyncrmi.jar:8.0.1] at com.denodo.internal.i.n.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1282) ~[denodo-asyncrmi.jar:8.0.1] at com.denodo.internal.i.n.handler.ssl.SslHandler.decode(SslHandler.java:1329) ~[denodo-asyncrmi.jar:8.0.1] at com.denodo.internal.i.n.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:501) ~[denodo-asyncrmi.jar:8.0.1] at com.denodo.internal.i.n.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:440) ~[denodo-asyncrmi.jar:8.0.1] ... 17 more 29958 [Thread-2] INFO 2021-04-24T10:58:46.697 com.denodo.tomcat.manager.TomcatManager [] - Maximum number of retries reached. Tomcat remains stopped. Thank you
user
24-04-2021 06:01:05 -0400
Hello and thank you for your reply. After a clean install I was able to use the TLS configurator and it worked fine.
user
03-05-2021 13:29:11 -0400
You must sign in to add an answer. If you do not have an account, you can register here