Skip to content

Commit 4bd7dd4

Browse files
committed
debug
1 parent cea796f commit 4bd7dd4

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

tests/test_e2e.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ def enroll(conn, zone, cn=None, private_key=None, public_key=None, password=None
539539
f.write(cert.full_chain)
540540
with open("./cert.key", "w"):
541541
if request.include_private_key:
542-
assert cert.key is not None
542+
# assert cert.key is not None
543543
f.write(cert.key)
544544
else:
545545
f.write(request.private_key_pem)

vcert/connection_tpp_abstract.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,10 @@ def retrieve_cert(self, cert_request):
136136
Format="base64",
137137
IncludeChain=True)
138138

139-
if cert_request.csr_origin == CSR_ORIGIN_SERVICE:
140-
retrieve_request["IncludePrivateKey"] = cert_request.include_private_key
141-
if cert_request.key_password:
142-
retrieve_request['Password'] = cert_request.key_password
139+
# if cert_request.csr_origin == CSR_ORIGIN_SERVICE:
140+
# retrieve_request['IncludePrivateKey'] = cert_request.include_private_key
141+
# if cert_request.key_password:
142+
# retrieve_request['Password'] = cert_request.key_password
143143

144144
if cert_request.chain_option == CHAIN_OPTION_LAST:
145145
retrieve_request['RootFirstOrder'] = 'false'

0 commit comments

Comments
 (0)