mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-22 23:02:34 -04:00
HAProxy - Load balancer
When 'ocsp-update' is enabled for a given certificate, we need to insert the certificate_ocsp member of this certificate in the OCSP update tree as well as the already existing OCSP response tree. For such an entry to be created, the certificate needs to contain an "OCSP URI" field, and we also need to know the certificate's issuer, that is used to build the OCSP_CERTID. When no OCSP response is known for a given certificate, an empty certificate_ocsp object gets created so that it can be inserted in the ocsp update tree. The entry is inserted on the first spot of the update tree since its expire time is 0. Then whenever the update task is started, it will try to get responses for those certificates first. In order for the update process to work, we also need to store some information relative to the main certificate into the certificate_ocsp structure. This avoids having to keep a reference to a ckch in an ocsp tree entry. This patch adds a reference to the certificate chain as well as the ocsp issuer that might have been filled during init into the certificate_ocsp object. It also gets the ocsp uri at this time since it is contained in the server's certificate. We only take the first uri that might be contained in the certificate though. Those fields are only filled when ocsp auto update is enabled for the concerned certificate. |
||
|---|---|---|
| .github | ||
| addons | ||
| admin | ||
| dev | ||
| doc | ||
| examples | ||
| include | ||
| reg-tests | ||
| scripts | ||
| src | ||
| tests | ||
| .cirrus.yml | ||
| .gitattributes | ||
| .gitignore | ||
| .mailmap | ||
| .travis.yml | ||
| BRANCHES | ||
| CHANGELOG | ||
| CONTRIBUTING | ||
| INSTALL | ||
| LICENSE | ||
| MAINTAINERS | ||
| Makefile | ||
| README | ||
| SUBVERS | ||
| VERDATE | ||
| VERSION | ||
The HAProxy documentation has been split into a number of different files for ease of use. Please refer to the following files depending on what you're looking for : - INSTALL for instructions on how to build and install HAProxy - BRANCHES to understand the project's life cycle and what version to use - LICENSE for the project's license - CONTRIBUTING for the process to follow to submit contributions The more detailed documentation is located into the doc/ directory : - doc/intro.txt for a quick introduction on HAProxy - doc/configuration.txt for the configuration's reference manual - doc/lua.txt for the Lua's reference manual - doc/SPOE.txt for how to use the SPOE engine - doc/network-namespaces.txt for how to use network namespaces under Linux - doc/management.txt for the management guide - doc/regression-testing.txt for how to use the regression testing suite - doc/peers.txt for the peers protocol reference - doc/coding-style.txt for how to adopt HAProxy's coding style - doc/internals for developer-specific documentation (not all up to date)