(To avoid further cluttering - my own fault - the topic that I began about using ROSv7.22 ACME client with not-Let’s-Encrypt {I’m testing, fairly successfully so far, with Sectigo ACME as sold cheaply through GoGetSSL} Anyone using ACME with Sectigo, RapidSSL, or any other inexpensive Certificate service? - #35 by libove I’m creating this new thread to continue spin-off questions)
So, ROS 7.22 stable, /certificate/add-acme, Sectigo ACME, I get certificates, it works. And, in my present case, just by way of example, I assign that cert to /ip/service/www-ssl and to /interface/sstp-server/server.
The question is, when the ROS ACME client automatically renews the certificate (something that I can't easily test, as there is no ROS /certificate/acme-renew and the add-acme command does not allow requesting a specific certificate lifetime, so we get whatever the ACME server offers (presently, Sectigo ACME is giving me 90-day certificate validity), will ROS automatically replace, in any configuration e.g. the /interface/sstp-server/server and /ip/server .. www-ssel above, the certificate configuration with the just-ACME-renewed cert?
The ROS documentation page Certificates - RouterOS - MikroTik Documentation only says:
ACME client
The ACME client automates the acquisition and renewal of multiple TLS certificates via ACME.
To add a new ACME client via CLI, use the command /certificate add-acme.
Existing ACME clients appear in the Certificates view and are marked with the a (acme-manage) flag.
Domain names must resolve to the router, and TCP port 80 must be accessible from the WAN (HTTP-01 challange is used). For example.sn.mynetname.net domain name, DNS-01 challange is used.
Certificates are automatically renewed when 80% of their validity period has elapsed.
(I'm sending this as a suggestion to MikroTik through support, too):
If the answer to the above is, currently, that the administrtor must manually (or via script) assign the just-ACME-renewed cert to {wherever in the ROS configuration its predecessor certificate was used), then feature request:
Add an option to the ACME client to automatically update every place the certificate-being-renewed is used, or, alternatively, add options to add-acme (and to the also-needed renew-acme) e.g.:
/certificate/add-acme ... apply-new-cert-to= ROS_service{,other_ROS_service{,other_ROS_service}}