github.com/Venafi/vcert/v5@v5.10.2/aruba/features/firefly/firefly.feature (about) 1 @FIREFLY 2 Feature: Enroll certificate using Firefly 3 4 As a user 5 I want to enroll certificates with Firefly platform 6 7 Background: 8 Given the default aruba exit timeout is 180 seconds 9 10 Scenario: Simple enroll with Firefly 11 When I enroll a random certificate with defined platform Firefly with -key-type ecdsa -key-curve p256 -csr service -no-prompt 12 Then it should request certificate 13 14 Scenario: Enroll Firefly using local 15 When I enroll a random certificate with defined platform Firefly with -key-type ecdsa -key-curve p256 -csr local -no-prompt 16 Then the output should contain "unexpected --csr option provided: local; specify one of the following options: 'file:<filename>', or 'service'" 17 18 Scenario: Enroll using CSR with Firefly 19 Given I generate random CSR with -no-prompt -csr-file csr.pem -key-file k.pem 20 And it should write CSR to the file named "csr.pem" 21 And it should write private key to the file named "k.pem" 22 And I enroll certificate with defined platform Firefly with -csr file:csr.pem 23 Then it should request certificate 24 25 Scenario: Enroll using CSR with Firefly with CN flag 26 Given I generate random CSR with -no-prompt -csr-file csr.pem -key-file k.pem 27 And it should write CSR to the file named "csr.pem" 28 And it should write private key to the file named "k.pem" 29 And I enroll a random certificate with defined platform Firefly with -csr file:csr.pem 30 Then the output should contain "the '--cn' option cannot be used in --csr file: provided mode"