Stir-Shaken: Is c_rehash required when CRL file content changes?

Hello,

I’ve got a 22 Asterisk setup in which I’ve got a /etc/asterisk/stir_shake_crl directory holding a single CRL file (named foo.pem) and two symbolic links pointing to foo.pem, created by c_rehash.

This CRL is daily updated and its name is kept unchanged. When this file changes, I run module reload res_stir_shaken.so.

Do I also need to run c_rehash /etc/asterisk/stir_shake_crl when this foo.pem content changes ? From experience, it doesn’t seem so but I’m not too confident about this conclusion.

Best regards

If the file has actually changed then yes you need to run c_rehash again because the hash will be different.

Thanks for replying.