Skip to content

Cannot send webhook from AMS to a server which is using self-signed SSL certificate #6022

Answered by lastpeony
yashtandon113 asked this question in FAQs
Discussion options

You must be logged in to vote

You need to create a truststore add your certificate file to it and then pass the truststore with its password as JVM argument to antmedia service for tomcat to trust the certificate and send succesfull webhook.
Here are the steps:
1-) Download and save your certificate file as yourCertificate.crt to the AMS server home directory. For this you can use wget or directly copy from your local with scp
2-) Run this command
keytool -importcert -file yourCertificate.crt -keystore truststore.jks -alias someAlias
You dont need to edit alias.
This will start a process of creating truststore.jks file. Set your password and create the file.
3-) Go to /etc/systemd/system/ directory.
Open antmedia.serv…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by yashtandon113
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants