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.

Below will disable un-secure HTTP, enable secure HTTPS, and allow you to point to your certificate keystore + credentials. You can call Owl's built-in encryption for the SERVER_SSL_KEY_PASS value:

./owlmanage.sh encrypt=<sensitive string>

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

Restart the Web application and use https:// to access.

SERVER_HTTP_ENABLED:false
SERVER_HTTPS_ENABLED:true
SERVER_REQUIRE_SSL:true####START KEYSTORE SETTINGS####
SERVER_SSL_KEY_TYPE:PKCS12
#SET PATH TO KEYSTORE
SERVER_SSL_KEY_STORE:classpath:keystore.p12
SERVER_SSL_KEY_PASS:admin123
SERVER_SSL_KEY_ALIAS:owl

Last updated