Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Fix BDD test caused by strict SANs only rule of Pebble

Fang-Pen Lin95e2d7078161
diff --git a/backend/bdd/features/pki/acme/external-ca.feature b/backend/bdd/features/pki/acme/external-ca.feature
index 6b4123b918..26bfd84ad4 100644
--- a/backend/bdd/features/pki/acme/external-ca.feature
+++ b/backend/bdd/features/pki/acme/external-ca.feature
@@ -96,6 +96,13 @@ Feature: External CA
"COMMON_NAME": "localhost"
}
"""
+ # Pebble has a strict rule to only takes SANs
+ Then I add subject alternative name to certificate signing request csr
+ """
+ [
+ "localhost"
+ ]
+ """
And I create a RSA private key pair as cert_key
And I sign the certificate signing request csr with private key cert_key and output it as csr_pem in PEM format
And I submit the certificate signing request PEM csr_pem certificate order to the ACME server as order