Using self signed certificate

In case you want to start RestComm container using a self-signed certificate, you use the RCADVCONF_SECURESSL environment variable set to "SELF".

Example

docker run -e RCADVCONF_SECURESSL="SELF" -e RCADVCONF_SSL_MODE="allowall"  -e RCBCONF_VOICERSS_KEY="VOICERSS_KEY_HERE" --name=restcomm -d -p 8080:8080 -p 8443:8443 -p 9990:9990 -p 5080:5080 -p 5081:5081 -p 5082:5082 -p 5083:5083 -p 5080:5080/udp -p 65000-65050:65000-65050/udp restcomm/restcomm:latest

The generated truststore file will be located at /opt/Mobicents-Restcomm-JBoss-AS7/standalone/configuration/restcomm-combined.jks and the password $TRUSTSTORE_PASSWORD