Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nedbank cert readme.md #6413

Merged
merged 6 commits into from
Jan 23, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Certificate Handling in Azure App Service

To enable loading certificate files via environment variables in the Azure App Service, follow these steps:

1. **Enable Certificate Loading**:

- Set the `WEBSITE_LOAD_CERTIFICATES=*` environment variable in the Azure App Service configuration.

2. **Upload the Public Key Certificate**:

- In the Azure Portal, navigate to the instance's **App Service** > **Settings** > **Certificates**.
- Press 'Bring your own certificates (.pfx)'
- Upload the public key certificate (`.pfx`-file) and name it.
- This will generate a "thumbprint" which will be used as the filename for the certificate.

3. **Set the Certificate-path**:

- The location of the certificate needs to be set in the environment variable:

```dotenv
NEDBANK_CERTIFICATE_PATH=/var/ssl/private/<thumbprint>.p12
```
Loading