My FreePBX systems can be accessed by using one of two fully qualified domain names - for example pbx-example-com and pbx5-example-com. My phones register to pbx but when I am building or managing the servers I access it via pbx5. When it is time to build a new server I will build it as pbx6. When I am ready to transition to the new server I move the pbx name to point to pbx6.
I have no problems with getting the certificates using certbot.
sudo certbot --apache -d pbx7-example-com
(I am a new user, the “-” should be “.”)
And then when I have repointed pbx:
sudo certbot --apache -d pbx.example-com -d pbx7-example-com
I would like to be able to do this using the Certificate Manager in FreePBX but I can’t figure out how to get the Certificate Manager to generate a single certificate for both pbx and pbx5.
One driver in wanting to do this inside FreePBX and Certificate Manager is that I need to use WebRTC and I would prefer to use a single certificate for HTTPS and WebRTC.
I would appreciate any thoughts on how to accomplish the two names in a single certificate using FreePBX and Certificate Manager or any other ways of accomplishing this in a straight forward manner that will not involve manual intervention every time the certificates are renewed.
By the way, I am running FreePBX 16-15 on CentOS 7.