Honor --cert-digest-algo when recreating a cert.