set the signature algorithm again in the cert