Ant-Media-Server
Ant-Media-Server copied to clipboard
Add support for a SSL certificate authority that doesn't suck
I'm frustrated by the rate limits set by Lets Encrypt in your "super simple" one click solution and the unbearably short life of Lets Encrypt certificates. I should NOT have to re-up it ever 3 months. It's ridicules.
Solution:
Add documentation for using some other SSL certificate authority.
Hi @chris00001 ,
Thank you for asking this question.
I see. There are some simple tricks may help you for that.
- You can import other SSL certificates with
enable_ssl.sh
as follows.
./enable_ssl.sh -f {FULL_CHAIN_FILE} -p {PRIVATE_KEY_FILE} -d {DOMAIN_NAME}
-
You don't need to get a new certificate from the Let's Encrypt for every time. You can use the same one if you're in the same instance. So that you don't get stuck in the weekly limits.
-
There is an auto renewal SSL cron job for running every 3 months. It's installed by default when you first install the SSL in the latest version.
how to generate fullchainfile from cloudflare, i have pem and key
Hi @reiluke
The proxy must be active (http/https) to use Cloudflare certificates and if the proxy is active, unfortunately, Ant Media Server will not work because it uses different ports and protocols. My advice to you is to use Let's Encrypt.
So unfortunately you can't use full chain certs in Cloudflare for the reason I mentioned above.
https://developers.cloudflare.com/fundamentals/get-started/reference/network-ports/