HI there,
I have succeeded to get my servoy-client / servoy-admin & servoy-webclient to start with SSL (https) with a validated sub-domain certificate for one year, for free
(Will soon post a manual, on how todo that)
For testing purposes I’m now using port 8888
Now I have the following question:
I now, set the keystore file and the passphrase also in the servoy-admin page (useSLL is selected) → restart server.
My servoy.properties file, contains the line:
SocketFactory.rmiServerFactory=com.servoy.j2db.server.rmi.tunnel.ServerTunnelRMISocketFactoryFactory
When I now connect, I can choose out of 2 different connections strings:
https://mydomain:8888/servoy-client/mySolution.jnlp
(connectionMode = http&socket, so rmi port 1099 is needed)
and by using a profile: tunnel
https://mydomain:8888/servoy-client/tunnel/mySolution.jnlp
The profile contains this:
system.property.SocketFactory.tunnelConnectionMode=http
system.property.com.sebster.tunnel.http.client.chunked=false
system.property.com.sebster.tunnel.http.client.closeRequestOnFlush=false
With both Url’s I now get the following error:
avax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificates(Unknown Source)
at com.sebster.tunnel.impl.qe.a(qe.java:9)
at com.sebster.tunnel.impl.pe.connect(pe.java:9)
at com.sebster.tunnel.DelegatingTunnelClient.connect(DelegatingTunnelClient.java:5)
at com.sebster.tunnel.impl.w.<init>(w.java:8)
at com.sebster.tunnel.multiplexer.rmi.ClientMultiplexedRmiSocketFactoryProvider$1.<init>(ClientMultiplexedRmiSocketFactoryProvider.java:2)
at com.sebster.tunnel.multiplexer.rmi.ClientMultiplexedRmiSocketFactoryProvider.<init>(ClientMultiplexedRmiSocketFactoryProvider.java:10)
When I clear both the keystore & keystore passphrase AND useSLL = selected, after restarting server, everything is working fine.
(But now, servoy-admin is complaining, that I did’nt set my own keystore and passphrase: THIS IS NOT SECURE!!)
When I set the useSLL = unselected/false, everything is working fine also, BUT still the smartclient says at the bottom of the screen: SSL encryption is used.
So I’m a bit confused, do I need to set my own keystore & passphrase in the servoy-admin page, when I have already set the servoy tomcat to SSL?
(remember, I have two connections strings: one with rmi, and one with http tunnel)