Feature #25990
Add ability to query Certificate ID using API
Description
This request is in relation to automating the process of updating/changing SSL certificate via the v1.0 API, which is almost possible with the existing API.
API calls exist to list existing certs, import a new and delete certs, however I cannot see an option to query the name and/or ID of the currently active certificate as shown on the System/General/Certificate dropdown in the GUI.
Could the http://api.freenas.org/resources/system.html#id11 settings API be adjusted to include the option to query the currently active cert and set a new one as active.
As the current list certificates API includes the cert_name in the response and when you import a cert you assign a cert_name, it would likely make sense for the settings API to return the active cert_name and allow you to active a new one based on cert_name.
History
#1
Updated by Dru Lavigne over 3 years ago
- Assignee changed from Release Council to William Grzybowski
#2
Updated by William Grzybowski over 3 years ago
- Assignee changed from William Grzybowski to Nikola Gigic
- Target version set to 11.1
Hi Nikola. Is this something you can tackle?
I know have no experience with API but this is probably a good opportunity to learn. Let me know any questions you may have.
Thanks!
#3
Updated by Nikola Gigic over 3 years ago
- Status changed from Unscreened to Screened
#4
Updated by Nikola Gigic over 3 years ago
- Status changed from Screened to Needs Developer Review
- Assignee changed from Nikola Gigic to William Grzybowski
#5
Updated by William Grzybowski over 3 years ago
- Status changed from Needs Developer Review to Reviewed by Developer
- Assignee changed from William Grzybowski to Nikola Gigic
- Target version changed from 11.1 to 11.1-BETA1
#6
Updated by Nikola Gigic over 3 years ago
- Status changed from Reviewed by Developer to Ready For Release
#7
Updated by Dru Lavigne over 3 years ago
- Subject changed from Certificate/System API additions to Add ability to query Certificate ID using API
#8
Updated by Dru Lavigne about 3 years ago
- Status changed from Ready For Release to Resolved
#9
Updated by Joe Maloney about 3 years ago
- Needs QA changed from Yes to No
- QA Status deleted (
Not Tested)