Finish infra for sending raw ACME req, add tests for nonce

This commit is contained in:
Fang-Pen Lin
2025-11-12 09:12:02 -08:00
parent 44fc551076
commit 2a4b122348
6 changed files with 71 additions and 9 deletions
@@ -3,7 +3,6 @@ Feature: Challenge
Scenario: Validate challenge
Given I have an ACME cert profile as "acme_profile"
When I have an ACME client connecting to {BASE_URL}/api/v1/pki/acme/profiles/{acme_profile.id}/directory
# # TODO: make it I have an account already instead?
Then I register a new ACME account with email fangpen@infisical.com and EAB key id "{acme_profile.eab_kid}" with secret "{acme_profile.eab_secret}" as acme_account
When I create certificate signing request as csr
Then I add names to certificate signing request csr
@@ -20,4 +19,3 @@ Feature: Challenge
Then I tell ACME server that challenge is ready to be verified
Then I poll and finalize the ACME order order as finalized_order
Then the value finalized_order.body with jq ".status" should be equal to "valid"
# TODO: check the fullchain pem content of the order