Qore HttpServerUtil Module Reference  0.9.11
HttpServer::HttpListenerOptionInfo hashdecl Reference

options for new listeners More...

Public Attributes

*Qore::SSLCertificate cert
 SSL cert.
 
*code errorlogger
 errorlogger error logger closure
 
int family = AF_UNSPEC
 network family
 
bool get_remote_certs = False
 ask for remote client certificates (causes browsers to prompt for a client cert on new connections) More...
 
*hash< string, hash< HttpHandlerConfigInfo > > handler_info
 handler info
 
*Qore::SSLPrivateKey key
 SSL key.
 
*code logger
 logger info logger closure
 
*string name
 the name of the listener
 
*string node
 the node value for the bind
 
*softstring service
 the service value for the bind
 
bool ssl_accept_all_certs = True
 set to False to use openssl CA validation for client certificates More...
 
int ssl_verify_flags = 0
 SSL certificate verification constants; see SSL Verification Mode Constants. More...
 
*code stopc
 stopc stop notification closure
 

Detailed Description

options for new listeners

Member Data Documentation

◆ get_remote_certs

bool HttpServer::HttpListenerOptionInfo::get_remote_certs = False

ask for remote client certificates (causes browsers to prompt for a client cert on new connections)

ignored if no SSL certificate provided, otherwise SSL_VERIFY_PEER is automatically added to ssl_verify_flags

◆ ssl_accept_all_certs

bool HttpServer::HttpListenerOptionInfo::ssl_accept_all_certs = True

set to False to use openssl CA validation for client certificates

client certificates are requested if ssl_verify_flags contains SSL_VERIFY_PEER

◆ ssl_verify_flags

int HttpServer::HttpListenerOptionInfo::ssl_verify_flags = 0

SSL certificate verification constants; see SSL Verification Mode Constants.

ignored if no SSL certificate provided