TLS_VERIFY (ENUM)
- TYPE TLS_VERIFY(
TLS_VERIFY_NONE
TLS_VERIFY_NONE 16#01
TLS_VERIFY_PEER 16#02
TLS_VERIFY_FAIL_IF_NO_PEER_CERT 16#04 Only for for Server methods. Forces the connection to be terminated if the client does not provide a certificate. Add this to TLS_VERIFY_PERR
TLS_VERIFY_CLIENT_ONCE 16#08 Only for for Server methods. Request the client certificate only whithin the initial handshake. While renegortiation no certificate is requested from the client. Add this to TLS_VERIFY_PERR
- Attributes:
qualified_only- InOut:
Name
Initial
Comment
TLS_VERIFY_NONE
16#1
Don’t perform a peer verification (Default FOR server)
TLS_VERIFY_PEER
16#2
Perform a peer verification (Default for client). For Server: Send a client certificate request. If a client certificate is available verify this certificate.
TLS_VERIFY_FAIL_IF_NO_PEER_CERT
16#4
Only for for Server methods. Forces the connection to be terminated if the client does not provide a certificate. Add this to TLS_VERIFY_PERR
TLS_VERIFY_CLIENT_ONCE
16#8
Only for for Server methods. Request the client certificate only whithin the initial handshake. While renegortiation no certificate is requested from the client. Add this to TLS_VERIFY_PERR