Open
Description
Heya team!
We found through testing that there may be an issue with our self signed certs not populating the Serial
field in services/haproxy/storage/ssl_certificates
calls.
We think this bit of logic might have something to do with it but not sure exactly.
The RunTimeAPI calls seem to contain all the info
❯ curl -s --user xxxx:xxxx "http://127.0.0.1:xxxx/v3/services/haproxy/runtime/ssl_certs/ssl%2Fcerts%2Fapi.crt" | jq
{
"algorithm": "RSA2048",
"issuers": "/C=xx/ST=xx/L=xxxxx/O=Magic Provisioning/OU=CI/CN=api.glb",
"not_after": "xxxx",
"not_before": "xxx",
"serial": "723xxxx48", # <---- Serial present
"sha1_finger_print": xxxxx,
"status": "Used",
"storage_name": "ssl/certs/api.crt",
"subject": "/C=xx/ST=xx/L=xxxxx/O=Magic Provisioning/OU=CI/CN=api.glb"
}
❯ curl -s --user xxx:xxx "http://127.0.0.1:xxxx/v3/services/haproxy/storage/ssl_certificates/api.crt" | jq
{
"description": "managed SSL file",
"domains": "api.example",
"file": "ssl/certs/api.crt",
"issuers": "api.example",
"not_after": "xxxx",
"not_before": "xxxx",
"size": 2940,
"storage_name": "api.crt"
}
Metadata
Metadata
Assignees
Labels
No labels