-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
bug: upload certs by apisix dashboard,the apisix pod will report error #11249
Comments
am having the similar problem :- |
No,i just find that when i import cert file from dashboard, the json data stored in etcd contains "validity_start" and "validity_end".I guess is the version of dashboard and etcd not suitable,but i still not find any solution. |
In this Pull Request (#10323) , they recognized that there was a break in compatibility with the Apisix Dashboard project. There is a open issue about this apache/apisix-dashboard#2915 |
I have a same. |
it's ok to upload cert by apisix-admin api, for example: |
yes,Through apisix /apisix/admin/ssls put certificate successfully, through the dashbord still does not work, apisix version 3.9.0, compared the results found that apisix dashbord upload field contains:
but, api hasn't "validity_start" { |
I added quick fix patch for apisix-dashboard. apache/apisix-dashboard#2915 (comment) |
通过apisix-dashboard 页面导入证书(泛域名证书),会保找不到对应域名SNI, 将证书内容复制出来,通过 http://127.0.0.1:9180/apisix/admin/ssls/1 导入,可以正常使用 |
Bump! Also having this issue. Any updates on this? |
This issue fixed in apisix-dashboard master branch. Please go to build project and make apisix-dashboard package.
Please remove validity keys in payload |
Current Behavior
config_etcd.lua:858: failed to fetch data from etcd: failed to check item data of [/apisix/ssls] err:additional properties forbidden, found validity_end, etcd key: /apisix/ssls, context: ngx.timer
Expected Behavior
No response
Error Logs
No response
Steps to Reproduce
1.restart apisix
2.delete certs and upload again
Environment
all resources are deployed by helm
apisix: apache/apisix:3.9.1-debian
apisix-etcd: docker.io/bitnami/etcd:3.5.7-debian-11-r14
apisix-dashboard: apache/apisix-dashboard:3.0.0-alpine
The text was updated successfully, but these errors were encountered: