is there any working example of how to use verify_hostname in command line?

Edward Tsang etsang at splunk.com
Thu Mar 3 23:09:29 UTC 2022


Hi,

I am having a very  hard time to get the command line working.
Basically just trying to verify hostname via opoenssl command line:
openssl s_client  -CApath . -CAfile ./cacert.pem -verify_hostname
example.com

All I get is "unknown option -verify_hostname
usage: s_client args"

Have tried combinations of that and check out of doc... really not helping.

Openssl using:
openssl version
LibreSSL 2.8.3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20220303/813da265/attachment.htm>


More information about the openssl-users mailing list