[solved] Enable certificate renewal-hook in nethserver

Yes, it should do the job: the certificate changes only when renewed.

You can obtain the same behavior by adding a script inside the certificate-update event, which is fired every time the certificate changes.
Example: /etc/e-smith/events/certificate-update/S80push2router

#!/bin/bash

scp /etc/letsencrypt/live/<fqdn>/{fullchain.pem,privkey.pem} root@router:/etc/<your_file>/
3 Likes