From 7c477ef0274a69f83174154cadc090d346c85d2e Mon Sep 17 00:00:00 2001 From: Fang-Pen Lin Date: Thu, 20 Nov 2025 17:05:43 -0800 Subject: [PATCH] Fix internal no CN test --- backend/bdd/features/pki/acme/internal-ca.feature | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/backend/bdd/features/pki/acme/internal-ca.feature b/backend/bdd/features/pki/acme/internal-ca.feature index 6bd6ec4e9..9db4328d2 100644 --- a/backend/bdd/features/pki/acme/internal-ca.feature +++ b/backend/bdd/features/pki/acme/internal-ca.feature @@ -24,4 +24,10 @@ Feature: Internal CA And I poll and finalize the ACME order order as finalized_order And the value finalized_order.body with jq ".status" should be equal to "valid" And I parse the full-chain certificate from order finalized_order as cert - And the value cert with jq ".subject.common_name" should be equal to "localhost" + And the value cert with jq ".subject.common_name" should be equal to null + And the value cert with jq "[.extensions.subjectAltName.general_names.[].value] | sort" should be equal to json + """ + [ + "localhost" + ] + """ \ No newline at end of file