mirror of
https://github.com/stefanocasazza/ULib.git
synced 2025-09-28 19:05:55 +08:00
49 lines
2.1 KiB
INI
49 lines
2.1 KiB
INI
## ----------------------------------------------------------------------------------------------------------------------------------
|
|
## uclient - configuration parameters
|
|
## ----------------------------------------------------------------------------------------------------------------------------------
|
|
## SOCKET_NAME name file for the listening socket
|
|
##
|
|
## ENABLE_IPV6 flag to indicate use of ipv6
|
|
## SERVER host name or ip address for server
|
|
## PORT port number for the server
|
|
##
|
|
## RES_TIMEOUT timeout for response from server
|
|
##
|
|
## LOG_FILE locations for file log
|
|
## LOG_FILE_SZ memory size for file log
|
|
##
|
|
## CA_FILE locations of trusted CA certificates used in the verification
|
|
## CA_PATH locations of trusted CA certificates used in the verification
|
|
## PASSWORD password for private key of client
|
|
## CERT_FILE certificate of client
|
|
## KEY_FILE private key of client
|
|
## VERIFY_MODE mode of verification (SSL_VERIFY_NONE=0, SSL_VERIFY_PEER=1,
|
|
## SSL_VERIFY_FAIL_IF_NO_PEER_CERT=2, SSL_VERIFY_CLIENT_ONCE=4)
|
|
##
|
|
## FOLLOW_REDIRECTS if yes manage to automatically follow redirects from server
|
|
## USER if manage to follow redirects, in response to a HTTP_UNAUTHORISED response from the HTTP server: user
|
|
## PASSWORD_AUTH if manage to follow redirects, in response to a HTTP_UNAUTHORISED response from the HTTP server: password
|
|
## ----------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
Parameters {
|
|
|
|
# SERVER 10.30.1.131
|
|
# PORT 80
|
|
|
|
# CA_PATH /srv/userver/etc/CApath
|
|
# CA_FILE /srv/userver/etc/certificates/ServerCerts.crt.pem
|
|
# KEY_FILE /srv/userver/etc/certificates/auth-firenze.unirel.intranet.key.pem
|
|
# CERT_FILE /srv/userver/etc/certificates/auth-firenze.unirel.intranet.crt.pem
|
|
|
|
# VERIFY_MODE 0
|
|
# VERIFY_MODE 7
|
|
|
|
# RES_TIMEOUT 20
|
|
LOG_FILE /var/log/uclient-firenze.log
|
|
# LOG_FILE_SZ 1M
|
|
|
|
FOLLOW_REDIRECTS yes
|
|
## USER Aladdin
|
|
## PASSWORD_AUTH "open sesame"
|
|
}
|