A bash script for fetching and renewing Let's Encrypt (certbot) certificates for FileMaker Server running Linux (CentOS7).
- Setup CentOS + install FMS (as of now, its 19.2.1-23)
- Install
certbot
- download
wget https://raw.githubusercontent.com/jon91/FileMaker-LetsEncrypt-CentOS-7/main/get-ssl.sh
- add execution
chmod ./get-ssl.sh
- edit content of script
nano ./get-ssl.sh
- run
sudo ./get-ssl.sh
- download
wget https://raw.githubusercontent.com/jon91/FileMaker-LetsEncrypt-CentOS-7/main/renew-cert.sh
- add execution
chmod ./renew-cert.sh
- edit content of script
nano ./renew-cert.sh
(only fms usr/pwd edit needed) - run
sudo ./renew-cert.sh
- I had an issue in stopping/starting the server afterwards, so try
# Stop FM service
sudo service fmshelper stop
# wait 15 seconds
# Start FM service
sudo service fmshelper start
Original Script (Mac): https://github.com/BlueFeatherGroup/FileMaker-LetsEncrypt-Mac
Modified with help from: https://the.fmsoup.org/t/use-of-free-letsencrypt-ssl-certificates-with-fms/1019/7
--- changed serverKey path