-
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
ssl api request error #10063
Comments
It looks like the certificate might be invalid. Can you use something like |
Looks like this is an issue with APISIX-dashboard. |
|
But this is an apisix API problem. |
@githubxubin Can you show the json response when you GET this SSL certificate to see all the data that was stored in etcd? |
You can repeat this with the API on version 2.15 of Apisix,tks |
Lines 802 to 803 in 7fb05f8
This is indeed a bug, APISIX Dashboard will parse the certificate and set Currently, APISIX support set multiple
And, the |
@jiangfucheng The second way looks better to me. Just to make sure I understand correctly, when you say "Add validaity_starts and validaity_ends schema for ssl to represent the expiration time of every certificate", will each cert have it's own validity fields? |
Yes. |
@jiangfucheng Would you like to take this up? |
Sure |
After this PR merged, I think this issue should be closed. |
Description
When I used the ssl API to add a certificate, I couldn't get the correct expiration time
my step:
1.curl api interface:
get the response:
2.back the board page :
3.When I uploaded the same certificate on the front-end page, it was displayed normally
Environment
apisix version
):2.15uname -a
):openresty -V
ornginx -V
):curl http://127.0.0.1:9090/v1/server_info
):luarocks --version
):The text was updated successfully, but these errors were encountered: