FNMT: AIA CA Issuer field pointing to PEM encoded cert
Categories
(CA Program :: CA Certificate Compliance, task)
Tracking
(Not tracked)
People
(Reporter: amaya.espinosa, Assigned: amaya.espinosa)
Details
(Whiteboard: [ca-compliance] [policy-failure])
Preliminary Incident Report
Summary
-
Incident description: The CA certificate for AC SERVIDORES SEGUROS TIPO2 G2R, referenced by the caIssuers URI in the Authority Information Access (AIA) extension of certificates issued by this CA, was being served in PEM format instead of the DER format required by RFC 5280.
On November 13, 2026, FNMT received an external notification by email reporting a potential non-compliance with RFC 5280, Section 4.2.2.1, concerning the certificate format served at the caIssuers URL.
Following receipt of the notification, we successfully reproduced the issue and observed that the same URL returned the certificate in PEM format in some cases and DER format in others.
Further investigation revealed that different nodes were serving the certificate in different formats, resulting in inconsistent responses depending on which node handled the request.
The hosted CA certificate file has been updated to DER format across all nodes, and the root cause investigation is ongoing.
-
Relevant policies: This incident has implications regarding compliance with the requirements defined in RFC 5280. In particular, Section 4.2.2.1 (Authority Information Access Extension – caIssuers)
...
Where the information is available via HTTP or FTP, accessLocation MUST be a uniformResourceIdentifier and the URI MUST point to either a single DER encoded certificate as specified in [RFC2585] or a collection of certificates in a BER or DER encoded "certs-only" CMS message as specified in [RFC2797].
- Source of incident disclosure: Third Party Reported.
The full incident report will be submitted as soon as possible, and no later than November 27, 2026.
Updated•12 days ago
|
| Assignee | ||
Comment 1•5 days ago
|
||
We are currently preparing the full incident report.
| Assignee | ||
Comment 2•2 days ago
|
||
Full Incident Report
Summary
-
CA Owner CCADB unique ID: A000274
-
Incident description: FNMT was notified by a third party that the caIssuers URI included in the Authority Information Access (AIA) extension of certificates issued by AC SERVIDORES SEGUROS TIPO2 G2R did not return the CA certificate in the DER-encoded format required by RFC 5280. The subsequent investigation revealed that the certificate was returned in either PEM or DER format, depending on the server node handling the request.
The affected URI was: http://www.cert.fnmt.es/certs/ACSS2G2R.crt -
Timeline summary:
- Non-compliance start date: April 9, 2026. The intermediate CA certificate was published at the AIA caIssuers URL.
- Non-compliance identified date: November 13, 2026
- Non-compliance end date: November 16, 2026
-
Relevant policies: RFC 5280 Section 4.2.2.1 (Authority Information Access Extension – caIssuers)
...
Where the information is available via HTTP or FTP, accessLocation MUST be a uniformResourceIdentifier and the URI MUST point to either a single DER encoded certificate as specified in [RFC2585] or a collection of certificates in a BER or DER encoded "certs-only" CMS message as specified in [RFC2797].
- Source of incident disclosure: Third Party Reported
Impact
- Total number of certificates: All end-entity certificates issued by AC SERVIDORES SEGUROS TIPO2 G2R during the non-compliance period. No certificates were misissued.
- Total number of "remaining valid" certificates: All affected end-entity certificates that remained valid as of November 16, 2026. No certificates were misissued. The affected CA certificate was replaced with the same certificate in DER format.
- Affected certificate types: OV certificates.
- Incident heuristic: Certificates issued by AC SERVIDORES SEGUROS TIPO2 G2R containing the affected AIA caIssuers URI: http://www.cert.fnmt.es/certs/ACSS2G2R.crt
- Was issuance stopped in response to this incident, and why or why not?: No. Certificate issuance was not stopped because the issue concerned the encoding format of the CA certificate published at the AIA caIssuers URI, rather than the issuance process or the cryptographic integrity of the issued certificates. The affected CA certificate was replaced with the same certificate in DER format. No changes to the issued end-user certificates were required.
- Analysis: The incident involved a non-compliant encoding format of the CA certificate retrieved through the AIA caIssuers URI.
- Additional considerations: No end-user certificates required replacement or reissuance as a result of this incident.
Timeline
All timestamps are in UTC:
- 2025-12-16: The intermediate CA certificate for AC SERVIDORES SEGUROS TIPO2 G2R was issued.
- 2026-04-09: The intermediate CA certificate was published at the AIA caIssuers URL.
- 2026-11-13, 20:34: A notification reporting a possible incident was received from a third party.
- 2026-11-14:
- 16:15: Receipt of the notification was acknowledged, and the investigation began.
- 18:15: The issue was reproduced, confirming that different production nodes returned the CA certificate in different formats: some returned PEM, while others returned DER.
- 18:25: The third party was informed that the issue was under investigation.
- 2026-11-16:
- 08:45: A review of the CA certificates published for all CAs was completed to verify that they were served in DER format.
- 09:14: The affected intermediate CA certificate was replaced with the same certificate in DER format.
- 09:20: All production nodes were verified to be serving the certificate in DER format.
- 18:13: A Bugzilla ticket was created to track the incident.
- 2026-11-24: FNMT completed the development of a script to verify the encoding of published CA issuer certificates across all production nodes and introduced an updated verification procedure.
Related Incidents
| Bug | Date | Description |
|---|---|---|
| 2004668 | 2025-12-08 | Similar issue related to incorrect encoding format in AIA CA Issuers URI |
| 2004699 | 2025-12-08 | Similar issue related to incorrect encoding format in AIA CA Issuers URI |
| 2004732 | 2025-12-08 | Similar issue related to incorrect encoding format in AIA CA Issuers URI |
| 2004845 | 2025-12-08 | Similar issue related to incorrect encoding format in AIA CA Issuers URI |
| 2005399 | 2025-12-10 | Similar issue related to incorrect encoding format in AIA CA Issuers URI |
| 2005567 | 2025-12-11 | Similar issue related to incorrect encoding format in AIA CA Issuers URI |
| 2041774 | 2026-05-22 | Similar issue related to incorrect encoding format in AIA CA Issuers URI |
Root Cause Analysis
Contributing Factor #1: The publication procedure did not specify the required certificate encoding format
- Description: FNMT handles both DER- and PEM-encoded certificates as part of its daily operations. However, the established procedure for publishing CA issuer certificates did not explicitly require verification of the DER encoding when a new CA issuer certificate referenced in an AIA extension was uploaded to the website.
- Timeline:
- November 13, 2026 20:34: FNMT was notified by a third party of a possible incident.
- November 14, 2026 18:15: FNMT reproduced the issue and confirmed that different production nodes returned the certificate in different formats (PEM or DER).
- November 24, 2026: FNMT completed the development of a script to verify the encoding of published CA certificates across all production nodes and introduced an updated verification procedure.
- Detection: The procedure was reviewed to identify weaknesses. The certificate was validated before publication, but its encoding was not verified on all pool servers after upload.
- Interaction with other factors: The procedure was followed, but it did not cover this verification.
- Root Cause Analysis methodology used: Top-down analysis.
Contributing Factor #2: Insufficient compliance controls
- Description: Although CA issuer certificates must be published in DER format, the responses from the production nodes were inconsistent: some returned the certificate in PEM format, while others returned it in DER format. Since the server node handling a request may vary, it was difficult for the compliance team to verify that the RFC 5280 requirements for responses from AIA caIssuers endpoints were consistently met. Certificates must be validated on all servers, regardless of whether they are active or not.
- Timeline:
- November 13, 2026, 20:34: FNMT was notified by a third party of a possible incident.
- November 14, 2026, 18:15: FNMT reproduced the issue and confirmed that production nodes returned different responses.
- November 16, 2026, 08:45: FNMT completed a review of the CA certificates published for all CAs to verify that they were served in DER format.
- November 16, 2026, 09:20: FNMT verified that all production nodes were serving the affected certificate in DER format.
- Detection: The issue was initially reported by a third party, and the lack of systematic verification across all production nodes was identified during the investigation.
- Interaction with other factors: The procedure for publishing CA issuer certificates was not sufficient to guarantee compliance across all production nodes.
- Root Cause Analysis methodology used: Top-down analysis.
Lessons Learned
- What went well: Rapid replacement of the certificate.
- What didn’t go well: Lack of verification of the caIssuers certificate published at the AIA URL after upload.
- Where we got lucky: The issue was detected by a third party.
- Additional: N/A
Action Items
| Action Item | Kind | Corresponding Root Cause(s) | Evaluation Criteria | Due Date | Status |
|---|---|---|---|---|---|
| Review CA issuer certificates to confirm they are published in DER format | Detect | Contributing Factor #1 | Review report generated | 2026-11-16 | Completed |
| Replace the PEM-encoded certificate with the same certificate in DER format | Mitigate | Contributing Factor #1 | The certificate can be verified at http://www.cert.fnmt.es/certs/ACSS2G2R.crt | 2026-11-16 | Completed |
| Update the CA issuer certificate publication procedure to include format validation | Prevent | Contributing Factor #1 | Publication procedure updated to include format validation | 2026-11-24 | Completed |
| Create a script to check the encoding of CA issuer certificates across all production nodes | Detect | Contributing Factor #2 | Report generated | 2026-11-24 | Completed |
Description
•