A bash script for fetching and renewing Let's Encrypt (certbot) certificates for FileMaker Server running Linux (Ubuntu) and Mac OS
- Setup Ubuntu + install FMS
- Install
Homebrewonly on MacOS - Install
certbot - Download
wget https://raw.githubusercontent.com/jon91/FileMaker-LetsEncrypt-Ubuntu-MacOS/main/get-ssl_Ubuntu.shon Ubuntu - Download
wget https://raw.githubusercontent.com/jon91/FileMaker-LetsEncrypt-Ubuntu-MacOS/main/get-ssl_Mac.shon Mac - add execution
chmod ./get-ssl_platform.sh(platform is Ubuntu/Mac) - edit content of script
nano ./get-ssl_platform.sh(platform is Ubuntu/Mac) - run
sudo ./get-ssl_platform.sh(platform is Ubuntu/Mac)
- Download
wget https://raw.githubusercontent.com/jon91/FileMaker-LetsEncrypt-Ubuntu-MacOS/main/renew-cert.shon Ubuntu - Download
wget https://raw.githubusercontent.com/jon91/FileMaker-LetsEncrypt-Ubuntu-MacOS/main/renew-cert_Mac.shon Mac - add execution
chmod ./renew-cert_platform.sh(platform is Ubuntu/Mac) - edit content of script
nano ./renew-cert_platform.sh(only fms usr/pwd edit needed) (platform is Ubuntu/Mac) - run
sudo ./renew-cert_platform.sh(platform is Ubuntu/Mac)
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
Modified from https://github.com/jon91/FileMaker-LetsEncrypt-CentOS-7
--- Adapted for Ubuntu and MacOS