Scroll to...


Secure HTTPS on JAWS

To set up a HTTPS connector, edit the "connectors" section of ~/config/httpd.json. You'll also need to prepare a key store, with a generated public/private key pair as follows:

keytool -genkey -alias myWebSite -keystore ./
Enter keystore password:  
Re-enter new password: 
What is your first and last name?
  [Unknown]:  https://localhost/
What is the name of your organizational unit?
What is the name of your organization?
  [Unknown]:  Augur Systems, Inc.
What is the name of your City or Locality?
  [Unknown]:  Boston
What is the name of your State or Province?
  [Unknown]:  MA
What is the two-letter country code for this unit?
  [Unknown]:  US
Is CN=TrapStation, OU=Unknown, O="Augur Systems, Inc.", L=Boston, ST=MA, C=US correct?
  [no]:  yes

Enter key password for <https://localhost/>
	(RETURN if same as keystore password):  

Then you'll need to generate "certificate signing request" to have the key pair signed by a Certificate Authority (CA) vendor. Finally, import that certificate.

keytool -keystore -alias trapstation -certreq -keyalg RSA -file certreq.csr

keytool -keystore -alias trapstation -importcert -file <certFileName>.p7s


Your "connectors" section will look like this:

    "host": "",
    "port": 80,
    "scheme": "http"
    "host": "",
    "port": 443,
    "scheme": "https",