diff --git a/Dockerfile b/Dockerfile index fcabc39..fcd3ae4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/README.md b/README.md index 2d950e9..2047708 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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` diff --git a/configuration/keystores/key.p12 b/configuration/keystores/key.p12 new file mode 100644 index 0000000..a9e1b84 Binary files /dev/null and b/configuration/keystores/key.p12 differ