title: how to use force-ssl in meteor.js without deployment to meteor.com subdomains?
body: <p>The document is not clear. How to install certificate and etc in localhost?</p>
  
  <pre><code>force-ssl
  
  This package causes Meteor to redirect insecure connections (HTTP) to a secure URL (HTTPS). Use this package to ensure that communication to the server is always encrypted to protect users from active spoofing attacks.
  
  To simplify development, unencrypted connections from localhost are always accepted over HTTP.
  
  Application bundles (meteor bundle) do not include an HTTPS server or certificate. A proxy server that terminates SSL in front of a Meteor bundle must set the standard x-forwarded-proto header for the force-ssl package to work.
  
  Applications deployed to meteor.com subdomains with meteor deploy are automatically served via HTTPS using Meteor's certificate.
  </code></pre>