I have trouble verifying my selfsigned certificat via openssl on another server that is using the smtp server to send out emails.
Can someone help.

I tried to verify it with this help:
Verify: SSL Certificate Under OpenSSL

at first i got error :
20 X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY: unable to get local issuer certificate

the issuer certificate could not be found: this occurs if the issuer certificate of an untrusted certificate cannot be found.

i copied the ca file in /opt/zimbra/conf/ca/ca.pem onto the server and tried to verify with openssl verify -CAfile file cerificat.pem

now i get the error:
7 X509_V_ERR_CERT_SIGNATURE_FAILURE: certificate signature failure

the signature of the certificate is invalid.

can someone give me a hint how to get this done?