Skip to content

Custom SCEP proxy certificates intermittently failing to auto-renew #44111

@spalmesano0

Description

@spalmesano0

Fleet versions

  • Discovered: v4.83.0
  • Reproduced:

Web browser and operating system: N/A


💥  Actual behavior

customer-shackleton is experiencing an issue where some devices are failing to automatically renew a certificate deployed via a custom SCEP proxy. The cert validity period is set to 30 days, and the devices are online during the 15 days before expiration (when Fleet should be attempting to renew the certs). No errors surface in the Fleet UI.

🛠️ To fix

TODO

🧑‍💻  Steps to reproduce

These steps:

  • Have been confirmed to consistently lead to reproduction in multiple Fleet instances.
  • Describe the workflow that led to the error, but have not yet been reproduced in multiple Fleet instances.
  1. Deploy a certificate profile via Fleet's custom SCEP proxy with a 30 day validity period.
  2. Wait for a device to approach the 15-day renewal window.

🕯️ More info (optional)

  • A database query against host_mdm_managed_certificates for affected devices showed NULL values for not_valid_after, not_valid_before, and serial.
  • Manually re-sending the profile from the UI for individual devices works, and the cert is renewed.

Metadata

Metadata

Labels

#g-security-complianceSecurity & Compliance product group:releaseReady to write code. Scheduled in a release. See "Making changes" in handbook.P1Critical: Broken workflow (critical bug), potential vuln, new feature for immediate Fleet needbugSomething isn't working as documentedcustomer-shackleton

Type

No type

Projects

Status

🐣 In progress

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions