Secure GWT application with https

荒凉一梦 提交于 2019-12-10 14:35:46

问题


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!


回答1:


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.




回答2:


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


来源:https://stackoverflow.com/questions/7161121/secure-gwt-application-with-https

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!