This is an automated email from the ASF dual-hosted git repository.
monkeydluffy pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git
from 3a48d1788 fix(ci): stability of consul test cases (#10857)
add fa3f220eb feat: add ocsp-stapling plugin (#10817)
No new revisions were added by this update.
Summary of changes:
.licenserc.yaml | 2 +
apisix/cli/ngx_tpl.lua | 4 +
apisix/init.lua | 2 +
apisix/plugins/ocsp-stapling.lua | 220 +++++++
apisix/ssl.lua | 31 +
apisix/ssl/router/radixtree_sni.lua | 1 +
conf/config-default.yaml | 2 +
t/APISIX.pm | 1 +
.../certs/ocsp/ecc_good.crt | 18 +
t/certs/ocsp/ecc_good.key | 8 +
t/certs/ocsp/index.txt | 4 +
t/certs/{apisix.crt => ocsp/rsa_good.crt} | 23 +
t/certs/ocsp/rsa_good.key | 27 +
.../apisix.crt => t/certs/ocsp/rsa_revoked.crt | 23 +
t/certs/ocsp/rsa_revoked.key | 27 +
.../apisix.crt => t/certs/ocsp/rsa_unknown.crt | 23 +
t/certs/ocsp/rsa_unknown.key | 27 +
t/certs/ocsp/signer.crt | 22 +
t/certs/ocsp/signer.key | 27 +
t/plugin/ocsp-stapling.t | 676 +++++++++++++++++++++
20 files changed, 1168 insertions(+)
create mode 100644 apisix/plugins/ocsp-stapling.lua
copy conf/cert/ssl_PLACE_HOLDER.crt => t/certs/ocsp/ecc_good.crt (60%)
create mode 100644 t/certs/ocsp/ecc_good.key
create mode 100644 t/certs/ocsp/index.txt
copy t/certs/{apisix.crt => ocsp/rsa_good.crt} (54%)
create mode 100644 t/certs/ocsp/rsa_good.key
copy benchmark/fake-apisix/conf/cert/apisix.crt =>
t/certs/ocsp/rsa_revoked.crt (54%)
create mode 100644 t/certs/ocsp/rsa_revoked.key
copy benchmark/fake-apisix/conf/cert/apisix.crt =>
t/certs/ocsp/rsa_unknown.crt (54%)
create mode 100644 t/certs/ocsp/rsa_unknown.key
create mode 100644 t/certs/ocsp/signer.crt
create mode 100644 t/certs/ocsp/signer.key
create mode 100644 t/plugin/ocsp-stapling.t