Skip to content

Commit

Permalink
- Mindre framtidig forvirring; vi konverterer til en PKCS#8 (pk8) pri…
Browse files Browse the repository at this point in the history
…vate key lagret på formatet PEM.
  • Loading branch information
rfc3092 committed Oct 28, 2024
1 parent 935f363 commit 9e91368
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
#
# Converts NAIS provided key.pem to PKCS#8 PEM format, which can be used by R2dbc.
#
openssl pkey -in /var/run/secrets/nais.io/sqlcertificate/key.pem -out /tmp/key.pk8
openssl pkey -in /var/run/secrets/nais.io/sqlcertificate/key.pem -out /tmp/pk8.pem
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ spring:
password: ${NAIS_DATABASE_TESTNAV_LEVENDE_ARBEIDSFORHOLD_TESTNAV_LEVENDE_ARBEIDSFORHOLD_PASSWORD}
properties:
sslCert: ${NAIS_DATABASE_TESTNAV_LEVENDE_ARBEIDSFORHOLD_TESTNAV_LEVENDE_ARBEIDSFORHOLD_SSLCERT}
sslKey: /tmp/key.pk8 # See Dockerfile and 99-dolly-convert-to-pk8.sh.
sslKey: /tmp/pk8.pem # See Dockerfile and 99-dolly-convert-to-pk8.sh.
sslMode: ${NAIS_DATABASE_TESTNAV_LEVENDE_ARBEIDSFORHOLD_TESTNAV_LEVENDE_ARBEIDSFORHOLD_SSLMODE}
sslRootCert: ${NAIS_DATABASE_TESTNAV_LEVENDE_ARBEIDSFORHOLD_TESTNAV_LEVENDE_ARBEIDSFORHOLD_SSLROOTCERT}
flyway:
Expand Down

0 comments on commit 9e91368

Please sign in to comment.