aws / aws/chalice

Where to place certificates?

Open
#1,281 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
11.1k
Forks
1k
Avg merge
1d 22h
Merged PRs (30d)
2

Description

First I put the .cert file in the app root folder, worked fine on local run, did not work on deploy.

Then I added then vendor folder and put the .cert file there, worked fine on deploy, did not work on local run.

Now I have the file in both places and all works! 😝

Assuming this is not the way to do it, what am I missing?

Code to access the cert:

`pathname = join(dirname(realpath(__file__)), 'somecert.p12')`

Contributor guide

Open the contributing guide

Research direction

Start by tracing how the certificate file is packaged and located in local versus deployed Chalice execution, using the reported .cert file, vendor placement, and pathname expression as the reproduction details. Done means the issue identifies one supported certificate location or packaging procedure that works consistently in both environments.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
backend, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.