table of contents
TSSSLSECRET(3ts) | Apache Traffic Server | TSSSLSECRET(3ts) |
NAME¶
TSSslSecret - TSSslSecret API function
TSSSLSECRETSET¶
Set the data associated with a secret name specified in the config.
Synopsis¶
#include <ts/ts.h>
Description¶
TSSslSecretSet() updates the current secret map. Generally the secret name corresponds to the name of a certificate or a key. Future creation of SSL_CTX objects that use the secret will use the newly specified data. It can be useful to call this function from the TS_LIFECYCLE_SSL_SECRET_HOOK.
TSSSLSECRETGET¶
Get the data associated with a secret name specified in the config.
Synopsis¶
#include <ts/ts.h>
Description¶
TSSslSecretGet() fetches the named secret from the current secret map. TS_ERROR is returned if there is no entry for the secret.
TSSSLSECRETUPDATE¶
Tell Traffic Server to update the SSL objects dependent on the secret.
Synopsis¶
#include <ts/ts.h>
Description¶
TSSslSecretUpdate() causes Traffic Server to update the SSL objects that depend on the specified secret. This enables a plugin to look for multiple secret updates and make calls to TSSslSecretSet() to update the secret table. Then once everything is updated call TSSslSecretUpdate() to update the SSL objects with a consistent updated set of secrets.
COPYRIGHT¶
2023, dev@trafficserver.apache.org
June 22, 2023 | 9.2 |