Openssl Check Key Against Certificate