diff --git a/docs/advanced-topics/working-with-enterprise/README.md b/docs/advanced-topics/working-with-enterprise/README.md index 0d67bf65..59f62456 100644 --- a/docs/advanced-topics/working-with-enterprise/README.md +++ b/docs/advanced-topics/working-with-enterprise/README.md @@ -41,6 +41,28 @@ You'll need to update the following settings in the `pom.xml` file: quay.io/alfresco/alfresco-content-repository ``` +In case the desired Platform version is 6.x, you'll also need to deal with the Keystore settings, by either: + +* Removing the keystore settings: + +``` + +``` + +or + +* Adding the Keystore creation to the existing Dockerfile: + +``` +#Add Keystore +ARG CERT_DNAME="CN=Alfresco Repository, OU=Unknown, O=Alfresco Software Ltd., L=Maidenhead, ST=UK, C=GB" +ARG CERT_VALIDITY=36525 +ARG KEYSTORE_PASSWORD=mp6yc0UD9e +ARG KEYSTORE_METADATA_PASSWORD=oKIWzVdEdA +RUN mkdir -p $TOMCAT_DIR/shared/classes/alfresco/extension/keystore +RUN keytool -genseckey -dname "$CERT_DNAME" -validity ${CERT_VALIDITY} -alias metadata -keypass ${KEYSTORE_METADATA_PASSWORD} -keyalg AES -keysize 256 -keystore ${TOMCAT_DIR}/shared/classes/alfresco/extension/keystore/keystore -storetype JCEKS -storepass ${KEYSTORE_PASSWORD} +``` + Changing these parameters instructs the project to use the proper maven dependencies and Docker images. Depending on the needs of your project, it will probably be necessary to change the `org.alfresco:alfresco-remote-api` dependency to