Activating the Switchboard
Jump to navigation
Jump to search
The new switchboard is using the AMIRouter, so as first step, AMIRouter needs to be already configured. An additonal configuration in application.properties needs to be done
spring.datasource.database=asterisk spring.datasource.url=jdbc:mysql://localhost:3306/asterisk?zeroDateTimeBehavior=convertToNull spring.datasource.username=asterisk spring.datasource.password=asterisk spring.shell.command.quit.enabled=false spring.shell.command.quit.enabled=false server.ssl.enabled=true server.ssl.key-store=/usr/local/amirouter/certs/keystore.p12 server.ssl.key-store-password=tomcat server.ssl.key-store-type=PKCS12 server.ssl.key-alias=tomcat
The keystore needs to be configured with a valid SSL certificate using the following command
cd /usr/local/amirouter mkdir certs cd certs openssl pkcs12 -export -in fullchain.pem -inkey privkey.pem -out keystore.p12 -name tomcat
I suppose you noticed the keystore password is tomcat