Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
rvelaVenafi committed Sep 29, 2021
1 parent 3870814 commit 6451677
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_e2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def test_tpp_token_enroll(self):
def test_tpp_token_enroll_with_service_generated_csr(self):
cn = random_word(10) + ".venafi.example.com"
try:
_, _, _, _, cert_guid = enroll(self.tpp_conn, self.tpp_zone, cn=cn, password="Foo.Bar.123!",
_, _, _, _, cert_guid = enroll(self.tpp_conn, self.tpp_zone, cn=cn, password="FooBarPass123",
service_generated_csr=True)
cert_config = self.tpp_conn._get_certificate_details(cert_guid)
self.assertEqual(cert_config["Origin"], "Venafi VCert-Python")
Expand Down
2 changes: 1 addition & 1 deletion vcert/connection_tpp_abstract.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def retrieve_cert(self, cert_request):
IncludeChain=True)

if cert_request.csr_origin == CSR_ORIGIN_SERVICE:
retrieve_request['IncludePrivateKey'] = 'true'
retrieve_request['IncludePrivateKey'] = cert_request.include_private_key
if cert_request.key_password:
retrieve_request['Password'] = cert_request.key_password

Expand Down

0 comments on commit 6451677

Please sign in to comment.