[solved] Enable certificate renewal-hook in nethserver

I have a final follow up question. I want to use the same script, which copies my certificates to opnsense to copy them also to nsdc on the dc nethserver. Can please any of you assist me? As Giacomo had described the letsencrypt files are /etc/letsencrypt/live//{fullchain.pem,privkey.pem} right?

The nsdc container uses /var/lib/machines/nsdc/var/lib/samba/private/tls/{key.pem,cert.pem} is that correct?

So can I just copy privkey.pem -> key.pem and fullchain.pem ->cert.pem? And finally I’ll have to systemctl -M nsdc restart samba for a samba restart on nsdc. Will that do it? Or am I missing something?