diff options
| author | Lee Clagett <code@leeclagett.com> | 2019-03-17 16:11:42 -0400 |
|---|---|---|
| committer | Lee Clagett <code@leeclagett.com> | 2019-04-07 00:44:37 -0400 |
| commit | 96d602ac84d856c26a9065bfccbe2b98237db271 (patch) | |
| tree | dc14b5287d364f6e2b1bfd223e800400333f72ba /src/common | |
| parent | 21eb1b0725717ad013d3e2b00fbfc3b84ad04699 (diff) | |
| download | monzero-core-96d602ac84d856c26a9065bfccbe2b98237db271.tar.gz monzero-core-96d602ac84d856c26a9065bfccbe2b98237db271.tar.xz monzero-core-96d602ac84d856c26a9065bfccbe2b98237db271.zip | |
Add `verify_fail_if_no_cert` option for proper client authentication
Using `verify_peer` on server side requests a certificate from the
client. If no certificate is provided, the server silently accepts the
connection and rejects if the client sends an unexpected certificate.
Adding `verify_fail_if_no_cert` has no affect on client and for server
requires that the peer sends a certificate or fails the handshake. This
is the desired behavior when the user specifies a fingerprint or CA file.
Diffstat (limited to 'src/common')
0 files changed, 0 insertions, 0 deletions
