TSReturnCode TSSslClientCertUpdate(const char *path); TSReturnCode TSSslServerCertUpdate(const char *path);
Currently, changes to certificates(server and client) in the Traffic Server has to be done via a configuration reload. We have seen requests for a cert hot reload feature and the APIs proposed here provides an interface for plugins to update certificates used in Traffic Server. TSSslClientCertUpdate and TSSslServerCertUpdate will only handle updated files and return TS_SUCCESS on success updating/replacing certs in use. If files are added, the configuration should also be updated and reloaded. I've put up an initial PR (with an example plugin) for the implementation: https://github.com/dyrock/trafficserver/pull/7 -- [image: work-eat-sleep--400090.jpg] *Zeyuan Yu* Software Development Engineer, Verizon Media Group m: 217.369.5086