From b3b4d33178b0b08191258629ed732bcb3dff8dfe Mon Sep 17 00:00:00 2001 From: mstrankowski Date: Mon, 6 Nov 2023 13:55:19 +0100 Subject: [PATCH] Extend testing generative script to include search engines in preparation for switching them to new approach --- scripts/ci/generate_keystores.sh | 2 ++ scripts/ci/generate_keystores_wrong_hostnames.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/scripts/ci/generate_keystores.sh b/scripts/ci/generate_keystores.sh index f9b1418..74ae995 100644 --- a/scripts/ci/generate_keystores.sh +++ b/scripts/ci/generate_keystores.sh @@ -22,6 +22,8 @@ bash ${SCRIPT_DIR}/../../ssl-tool/run_ca.sh -keysize 2048 -keystorepass password bash ${SCRIPT_DIR}/../../ssl-tool/run_additional.sh -servicename alfresco -rootcapass password -keysize 2048 -keystoretype JCEKS -keystorepass password -truststoretype JCEKS -truststorepass password -certdname "/C=GB/ST=UK/L=Maidenhead/O=Alfresco Software Ltd./OU=Unknown/CN=Custom Alfresco Repository" -servername localhost,alfresco -alfrescoformat $ALFRESCO_FORMAT #Alfresco Metadata encryption bash ${SCRIPT_DIR}/../../ssl-tool/run_encryption.sh -subfoldername alfresco -servicename encryption -encstorepass mp6yc0UD9e -encmetadatapass oKIWzVdEdA -alfrescoformat $ALFRESCO_FORMAT +#Search Engine +bash ${SCRIPT_DIR}/../../ssl-tool/run_additional.sh -servicename searchEngine -rootcapass password -keysize 2048 -keystoretype JCEKS -keystorepass password -truststoretype JCEKS -truststorepass password -certdname "/C=GB/ST=UK/L=Maidenhead/O=Alfresco Software Ltd./OU=Unknown/CN=Search Engine" -servername localhost,solr,solr4,solr6,elasticsearch,live-indexing -alfrescoformat $ALFRESCO_FORMAT #T-Engine AIO bash ${SCRIPT_DIR}/../../ssl-tool/run_additional.sh -servicename tengineAIO -rootcapass password -keysize 2048 -keystoretype JCEKS -keystorepass password -truststoretype JCEKS -truststorepass password -certdname "/C=GB/ST=UK/L=Maidenhead/O=Alfresco Software Ltd./OU=Unknown/CN=T-Engine AIO" -servername localhost,transform-core-aio -alfrescoformat $ALFRESCO_FORMAT #Shared file store diff --git a/scripts/ci/generate_keystores_wrong_hostnames.sh b/scripts/ci/generate_keystores_wrong_hostnames.sh index 78bef21..492eec1 100755 --- a/scripts/ci/generate_keystores_wrong_hostnames.sh +++ b/scripts/ci/generate_keystores_wrong_hostnames.sh @@ -22,6 +22,8 @@ bash ${SCRIPT_DIR}/../../ssl-tool/run_ca.sh -keysize 2048 -keystorepass password bash ${SCRIPT_DIR}/../../ssl-tool/run_additional.sh -servicename alfresco -rootcapass password -keysize 2048 -keystoretype JCEKS -keystorepass password -truststoretype JCEKS -truststorepass password -certdname "/C=GB/ST=UK/L=Maidenhead/O=Alfresco Software Ltd./OU=Unknown/CN=Custom Alfresco Repository" -servername test -alfrescoformat $ALFRESCO_FORMAT #Alfresco Metadata encryption bash ${SCRIPT_DIR}/../../ssl-tool/run_encryption.sh -subfoldername alfresco -servicename encryption -encstorepass mp6yc0UD9e -encmetadatapass oKIWzVdEdA -alfrescoformat $ALFRESCO_FORMAT +#Search Engine +bash ${SCRIPT_DIR}/../../ssl-tool/run_additional.sh -servicename searchEngine -rootcapass password -keysize 2048 -keystoretype JCEKS -keystorepass password -truststoretype JCEKS -truststorepass password -certdname "/C=GB/ST=UK/L=Maidenhead/O=Alfresco Software Ltd./OU=Unknown/CN=Search Engine" -servername test -alfrescoformat $ALFRESCO_FORMAT #T-Engine AIO bash ${SCRIPT_DIR}/../../ssl-tool/run_additional.sh -servicename tengineAIO -rootcapass password -keysize 2048 -keystoretype JCEKS -keystorepass password -truststoretype JCEKS -truststorepass password -certdname "/C=GB/ST=UK/L=Maidenhead/O=Alfresco Software Ltd./OU=Unknown/CN=T-Engine AIO" -servername test -alfrescoformat $ALFRESCO_FORMAT #Shared file store