GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  UPSCLI_ADD_HOST_CERT (3)

.ds Aq ’

NAME

upscli_add_host_cert - Register a security rule for an host.

CONTENTS

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

upscli_init(3), upscli_connect(3), upscli_ssl(3), upscli_strerror(3), upscli_upserror(3)

Search for    or go to Top of page |  Section 3 |  Main Index


Network UPS Tools 2&.7&.3&. UPSCLI_ADD_HOST_CERT (3) 03/02/2016

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.