Verification of certificates in electronic format