Skip to content

Commit

Permalink
squash
Browse files Browse the repository at this point in the history
  • Loading branch information
kalbfled committed Jan 19, 2023
1 parent 2fb066b commit 22e51b2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lambda_functions/va_profile/va_profile_opt_in_out_lambda.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,9 @@
logger.debug(". . . Retrieved the ALB private key from SSM Parameter Store.")

# Include all VA CA certificates in the default SSL environment.
ssl_context = ssl.create_default_context(capath=CA_PATH)
# ssl_context = ssl.create_default_context(capath=CA_PATH)
# TODO - This is a workaround. The capath approach doesn't seem to load anything.
ssl_context = ssl.create_default_context(cafile=f"{CA_PATH}VA-Internal-S2-ICA11.cer")

with NamedTemporaryFile() as f:
f.write(acm_response["Certificate"].encode())
Expand Down

0 comments on commit 22e51b2

Please sign in to comment.