Reset return code to success if pubkey read from cert.