SecurityProxy.setCertificateUses()
Method
Declaration
SecurityProxysetCertificateUses
(
int httpsCertificateIndex,
int routersToRoutersCertificateIndex,
int daemonToClientsCertificateIndex)
throws ConfigurationException
Purpose
Assign certificates to each valid use for this daemon.
Remarks
Each daemon component that supports the SecurityProxy interface uses certificates in up to three ways. This method assigns one of the component’s four possible certificates to each use that the component supports.
Supply a certificate index in each parameter position. This method ignores parameters that correspond to invalid uses for the daemon.
Component daemons can store up to four certificates. In Java, indexing is zero-based; in Rendezvous browser administration interfaces, certificate indexing is one-based. So to specify certificate #1, supply zero; to specify certificate #4, supply 3.
This method returns the SecurityProxy object, so programs can conveniently chain additional method calls to the return value.
Parameter |
Description |
|
Supply the index of the certificate to use for HTTPS communication (for example, with browsers or with Java configuration programs). |
|
Supply the index of the certificate to use for TLS communication with other routing daemons. |
|
Supply the index of the certificate to use for TLS communications with client transports. |
See Also
For the corresponding browser pages, see Certificate Uses in