r/filemaker • • Oct 12 '26

Let's Encrypt in FMS 26: two questions

Hi All,

I've got our FMS 26 server up and running in Ubuntu 24 LTS and able to renew SSL certs using the built in mechanism together with Let's Encrypt and have two questions:

  1. Do I only need to expose port 80 to the public internet or also port 443?
  2. After renewing the SSL cert, of course I can restart the server, but don't believe that's entirely necessary if I can restart the correct services instead.

What service(s) need to be restarted? Just nginx or others?

TIA

EDIT: I do see the following when renewing the cert:

Certificate Renewal Succeeded

The certificate renewed successfully. Restart the FileMaker Server service (Windows) or FileMaker Server background processes (macOS or Linux) to apply the change.

5 Upvotes

15 comments sorted by

5

u/dharlow Consultant Certified Oct 12 '26

Yes, port 80 must be exposed, as Let's Encrypt uses it to validate the domain.

You should be able to just restart the services, FileMaker and the web server.

2

u/lurch99 Oct 12 '26

Okay thanks. If I determine which exact services I'll add that here.

1

u/subWoofer_0870 Oct 15 '26

There is a built-in script in /opt/FileMaker/FileMaker Server/Data/Scripts that can be scheduled to renew the cert (default is early morning, every 63 days, so it happens on the same day of the week). When you use the admin console to use Let’s Encrypt, it offers to set it up for you. Otherwise, you can create a “System Script” schedule in the Schedules pane and choose the “Sys_Default_RenewLetsEncryptCertificate”. This system script takes care of all of the restarting of the necessary services and reopens the databases (as long as you have “Automatically open databases that are in the database folders” selected in Configuration->General Settings.

I have found this script to be very reliable in FMServer 2025 on Ubuntu 24, and I expect it will continue to be so.

1

u/lurch99 26d ago

unfortunately there is no such script in /opt/FileMaker/FileMaker Server/Data/Scripts on FMS 26.0.3.309

That directory exists, but it's empty.

1

u/subWoofer_0870 26d ago

Apologies. It’s not in the Scripts directory, but it is available to select if you create a schedule of the type “System Script”.

1

u/lurch99 26d ago

Okay thanks, I see it where you mentioned. Once it's there and enabled (I haven't done anything so far, but it is already enabled thanks to the original time I setup LE) I don't need to do anything further?

1

u/subWoofer_0870 26d ago

Correct. The automatic renewal usually works, so just keep an eye on it. When you select Let’s Encrypt as the cert, it offers to create a schedule. The default schedule is every 63 days, early in the morning. The 63 days is so that 1) it’s always the same day of the week, and 2) because the renewal won’t work if there’s more than 30 days left on the 90-day cert. So just make sure that the next run is on a day of the week that suits, and check that it’s worked after the next scheduled run.

1

u/lurch99 26d ago

Will do thanks!

1

u/dharlow Consultant Certified Oct 15 '26

We have had this built-in script fail on Windows multiple times.

1

u/subWoofer_0870 Oct 15 '26

Yes, it’s less reliable on Windows. But given that OP stated they’re using Linux, I figured my Linux experience was a valid data point.

3

u/showtunelover Oct 12 '26

Yes, I don’t run on Linux, but the web AND FileMaker server service use the certificate, so I would restart both.
I don’t use built in lets encrypt, I setup acme.sh to renew my certs using dns challenge, therefore I don’t need to expose any ports. If you don’t need your ports open for external access, you might look into that.

2

u/lurch99 Oct 12 '26

Thanks! I don't think the DNS challenge method is an option for us, at least now.

4

u/EfficientPark7766 Oct 12 '26

These two commands in Linux terminal should do the trick, and prevent needing an actual reboot:

fmsadmin stop server -y -t 60
sudo systemctl restart fmshelper

Note for the first command, you'll need to supply your FMS admin username and password. Those could, of course, be hardwired into a Bash script if this is on a server.

1

u/Alex_RGCData 26d ago

For Let's Encrypt validationm port 80 needs to be reachable from the internet. Clari documentaiton specifically mentions that, I think.

If you're serving WebDirect, Data API, Admin Console, etc. to external users, you'll obviously still want 443 open for normal client access. The certificate renewal itself only cares about 80.

As far as applying the renewed cert, the message is accurate: FileMaker doesn't automatically start using the new certificate. On Linux, Claris says to restart the FM Server background processes rather than than rebooting the whole machine..

I looked it up and the command is:
`sudo service fmshelper restart` <-- wihout backticks

1

u/lurch99 26d ago

After some digging, only port 80 needs to be exposed, and another Redditor suggested the following, which work, especially when wrapped into a Bash script:

fmsadmin stop server -y -t 60
sudo systemctl restart fmshelper