title: Securing WIFI for a web application
body: <p>I have created a <a href="http://enable-cors.org/">CORS</a> web application (only javascript), where I
  want to be installed and run under different LANs.</p>
  
  <p>I'd like to put SSL, but I don't know what the exact configuration of
  the lan will be and probably it will be different every time. So I
  think I can't add a certified SSL. Is there any possible other
  solution with SSL? I don't like the approach of adding an uncertified
  SSL because of the warnings.</p>
  
  <p>How else can I encrypt the packages and make secure authentication of
  the requests? I am using CouchDB default CORS but the packages can be
  sniffed if the web application is installed and used in an open WIFI.
  The application is using only javascript and I don't know how I can
  protect it (the only backend is the storage in the couchDB).</p>