Open topic with navigation

TIBCO Rendezvous® 8.8.0

# SecurityProxy.setCertificateUses()

Method

## Declaration

    SecurityProxy setCertificateUses(
        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
`httpsCertificateIndex` | Supply the index of the certificate to use for HTTPS communication (for example, with browsers or with Java configuration programs).
`routersToRoutersCertificateIndex` | Supply the index of the certificate to use for TLS communication with other routing daemons.
`daemonToClientsCertificateIndex` | Supply the index of the certificate to use for TLS communications with client transports.

## See Also

SecurityProxy

SecurityProxy.getValidUses()

For the corresponding browser pages, see Certificate Uses in TIBCO Rendezvous Administration

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO Rendezvous®

Copyright © 1997-2025. Cloud Software Group, Inc. All Rights Reserved.