Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

Commit

Permalink
dcm4che/dcm4chee-arc-light#2733 : Provide sample key/certficate as PK…
Browse files Browse the repository at this point in the history
…CS12 keystore
  • Loading branch information
vrindanayak committed Aug 24, 2020
1 parent 8159f52 commit 45fcb31
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ COPY themes $JBOSS_HOME/themes

ENV LDAP_URL=ldap://ldap:389 \
LDAP_BASE_DN=dc=dcm4che,dc=org \
KEYSTORE=/opt/keycloak/standalone/configuration/keystores/key.jks \
KEYSTORE_TYPE=JKS \
KEYSTORE=/opt/keycloak/standalone/configuration/keystores/key.p12 \
KEYSTORE_TYPE=PKCS12 \
TRUSTSTORE=/opt/keycloak/standalone/configuration/keystores/cacerts.jks \
KEYCLOAK_IMPORT=/opt/keycloak/standalone/configuration/dcm4che-realm.json

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ Optional, default is `admin`.
#### `KEYSTORE`

Path to keystore file with private key and certificate for HTTPS (default is
`/opt/keycloak/standalone/configuration/keystore/key.jks`, with sample key + certificate:
`/opt/keycloak/standalone/configuration/keystore/key.p12`, with sample key + certificate:
```
Subject - CN=PACS_J4C,O=J4CARE,C=AT
Issuer - CN=IHE Europe CA, O=IHE Europe, C=FR
Expand Down Expand Up @@ -158,7 +158,7 @@ Password used to protect the private key in the keystore specified by `KEYSTORE`

#### `KEYSTORE_TYPE`

Type (`JKS` or `PKCS12`) of the keystore specified by `KEYSTORE` (default is `JKS`).
Type (`JKS` or `PKCS12`) of the keystore specified by `KEYSTORE` (default is `PKCS12`).

#### `TRUSTSTORE`

Expand Down
Binary file added configuration/keystores/key.p12
Binary file not shown.

0 comments on commit 45fcb31

Please sign in to comment.