Forum Discussion
yunan_haris
Sep 27, 2022Altocumulus
check status of the ssl certificate on f5 using rest api
greetings all, is there any way to check the ssl certificate status, validation, expiration date using rest api on the bigip? thank you
- Sep 29, 2022
forget to add your cert expiry output will be like
curl -sku admin:admin https://bigip_hostname/mgmt/tm/sys/crypto/cert/ | jq '.items[] | {certname: .name, CertExpiry: .apiRawValues.expiration}' { "certname": "/Common/abc_host_certJuly2022", "CertExpiry": "Jul 14 17:11:26 2021 GMT" }
Samir
MVP
forget to add your cert expiry output will be like
curl -sku admin:admin https://bigip_hostname/mgmt/tm/sys/crypto/cert/ | jq '.items[] | {certname: .name, CertExpiry: .apiRawValues.expiration}'
{
"certname": "/Common/abc_host_certJuly2022",
"CertExpiry": "Jul 14 17:11:26 2021 GMT"
}
yunan_haris
Oct 11, 2022Altocumulus
hi Samir
thank you, it works
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects