-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: apisix support ocsp stapling or not #10309
Comments
Yeah, APISIX is powed by nginx, the ocsp stapling and crl is supported of course |
can tell me which version support this and how to enable it in apisix |
you could follow like this: https://support.globalsign.com/ssl/ssl-certificates-installation/nginx-enable-ocsp-stapling |
Co-work with @chee003 apixis's nginx.conf
Which is similar with nginx-ingress's configures:
While in the latest nginx-ingress it has ocsp/ocsp-stapling handling inside A temp solution may using |
maybe need the |
Outstanding jobs, 👍 |
i open the ocsp plugins,i can find the plugins has loaded from log. when i post a request ,there are errors occur,the log like this: 2024/02/27 05:54:07 [warn] 53#53: 6 [lua] plugin.lua:205: load(): new plugins: {"ocsp-stapling":true}, context: init_worker_by_lua i want to ask if this error is my certificate not correct? how i can solve this and if there are some way to config the ocsp url like nginx conf do ? use the properties "ssl_ocsp_responder" |
it seem that you don't configure 'ocsp_stapling' field in ssl resource, try this:
and the doc in here. |
i do the post and the error not resolv 2024/02/27 08:42:13 [info] 54#54: 122947 [lua] ocsp-stapling.lua:101: set_ocsp_resp(): not ocsp resp cache found, fetch from ocsp responder, context: ssl_certificate_by_lua, client: 10.192.8.136, server: 0.0.0.0:9443 this is my certificate is not correct?
|
Is this a self signed certificate? try combine you current certificate with your CA certificate like:
|
it's a self signed certificate,the error still exist.i thought apisix can't get the ocsp url from the certificate |
if you signed by private key directly like this, this plugins may not work:
to make it works, the output certificate needs to signed by CA certificate like:
and combine x509.crt and CA.crt. hope this will be helped. |
3q,i'll try like this |
thank you so much, when i use a valid cetificate,the plugins ocsp is ok |
3q @yuweizzz i used |
Seems this OCSP stapling is already verified, great thanks to @yuweizzz this feature helped us a lot. |
hello,@yuweizzz ,i have another issue to ask for your help. |
I afraid not, they need to work with mtls, current design doesn't contains this feature. |
apisix already support mtls,the new ocsp feature has been provided in release 3.9.0,the next need to do is to extend the ocsp option like nginx. |
Description
apisix support ocsp stapling or not. and is support crl list?
The text was updated successfully, but these errors were encountered: