Page 1 of 1

Force Webclient To Use SSL?

PostPosted: Wed Apr 18, 2012 10:06 pm
by bobcusick1332964082
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

Re: Force Webclient To Use SSL?

PostPosted: Thu Apr 19, 2012 1:20 am
by ngervasi
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

Re: Force Webclient To Use SSL?

PostPosted: Thu Apr 19, 2012 2:49 am
by bobcusick1332964082
Thanks, Nicola!

I guess I'll have to do some reading on how to *exactly* set everything up... any suggestions?

Re: Force Webclient To Use SSL?

PostPosted: Thu Apr 19, 2012 9:40 am
by mboegem
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.

Re: Force Webclient To Use SSL?

PostPosted: Thu Apr 19, 2012 10:39 am
by Harjo

Re: Force Webclient To Use SSL?

PostPosted: Thu Apr 19, 2012 2:45 pm
by bobcusick1332964082
Thanks guys for all your help - it's very much appreciated!

Re: Force Webclient To Use SSL?

PostPosted: Fri Dec 07, 2012 11:39 am
by juan.cristobo
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?

Re: Force Webclient To Use SSL?

PostPosted: Fri Dec 07, 2012 11:41 am
by Harjo

Re: Force Webclient To Use SSL?

PostPosted: Fri Dec 07, 2012 12:02 pm
by juan.cristobo
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,