(certbot 2.6.0)
I ran (on macOS Monterey)
# certbot certonly -domain myhost.ddnss.de
and it put the pem files nicely in /etc/letsencrypt. I then offered these certificates to FM and they now can be seen as registered into FileMaker (19 is the version).
It was a bit problematic to reach the /etc/letsencrypt directories/symbolic links from within the filemaker admin session. Maybe because of access permissions of the actual files. So I copied them into the administrating user's home directory in a certs subdirectory from where the installer picked them up. I'm not understanding right now how FM admins its certs.
So my idea was to try to fetch the certs using the --webroot option.
fm:~ root# certbot certonly --webroot -w /Library/FileMaker\ Server/HTTPServer/htdocs -d myhost.ddnss.de
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Certificate not yet due for renewal
You have an existing certificate that has exactly the same domains or certificate name you requested and isn't close to expiry.
(ref: /etc/letsencrypt/renewal/myhost.ddnss.de.conf)
What would you like to do?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1: Keep the existing certificate for now
2: Renew & replace the certificate (may be subject to CA rate limits)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Select the appropriate number [1-2] then [enter] (press 'c' to cancel): c
Operation canceled. You may re-run the client.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
fm:~ root#
fm:~ root# exit
Despite from not wanting to override a yet issued cert, how else could I change the behaviour
such that I put the certs into webroot myself and if, where are they put there? In a subdirectory?
Using the --dry-run option with the above command didn't give a hint where the certs were about to be put.