basic check of certificates in protocol operations