updated with openssl verify