I have a Java web application and one of the modules is using Vaadin for rendering the web interface. This module is running inside a docker container on a server. Could anyone help me to understand how I can add a SSL certificate in order to allow https calls for this module?
I have an assumption that we need to add the cert in cacerts file in java security directory but I don't have direct access to it since it's inside docker container.
I have tried to add the following line to docker-compose.yml for this module in volumes section.
volumes:${CONF_DIR}/backend/cert/cacerts:/usr/java/default/lib/security/
But when I call https://xxxxx... I'm getting the error - This site can’t provide a secure connection ERR_SSL_PROTOCOL_ERROR