Force Webclient To Use SSL?

Hey Network Expert Type Folks!

Is there a way to force Servoy to use https for webclient request?

I have a customer (that doesn’t have control over their own router) who wants all traffic coming into http://myDomain:8080/servoy-webclient/ to go to https://myDomain:8443/servoy-weblient/

Any advice on how to set it up?

Thanks in advance!

Bob

No control over the router? Hmmm… I’d say: install apache, set it up to listen to port 8080 (why not also 80 and 443?) using ssl and use it to proxy the connection to the servoy server using an AJP connector, this way no matter what port the users hit, they are always connecting using ssl. The extra advantage is that it’s easier to set up SSL on apache than on servoy’s tomcat.
More info on my website: http://www.sintpro.com/downloads/Advanced_WebClient_Dev_&_Deployment.pdf

Thanks, Nicola!

I guess I’ll have to do some reading on how to exactly set everything up… any suggestions?

Hi Bob,

forcing Servoy to use https is pretty good documented on the servoy wiki (wiki.servoy.com)
search for SSL.

If you need any help, pls let me know.

yep, here it is: http://wiki.servoy.com/display/public/D … blingHTTPS

Thanks guys for all your help - it’s very much appreciated!

Hi all,

I also want to force webclients to use https, I read the wiki and the clients can log into servoy using https://myDomain:8443/servoy-weblient/*, but the URL __http://myDomain:8080/servoy-webclient/*__ still works :?:
How can I do disable that URL and force webclients to use https URL?

http://wiki.servoy.com/display/public/D … rcingHTTPS

Ops… I had put the security-constraint tag in application_server/server/conf/web.xml instead of application_server/server/webapps/ROOT/web_inf/web.xml :oops:

Now it works right!!

Thanks,