Avoid certificates from being regenerated during restarts