Specify multiple certs for s_server and s_client

Michael Richardson mcr at sandelman.ca
Mon Jun 8 01:45:55 UTC 2020


John Jiang <john.sha.jiang at gmail.com> wrote:
    > Hi, Can I specify multiple certificates for tools s_server and
    > s_client?  I need to check the certificate selection with
    > certificate_authorities.

    > And it looks s_server has no option for certificate_authorities,
    > however s_client has -requestCAfile for that extension.

I believe that s_client and s_server are really intended as testing tools,
and if you are getting into more complex situations, you should copy
the example, simplify it, and then instrument the callbacks to do
the certificate checking that you need.

--
]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        |    IoT architect   [
]     mcr at sandelman.ca  http://www.sandelman.ca/        |   ruby on rails    [



More information about the openssl-users mailing list