Skip to content

Commit

Permalink
Update services/121-service/src/payments/fsp-integration/nedbank/READ…
Browse files Browse the repository at this point in the history
…ME.md

Co-authored-by: Elwin Schmitz <eschmitz@redcross.nl>
  • Loading branch information
RubenGeo and elwinschmitz committed Jan 23, 2025
1 parent 668d160 commit 6ccaeb6
Showing 1 changed file with 5 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,13 @@ To enable loading certificate files via environment variables in the Azure App S

- 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.
- 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**:
3. **Set the Certificate-path**:

- Find the right certificate path:
- Azure converts .pfx files to .p12 files
- To find the correct on navigate to **App Service** > **Development Tools** > **SSH**
- Go to directory: `cd /var/ssl/private`
- Log files and file size `ls -lh`
- Look at the date and a distinct file size to select the right one
- The location of the certificate needs to be set in the environment variable:
- The location of the certificate needs to be set in the environment variable:

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

0 comments on commit 6ccaeb6

Please sign in to comment.