-
Hi, the client sample supplied uses unsecure configuration, that is flag QUIC_CREDENTIAL_FLAG_NO_CERTIFICATE_VALIDATION. triggers event QUIC_CONNECTION_EVENT_PEER_CERTIFICATE_RECEIVED, Can you shed some light on how it should be done? An updated sample would be highly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Generally, client should validate server's certificate with the default behavior automatically, so long as you don't turn off validation. You only need to mess with that other stuff if you want to do something special. You also mention "mutual authentication" which generally means client sends a certificate too, and then the server validates it. Are you looking to do that too? |
Beta Was this translation helpful? Give feedback.
Well, by definition self-signed certs aren't valid/trusted to another machine. So you'd have to disable validation to connect.