11Feature : External CA
22
33 @cloudflare
4- Scenario : Issue a certificate from an external CA with Cloudflare
4+ Scenario Outline : Issue a certificate from an external CA with Cloudflare
55 Given I create a Cloudflare connection as cloudflare
66 Then I memorize cloudflare with jq ".appConnection.id" as app_conn_id
77 Given I create a external ACME CA with the following config as ext_ca
@@ -93,9 +93,7 @@ Feature: External CA
9393 When I create certificate signing request as csr
9494 Then I add names to certificate signing request csr
9595 """
96- {
97- "COMMON_NAME": "localhost"
98- }
96+ <subject>
9997 """
10098 # Pebble has a strict rule to only takes SANs
10199 Then I add subject alternative name to certificate signing request csr
@@ -180,8 +178,13 @@ Feature: External CA
180178 ]
181179 """
182180
181+ Examples :
182+ | subject |
183+ | {"COMMON_NAME ": "localhost "} |
184+ | {} |
185+
183186 @dnsme
184- Scenario : Issue a certificate from an external CA with DNS Made Easy
187+ Scenario Outline : Issue a certificate from an external CA with DNS Made Easy
185188 Given I create a DNS Made Easy connection as dnsme
186189 Then I memorize dnsme with jq ".appConnection.id" as app_conn_id
187190 Given I create a external ACME CA with the following config as ext_ca
@@ -273,9 +276,7 @@ Feature: External CA
273276 When I create certificate signing request as csr
274277 Then I add names to certificate signing request csr
275278 """
276- {
277- "COMMON_NAME": "localhost"
278- }
279+ <subject>
279280 """
280281 # Pebble has a strict rule to only takes SANs
281282 Then I add subject alternative name to certificate signing request csr
@@ -362,4 +363,9 @@ Feature: External CA
362363 [
363364 "localhost"
364365 ]
365- """
366+ """
367+
368+ Examples :
369+ | subject |
370+ | {"COMMON_NAME ": "localhost "} |
371+ | {} |
0 commit comments