I have a question.
I'm  making a kind of vpn solution which use mutual TLS communication;

I'm a beginner in TLS or SSL communcation.



I'm testing mutual TLS with cyaSSL example  server.c and client.c .

Below  is file loading order in server.c

1.SSL_CTX_load_verify_locations (loading client certification file)
2.SSL_CTX_use_certificate_file
3.SSL_CTX_use_PrivateKey_file

In thie situation.

Unlike cyaSSL example(server.c)
if the server  have a client who have different certification file,
In what order the server should accept client?

I'm planning to make a cerification file and private key file  for all client. and we are planning to distribute  that file to each client.

I'm not sure my question is logically correct.

2

(1 replies, posted in General Inquiries)

Is there any example or document about mutual TLS communication?. I can't find .