Question

Enable SSL for Pega Platform using Docker Environment variables

I can find examples for enabling SSL for Pega Tomcat, but not specifically using Docker environment variables such as those used in docker-compose.yml.

Can anyone please provide an example configuration to enable SSL for Pega Platform using docker?

Any help is greatly appreciated.

EH

Correct Answer
November 2, 2019 - 8:02am

Pega docker image is based on Tomcat base image so your question is generic. You will need to customize the official docker image from Pega (e.g., https://github.com/pegasystems/docker-pega-web-ready). For example, you will need to expose port 8443 and define Env variables to pass in SSL cert. Here is an example from the internet: https://mvysny.github.io/Using-self-signed-OpenSSL-pem-with-Docker-Tomcat/

Comments

Keep up to date on this post and subscribe to comments

November 2, 2019 - 8:02am

Pega docker image is based on Tomcat base image so your question is generic. You will need to customize the official docker image from Pega (e.g., https://github.com/pegasystems/docker-pega-web-ready). For example, you will need to expose port 8443 and define Env variables to pass in SSL cert. Here is an example from the internet: https://mvysny.github.io/Using-self-signed-OpenSSL-pem-with-Docker-Tomcat/

November 4, 2019 - 9:57am

Kevin,
You always seem to come through with the right answer. Thank you so much!