Verify that certificate and key belong togeather

OpenSSL will not be very helpful if you accidentally mismatch certificate and private key.  This adds a check to make sure that they match.