NARU
NARU

Reputation: 2829

Secure GWT application with https

I am developing a GWT web application, now I want to secure the whole web application via HTTPS. Aanybody has an idea?

I am using Jetty web server.

Thanks in advance!

Upvotes: 5

Views: 3102

Answers (2)

Tahir Akhtar
Tahir Akhtar

Reputation: 11625

You don't need to do anything specific to GWT for enabling Https. Just enable the ssl as usual, and access your GWT host page using an https url.

Upvotes: 7

Thomas Cataldo
Thomas Cataldo

Reputation: 23

You could use a reverse-proxy like nginx.

This example of nginx configuration would do this :

server {
  listen   443;
  server_name  my.https.srv;

  ssl  on;
  ssl_certificate  /etc/certs/cert.pem;
  ssl_certificate_key  /etc/certs/cert.pem;

  ssl_session_timeout  5m;
  ssl_protocols  SSLv3 TLSv1;
  ssl_ciphers  ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv3:+EXP;
  ssl_prefer_server_ciphers   on;

  location / {
    proxy_pass http://my.jetty.srv:8080/;
  }
}

Upvotes: 0

Related Questions