GWT Hosted mode with SSL enabled

758 views
Skip to first unread message

Nemanja Vukosavljevic

unread,
Dec 21, 2011, 4:58:53 AM12/21/11
to google-we...@googlegroups.com
Hi to all,

I'm fairly a beginner in GWT and Maven and I did try to find the answer to the this problem in the archive but didn't succeed.

So I have the following problem. I've developed a GWT (ver 2.4) application coupled with Spring Framework and Maven as a build tool and for the sake of user authentication with LinkedIn we need our server to be able to accept https requests. I was reading the documentation and found README-SSL.txt in com/google/gwt/dev/shell gwt-dev-2.4.0.jar where it reads:
"You can use a default localhost-only self-signed certificate by just using  -server :ssl " which is exactly what I need for testing purposes. Normally I run the application with mvn gwt:run but I don't know how to add -server :ssl for it to work.

Thanks in advance! Cheers

Thomas Broyer

unread,
Dec 21, 2011, 12:06:33 PM12/21/11
to google-we...@googlegroups.com
Try <server>:ssl</server> or -Dgwt.server=:ssl

Nemanja Vukosavljevic

unread,
Dec 22, 2011, 3:44:49 AM12/22/11
to google-we...@googlegroups.com
The second proposition worked as a charm. Thanks

Peter Leong

unread,
Mar 27, 2012, 2:49:34 AM3/27/12
to google-we...@googlegroups.com

Thanks, this was just what I needed although I added a property to the pom.xml...

<properties>
    <gwt.server>:ssl</gwt.server>
</properties>
Reply all
Reply to author
Forward
0 new messages