I would like to just buy a wild card cert and apply the cert to all of the PBXs. I know how to do this via FreePBX obviously, but is there a way to full automate this via the CLI?
I can place the files into the /etc/asterisk/keys folder - Done
Can I then do the following via a script? :
- Import the cert
- Set it as default
- Assign the SSL to HTTPS. (typically done via SysAdmin)
Finally, when that cert expires (actually, before the cert expires) could I just copy a new set of cert files into the /etc/asterisk/keys folder and reboot the PBX to pickup the new cert?
Would any of this work?