How about saving the received cert as a PEM file and comparing the two? -----Original Message----- From: openssl-users [mailto:openssl-users-bounces@xxxxxxxxxxx] On Behalf Of Yan, Bob via openssl-users Sent: Tuesday, September 19, 2017 10:53 AM To: openssl-users@xxxxxxxxxxx Subject: Certificate Comparison Hi All, I need to compare a received certificate object with a PEM-formatted certificate stored at local file system. Is there any openssl library functions or an easy way to compare these two certificates? Thank you very much! Bob -- openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users -- openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users