SSL - Import self signed certificates
Get self signed SSL certificate
cd /media/emsites/[instance]/services echo -n | openssl s_client -connect [server]:3269 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > ldapserver.pem
Generating a .der certificate:
openssl x509 -outform der -in ldapserver.pem -out certificate.der
Get access to your Docker container's bash and run the following command:
cd /usr/java/jdk-12.0.1/lib/security keytool -import -alias [YOUR-ALIAS] -keystore cacerts -file /media/services/certificate.der default password: changeit
The cacerts are currently located at /usr/java/jdk-12.0.1/lib/security on any of the latest entermedia docker images.
Restart your Docker container
cd /media/emsites/[instance]/[node] ./restart.sh