this will build an image if required
docker-compose up -d
This is a multistage Dockerfile and will produce some sample certificates with ansible. playbook is using community collections to create self-signed CA and server certificate. With the last task it creates the jks keystore file which is copied into the resulting image and referenced by Play! application configuration default values.
docker-compose exec myapp cat /opt/myApp/conf/ca-certificate.pem
and if required convert it to some format suitable for your browser certificate management
application is running at:
"The values below are the default values in Play!Framework"
### Keystore
ssl.KeyManagerFactory.algorithm=SunX509
trustmanager.algorithm=JKS
keystore.password=secret
keystore.file=certificate.jks
Play!Framwork 1 documentation