Setting up SSL (HTTPS)

By Default Owl has plain HTTP enabled for testing. When you are ready to enable SSL for the web application you can set the following environment variables in owl-env.sh to enable HTTPS.

The settings listed at the bottom of this page will disable un-secure HTTP, enable secure HTTPS, and allow you to point to your certificate key store + credentials. *A restart of the web-application is required.

Before starting please have an accessible key store.

export SERVER_SSL_KEY_STORE: <path to your key store>

You can call Owl's built in 256-bit encryption for the SERVER_SSL_KEY_PASS value from the bin directory: ./owlmanage.sh encrypt=<sensitive plain text string>

Use the response value instead of the plain text value to secure your password.

export SERVER_SSL_KEY_PASS:<secure result from owl encryption script>
export SERVER_HTTP_ENABLED:false
export SERVER_HTTPS_ENABLED:true
export SERVER_REQUIRE_SSL:true

####START KEYSTORE SETTINGS####
export SERVER_SSL_KEY_TYPE:PKCS12
#SET PATH TO KEYSTORE
export SERVER_SSL_KEY_STORE:KeystorePathHere
export SERVER_SSL_KEY_PASS:*******
export SERVER_SSL_KEY_ALIAS:keystoreAliasNameHere

*Dont forget to restart the web application from the bin directory: ./owlmanage.sh restart=owlweb

Last updated