HARICA: Expired OCSP responses served
Categories
(CA Program :: CA Certificate Compliance, task)
Tracking
(Not tracked)
People
(Reporter: public-incident-reports, Assigned: public-incident-reports, NeedInfo)
Details
(Whiteboard: [ca-compliance] [ocsp-failure] )
Preliminary Incident Report
Summary
-
Incident description:
On 2026-11-20 15:33 UTC, HARICA received a Certificate Problem Report from a community member about problematic OCSP responses served athttp://ocsp-tls.harica.grfor subscriber certificates issued by two Subordinate CAs.The report identified two related issues:
- OCSP responses were served after their
nextUpdatetime had passed. The reporter provided four responses which were served between 1 hour 7 minutes and 18 hours 20 minutes afternextUpdate. - Updated OCSP responses were not available at least eight hours before the
nextUpdateof the previous response, as BR Section 4.9.9 requires. In two of the reported cases, the previous response was still being served 25 minutes and 1 hour 4 minutes before itsnextUpdate.
Our initial investigation found consecutive failures in the OCSP response generation process on 2026-11-18 and 2026-11-19. During emergency software updates, the running OCSP response generation processes ended prematurely. As a result, new responses were produced only after the required update interval had already elapsed. No generation failures have been detected since 2026-11-20.
The reported responses were served from our CDN with
Cache-Control: max-age=86400, public, no-transform, must-revalidateand anExpiresheader equal tonextUpdate. We are also investigating how this caching configuration contributed to responses being served afternextUpdate. - OCSP responses were served after their
-
Containment status:
The OCSP response generation failure is contained, and generation has operated without issues since 2026-11-20. However, we have not yet fully confirmed that the CDN caching configuration cannot serve a response beyond itsnextUpdate, so we consider the incident ongoing until that review is complete. -
Relevant policies:
- Section 4.9.9 of the TLS Baseline Requirements
- Section 4.9.10 of the HARICA CP/CPS version 4.14
-
Source of incident disclosure: Third Party Reported
Next steps
We are continuing the identification of events that led to this incident, the Root Cause Analysis and the respective remediation plan. We will post a Full Incident Report no later than 2026-12-04.
Updated•11 days ago
|
Full Incident Report
Summary
-
CA Owner CCADB unique ID: A000035
-
Incident description: On 2026-11-20 15:33 UTC, HARICA received a Certificate Problem Report from a community member showing that OCSP responses served at http://ocsp-tls.harica.gr for subscriber certificates issued by two Subordinate CAs:
(a) were still being served after their nextUpdate (four responses, between 1 hour 7 minutes and 18 hours 20 minutes after nextUpdate) and
(b) had not been replaced by updated responses at least eight hours before nextUpdate, as required by Section 4.9.9 of the TLS Baseline Requirements.
Our investigation confirmed the report.
HARICA pre-generates OCSP responses with a validity of three days, using a service that is scheduled to run daily. From 2026-11-16 this service ran with unusually low performance, so the run of 2026-11-17 did not start, and the run of 2026-11-18 was terminated before completion by a server restart that applied critical security updates. Generation started again on 2026-11-19 20:04 UTC and completed on 2026-11-20 09:12 UTC. In the meantime, responses last generated on 2026-11-16 reached their nextUpdate without having been replaced. Because responses are served with a fixed Cache-Control: max-age=86400, the CDN could also keep serving a cached response after its nextUpdate. Our internal monitoring did not raise an alert, because its threshold followed the four-day maximum update interval of the BRs and not the three-day validity of the responses. No certificates were mis-issued.
-
Timeline summary:
- Non-compliance start date: 2026-11-19
- Non-compliance identified date: 2026-11-20
- Non-compliance end date: 2026-11-20
-
Relevant policies: Section 4.9.9 of the TLS Baseline Requirements and Section 4.9.10 of the HARICA CP/CPS version 4.14.
-
Source of incident disclosure: Third Party Reported
Impact
- Total number of certificates: N/A
- Total number of "remaining valid" certificates: N/A
- Affected certificate types: N/A
- Incident heuristic: N/A. No certificates were mis-issued. The issue affected the OCSP responses of unexpired subscriber certificates that include the http://ocsp-tls.harica.gr OCSP URI in the AIA extension.
- Was issuance stopped in response to this incident, and why or why not?: No. The incident concerned the timely update of OCSP responses for already issued certificates. Certificate issuance and the correctness of issued certificates were not affected, so stopping issuance would not have reduced the impact.
- Analysis: N/A
- Additional considerations: N/A
Timeline
All times are in UTC unless said otherwise:
- 2026-11-16 04:55: OCSP responses generation service starts updating responses with unusually low performance.
- 2026-11-17 04:55: OCSP responses generation service fails to start because the previous OCSP responses generation process was already running.
- 2026-11-17 14:41: Successful completion of the OCSP responses generation service that started on 2026-11-16 04:55.
- 2026-11-18 04:55: OCSP responses generation service starts updating responses, experiencing again unusually low performance.
- 2026-11-18 20:04: Restart of the server to apply critical security updates. The OCSP responses generation service execution is disrupted.2026-11-19: The OCSP responses that were last updated on the 16th start expiring. NON-COMPLIANCE BEGINS
- 2026-11-19 20:04: OCSP responses generation service starts again.
- 2026-11-20 09:12: Successful completion of the OCSP responses generation service with the usual performance. NON-COMPLIANCE ENDS
- 2026-11-20 onwards: OCSP responses generation service executes with normal performance.
- 2026-11-20 15:53: CPR received notifying about the issue. Escalation to the Compliance Team and verification of the violation, according to the Incident Management processes.2026-11-23 17:53: Submission of the Preliminary Incident Report to Bugzilla.
- 2026-11-24 to 2026-12-04: Gathering of facts, detailed Root Cause Analysis, Lessons Learned and Remediation Action Plan; compilation of the Full Incident Report (this report).
Related Incidents
| Bug | Date | Description |
|---|---|---|
| 1878106 | 2024-02-01 | HARICA: Anomaly in OCSP services after CA software upgrade. Previous HARICA incident on pre-generated OCSP responses: after a CA software upgrade, responses for newly issued certificates had a non-compliant nextUpdate and were not refreshed in time. The root cause differs (software defect), but both incidents exposed gaps in monitoring the freshness of the OCSP responses actually served. |
| 2087789 | 2026-10-31 | HARICA: 2 truncated CRLs published. Recent HARICA incident on the publication of revocation information. The root cause differs (filesystem out of space), but in both cases an administrative or maintenance operation on the CA infrastructure interfered with a scheduled revocation-information process. |
| 2048370 | 2026-06-17 | Sectigo: Delay in some OCSP response signing due to application restart loop. Repeated restarts of the OCSP signing application created a signing and refresh backlog and no alert was raised. Similar pattern of interrupted OCSP response generation that was identified through external reports; in that case the impact was on responses for newly issued certificates. |
| 1946927 | 2025-02-08 | Sectigo: Intermittent OCSP unauthorized responses for certificates older than 15 minutes. Out-of-date OCSP status information was served; CDN caching was initially suspected, and the root cause was database replication lag without alerting. Related as regards serving stale OCSP data and missing alerts. |
| 1771238 | 2022-05-25 | Certainly: Serving Expired OCSP Responses. Older than two years, but closely related: the process that refreshes OCSP responses for existing certificates had stopped without raising an alert, expired responses were served, and monitoring did not cover the freshness of refreshed responses. |
Root Cause Analysis
Contributing Factor #1: Degraded performance of the OCSP responses generation service
- Description: HARICA pre-generates OCSP responses through a service that is scheduled to run daily (04:55 UTC). Starting with the run of 2026-11-16, the service executed with unusually low performance: that run needed almost 34 hours, and the run of 2026-11-18 was still in progress more than 15 hours after it started (for comparison, the run of 2026-11-19, with the usual performance, took about 13 hours). The cause has not been conclusively established; our preliminary analysis indicates that the service was competing for Java threads while the application server’s thread pool was running low. Performance has been normal since the server restart of 2026-11-18.
- Timeline: 2026-11-16 04:55: first run with degraded performance. 2026-11-17 04:55: the scheduled run does not start because the previous run is still in progress. 2026-11-17 14:41: the previous run completes. 2026-11-18 04:55: the next run starts, again with low performance. 2026-11-18 20:04: server restart (Contributing Factor #2); performance is normal from the next run onwards.
- Detection: Identified during the investigation that followed the Certificate Problem Report. It was not detected earlier because no alert was raised for the long-running run or for the run that did not start; the existing monitoring examined only the age of the OCSP responses (Contributing Factor #4).
- Interaction with other factors: The slow runs and the missed run meant that responses were refreshed less often than the daily schedule assumes, which reduced the margin provided by the three-day validity. They also meant that a run was still in progress when the server was restarted (Contributing Factor #2).
- Root Cause Analysis methodology used: 5 Whys
Contributing Factor #2: Interruption of the generation process by a server restart
- Description: On 2026-11-18 20:04 UTC the server was restarted to apply critical security updates while a generation run was in progress. The run was terminated before it completed and was not resumed after the restart; the service started again on 2026-11-19 20:04 UTC. The maintenance procedure did not include a check for running compliance-related processes before a reboot, and the generation process does not resume an interrupted run.
- Timeline: 2026-11-18 20:04: server restart; the running generation process is terminated. 2026-11-19 20:04: the service starts again. 2026-11-20 09:12: the run completes successfully.
- Detection: Identified during the investigation that followed the Certificate Problem Report. The interruption was not noticed at the time of the restart and no alert was raised afterwards (Contributing Factor #4).
- Interaction with other factors: On its own, a one-day gap in generation would have been absorbed by the three-day validity of the responses. Combined with the delays of Contributing Factor #1, it left the responses last generated on 2026-11-16 without replacement until after their
nextUpdate. - Root Cause Analysis methodology used: 5 Whys
Contributing Factor #3: Fixed cache lifetime for OCSP responses
- Description: OCSP responses are served through a CDN with the HTTP headers
Cache-Control: max-age=86400, public, no-transform, must-revalidateand anExpiresheader equal tonextUpdate. Themax-ageis a fixed value attached to all OCSP responses, regardless of the time remaining untilnextUpdate. HTTP caches givemax-ageprecedence overExpires, so a response fetched with less than 24 hours of remaining validity can be served from cache after itsnextUpdate, and after an updated response has become available at the origin. - Timeline: The fixed
max-ageis the standing behavior of the OCSP responder. It only had an effect during this incident, when responses with less than 24 hours of remaining validity were still being served. - Detection: Identified from the HTTP headers of the responses included in the Certificate Problem Report and confirmed by the review of the CDN caching configuration announced in the Preliminary Incident Report. It was not detected earlier because, in normal operation, responses are refreshed daily and have more than 24 hours of remaining validity when the CDN fetches them.
- Interaction with other factors: This factor does not cause non-compliance by itself. Combined with Contributing Factors #1 and #2, it allowed responses to be served after their
nextUpdateand delayed the delivery of the updated responses to relying parties. - Root Cause Analysis methodology used: 5 Whys
Contributing Factor #4: Internal monitoring threshold not aligned with the validity of the responses
- Description: HARICA’s internal monitoring checked that OCSP responses had been updated within four days, following the maximum update interval of the BRs. The responses have a validity of three days, so a response reached the eight-hour limit of BR Section 4.9.9, and then its
nextUpdate, before the monitoring threshold was reached. The monitoring could therefore not provide an early warning. - Timeline: The four-day threshold was in place throughout the incident; no alert was raised between 2026-11-16 and 2026-11-20.
- Detection: Identified during the investigation, when examining why the internal monitoring had not raised an alert. It was not detected earlier because the check passes in normal operation.
- Interaction with other factors: It allowed the conditions created by Contributing Factors #1 and #2 to develop for four days without detection; the non-compliance was identified only through the third-party report.
- Root Cause Analysis methodology used: 5 Whys
Lessons Learned
- What went well: Once the Certificate Problem Report was received, it was escalated to the Compliance Team and the violation was verified, following our Incident Management processes. The OCSP responses generation service had already completed a full run with the usual performance (2026-11-20 09:12 UTC) before the report was received, and no generation failures have been detected since.
- What didn’t go well: The issue was not detected by the internal monitoring because it was set to the BR 4-day rule and the validity of the actual response was 3 days. The degraded performance of the generation service from 2026-11-16 and the missed run of 2026-11-17 did not raise any alert. A server restart for critical security updates was performed while a generation run was in progress, and the interrupted run was not resumed. As a result, the non-compliance was identified through a third-party report and not by our own controls.
- Where we got lucky: The server restart of 2026-11-18, which interrupted the generation run, also restored the performance of the generation service, whose degradation had not been noticed. The impact was also significantly low because HARICA has removed OCSP support in TLS Certificates since March 2026 but a few exceptions.
- Additional: N/A
Action Items
| Action Item | Kind | Corresponding Root Cause(s) | Evaluation Criteria | Due Date | Status |
|---|---|---|---|---|---|
| Increase the OCSP response validity period to 1 week | Mitigate | Contributing Factors #1, #2, #3 | OCSP responses served at http://ocsp-tls.harica.gr have a validity interval of 7 days (publicly verifiable). | 2026-12-18 | Ongoing |
| Make the max-age header dynamic (EJBCA feature request) | Mitigate | Contributing Factor #3 | The max-age of served OCSP responses does not exceed the time remaining until nextUpdate (publicly verifiable in the HTTP headers). |
2027-02-26 | Ongoing |
| Update operational procedures to ensure execution of compliance-related processes upon maintenance activities that entail system reboots | Prevent | Contributing Factor #2 | Updated procedure approved and communicated to the system administrators; maintenance records show the check before reboots. | 2027-01-15 | Ongoing |
| External/independent, sample-based OCSP response monitoring and early detection (before the violation). | Detect / Mitigate | Contributing Factors #1, #4 | Monitoring in production that queries the public OCSP endpoint for a sample of certificates and alerts before a response is within 8 hours of its nextUpdate; alert verified by test. |
2027-01-29 | Ongoing |
Appendix
Not applicable; the issue does not affect certificates.
Description
•