1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-10-12 20:27:27 +08:00
ULib/tests/examples/nocat/etc/uclient.conf
2015-01-23 17:24:36 +01:00

53 lines
2.0 KiB
Plaintext

## ----------------------------------------------------------------------------------------------------------------------------------
## uclient - configuration parameters
## ----------------------------------------------------------------------------------------------------------------------------------
## ENABLE_IPV6 flag to indicate use of ipv6
## SERVER host name or ip address for server
## PORT port number for the server
##
## PID_FILE write pid on file indicated
## RES_TIMEOUT timeout for response from server
##
## 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)
##
## LOG_FILE locations for file log
## LOG_FILE_SZ memory size for file log
##
## 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 {
## ENABLE_IPV6 no
## SERVER 10.30.1.131
## PORT 5280
## CA_PATH ../ulib/CA/CApath
## CA_FILE ../ulib/CA/cacert.pem
## PASSWORD caciucco
## KEY_FILE ../ulib/CA/server.key
## CERT_FILE ../ulib/CA/server.crt
## VERIFY_MODE 0
## VERIFY_MODE 7
PID_FILE /tmp/uclient.pid
LOG_FILE syslog
## LOG_FILE_SZ 1M
## FOLLOW_REDIRECTS yes
## USER Aladdin
## PASSWORD_AUTH "open sesame"
}