Secure GWT app with https

I am developing a GWT web application, now I want to protect the entire web application through HTTPS. Does anyone have an idea?

I am using the Jetty web server.

Thanks in advance!

+5
source share
2 answers

You do not need to do anything for GWT to enable Https. Just enable ssl as usual and access your GWT homepage using https-url.

+7
source

You can use a reverse proxy, for example nginx .

This nginx configuration example will do the following:

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/;
  }
}
0
source

All Articles