mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-10 18:29:07 +00:00
Add external ca cases for absent CN
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
Feature: External CA
|
Feature: External CA
|
||||||
|
|
||||||
@cloudflare
|
@cloudflare
|
||||||
Scenario: Issue a certificate from an external CA with Cloudflare
|
Scenario Outline: Issue a certificate from an external CA with Cloudflare
|
||||||
Given I create a Cloudflare connection as cloudflare
|
Given I create a Cloudflare connection as cloudflare
|
||||||
Then I memorize cloudflare with jq ".appConnection.id" as app_conn_id
|
Then I memorize cloudflare with jq ".appConnection.id" as app_conn_id
|
||||||
Given I create a external ACME CA with the following config as ext_ca
|
Given I create a external ACME CA with the following config as ext_ca
|
||||||
@@ -93,9 +93,7 @@ Feature: External CA
|
|||||||
When I create certificate signing request as csr
|
When I create certificate signing request as csr
|
||||||
Then I add names to certificate signing request csr
|
Then I add names to certificate signing request csr
|
||||||
"""
|
"""
|
||||||
{
|
<subject>
|
||||||
"COMMON_NAME": "localhost"
|
|
||||||
}
|
|
||||||
"""
|
"""
|
||||||
# Pebble has a strict rule to only takes SANs
|
# Pebble has a strict rule to only takes SANs
|
||||||
Then I add subject alternative name to certificate signing request csr
|
Then I add subject alternative name to certificate signing request csr
|
||||||
@@ -180,8 +178,13 @@ Feature: External CA
|
|||||||
]
|
]
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
Examples:
|
||||||
|
| subject |
|
||||||
|
| {"COMMON_NAME": "localhost"} |
|
||||||
|
| {} |
|
||||||
|
|
||||||
@dnsme
|
@dnsme
|
||||||
Scenario: Issue a certificate from an external CA with DNS Made Easy
|
Scenario Outline: Issue a certificate from an external CA with DNS Made Easy
|
||||||
Given I create a DNS Made Easy connection as dnsme
|
Given I create a DNS Made Easy connection as dnsme
|
||||||
Then I memorize dnsme with jq ".appConnection.id" as app_conn_id
|
Then I memorize dnsme with jq ".appConnection.id" as app_conn_id
|
||||||
Given I create a external ACME CA with the following config as ext_ca
|
Given I create a external ACME CA with the following config as ext_ca
|
||||||
@@ -273,9 +276,7 @@ Feature: External CA
|
|||||||
When I create certificate signing request as csr
|
When I create certificate signing request as csr
|
||||||
Then I add names to certificate signing request csr
|
Then I add names to certificate signing request csr
|
||||||
"""
|
"""
|
||||||
{
|
<subject>
|
||||||
"COMMON_NAME": "localhost"
|
|
||||||
}
|
|
||||||
"""
|
"""
|
||||||
# Pebble has a strict rule to only takes SANs
|
# Pebble has a strict rule to only takes SANs
|
||||||
Then I add subject alternative name to certificate signing request csr
|
Then I add subject alternative name to certificate signing request csr
|
||||||
@@ -363,3 +364,8 @@ Feature: External CA
|
|||||||
"localhost"
|
"localhost"
|
||||||
]
|
]
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
Examples:
|
||||||
|
| subject |
|
||||||
|
| {"COMMON_NAME": "localhost"} |
|
||||||
|
| {} |
|
||||||
|
|||||||
Reference in New Issue
Block a user