Imported Upstream version 2.7.1
This commit is contained in:
parent
a1fa151fc7
commit
0121794af9
451 changed files with 41339 additions and 10887 deletions
35
docs/man/upscli_add_host_cert.txt
Normal file
35
docs/man/upscli_add_host_cert.txt
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
UPSCLI_ADD_HOST_CERT(3)
|
||||
=======================
|
||||
|
||||
NAME
|
||||
----
|
||||
|
||||
upscli_add_host_cert - Register a security rule for an host.
|
||||
|
||||
SYNOPSIS
|
||||
--------
|
||||
|
||||
#include <upsclient.h>
|
||||
|
||||
void upscli_add_host_cert(const char* hostname, const char* certname,
|
||||
int certverify, int forcessl);
|
||||
|
||||
DESCRIPTION
|
||||
-----------
|
||||
The *upscli_add_host_cert()* function register a security rule associated
|
||||
to the 'hostname'. All connections to this host use this rule.
|
||||
|
||||
The rule is composed of the certificate name 'certname 'expected for
|
||||
the host, 'certverify' if the certificate must be validated for the host
|
||||
and 'forcessl' if a secured connection must be used to connect to the host.
|
||||
|
||||
|
||||
RETURN VALUE
|
||||
------------
|
||||
|
||||
*upscli_add_host_cert()* returns no value.
|
||||
|
||||
SEE ALSO
|
||||
--------
|
||||
linkman:upscli_init[3], linkman:upscli_connect[3], linkman:upscli_ssl[3],
|
||||
linkman:upscli_strerror[3], linkman:upscli_upserror[3]
|
||||
Loading…
Add table
Add a link
Reference in a new issue