In order to use authorized certificate (.jks file) there are 2 options on restcomm-docker:
- Mount the jks file from the host: e.g.
-v host/location/.jks:/opt/Restcomm-JBoss-AS7/standalone/configuration/restcomm-combined.jks
- pull from a remote location using :
CERTCONFURL JKS file URL location
CERTREPOUSR Username for authentication if needed.
CERTREPOPWRD Password for authentications if needed.
*As well you need to set the variables :
- SECURESSL=AUTH
- TRUSTSTORE_PASSWORD Set the password to use for RestComm to configure the certificate for HTTPS and SIP TLS
- TRUSTSTORE_ALIAS Set the Alias to use for RestComm to configure the certificate for HTTPS and SIP TLS
More info here (under "HTTPS related configuration"): restcomm-docker configuraion documentation