After an SSL certificate has been created, verify its attributes before attempting to import or export the certificate to create your secure connection. If the certificate on the host is not the same after it is imported into its peer, the secure connection will not be allowed.
To verify a self-signed certificate: