check if public key matches private key openssl