Going to test what you posted.
Question.
Since FreePBX generates its own pem file when you import, how do you handle the renew?
A post hook as mentioned in another post? Some other method?
Okay, tried this and things do not want to work right. What @dicko posted works but…
I am unable to assign the certificate to Apache in Sysadmin.
So I poked a bit. The linked files are there and the fwconsole
command to import works.
You can see the new .pem
file was created
So i deleted it from Certificate manager (it only deleted the pem
file as it should)
Then tried to use the “Import Locally” button, and nope…
Edit:
I deleted all certs, but left the self signed CA itself.
I then imported the certbot cert.
Then I tried to make it default in the GUI and got this error.
So i did it from CLI and it worked.
But I am still unable to use the certificate for Apache, even though it is the only certificate.