<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Invalid keystores from Tomcat in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/invalid-keystores-from-tomcat/m-p/110910#M31023</link>
    <description>&lt;P&gt;Yes. I think so. I downloaded it from &lt;A title="Alfresco Download " href="https://www.alfresco.com/thank-you/thank-you-downloading-alfresco-community-edition" target="_self" rel="nofollow noopener noreferrer"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Mon, 23 Nov 2020 10:49:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-23T10:49:46Z</dc:date>
    <item>
      <title>Invalid keystores from Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/invalid-keystores-from-tomcat/m-p/110908#M31021</link>
      <description>&lt;P data-unlink="true"&gt;I have installed Alfresco community services version using &lt;A title="installing using distribution zip" href="https://docs.alfresco.com/community/concepts/install-community-intro.html" target="_blank" rel="noopener nofollow noreferrer"&gt;this guide&lt;/A&gt; and on starting tomcat service the alfresco throws an error on &lt;STRONG&gt;Invalid Keystores&lt;/STRONG&gt;. I have generated the keystores using the documentation from alfresco but it seems not to solve the problem. What could be the issue? I have attached the &lt;STRONG&gt;alfresco.log&lt;/STRONG&gt; output below.&lt;/P&gt;&lt;PRE&gt;2020-11-23 08:58:05,786 WARN  [org.alfresco.heartbeat.datasender.HBDataSenderServiceBuilder] [localhost-startStop-1] Setting the Heartbeat sender cron with property 'heartbeat.sender.cronExpression' is no longer supported.
2020-11-23 08:58:06,076 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Ignoring script patch (post-Hibernate): patch.db-V4.2-metadata-query-indexes
2020-11-23 08:58:06,076 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Ignoring script patch (post-Hibernate): patch.db-V5.1-metadata-query-indexes
2020-11-23 08:58:06,077 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Ignoring script patch (post-Hibernate): patch.db-V5.2-remove-jbpm-tables-from-db
2020-11-23 08:58:06,593 INFO  [org.alfresco.repo.admin] [localhost-startStop-1] Using database URL 'jdbc:postgresql://localhost:5801/alfresco' with user 'alfresco'.
2020-11-23 08:58:06,594 INFO  [org.alfresco.repo.admin] [localhost-startStop-1] Connected to database PostgreSQL version 11.4
2020-11-23 08:58:14,636 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
2020-11-23 08:58:14,775 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1] complete
2020-11-23 08:58:14,945 ERROR [org.alfresco.repo.content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-2] 10230000 Failed to connect or to read the response from T-Engine on http://localhost:8090/transform/config
2020-11-23 08:58:17,653 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor Repository Template Processor for extension ftl
2020-11-23 08:58:17,659 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor Repository Script Processor for extension js
2020-11-23 08:58:19,145 ERROR [org.alfresco.repo.content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-2] 10230001 Failed to connect or to read the response from T-Engine on http://localhost:8093/transform/config
2020-11-23 08:58:20,976 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'ContentStore' subsystem, ID: [ContentStore, managed, unencrypted]
2020-11-23 08:58:21,054 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'ContentStore' subsystem, ID: [ContentStore, managed, unencrypted] complete
2020-11-23 08:58:21,090 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Connecting to database: jdbc:postgresql://localhost:5999/alfresco, UserName=alfresco, PostgreSQL JDBC Driver
2020-11-23 08:58:21,090 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Schema managed by database dialect org.alfresco.repo.domain.dialect.PostgreSQLDialect.
2020-11-23 08:58:21,112 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Applied patches detected: 10
2020-11-23 08:58:21,150 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Checking and patching Alfresco tables took 37 ms
2020-11-23 08:58:21,153 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Activiti tables need to be checked for patches
2020-11-23 08:58:21,186 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Checking and patching Activiti tables took 33 ms
2020-11-23 08:58:21,219 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Checking that all patches have been applied took 32 ms
2020-11-23 08:58:21,220 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Updating the DB schema took 126 ms
2020-11-23 08:58:21,222 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] No changes were made to the schema.
2020-11-23 08:58:21,384 ERROR [org.springframework.web.context.ContextLoader] [localhost-startStop-1] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: 10230003 Keystores are invalid
	at org.alfresco.encryption.EncryptionChecker$1.execute(EncryptionChecker.java:78)
	at org.alfresco.encryption.EncryptionChecker$1.execute(EncryptionChecker.java:1)
	at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:450)
	at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:319)
	at org.alfresco.encryption.EncryptionChecker.onBootstrap(EncryptionChecker.java:67)
	at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:56)
	at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:221)
	at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:186)
	at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:206)
	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:402)
	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:359)
	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:896)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:552)
	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:400)
	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:291)
	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103)
	at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:70)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4689)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5155)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:970)
	at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1840)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: org.alfresco.error.AlfrescoRuntimeException: 10230002 Failed to create key: metadata
 in key store: 
   Location: classpath:alfresco/keystore/keystore
   Provider: null
   Type:     JCEKS
	at org.alfresco.encryption.AlfrescoKeyStoreImpl.createKey(AlfrescoKeyStoreImpl.java:661)
	at org.alfresco.encryption.AlfrescoKeyStoreImpl.validateKeys(AlfrescoKeyStoreImpl.java:907)
	at org.alfresco.encryption.AlfrescoKeyStoreImpl.validateKeys(AlfrescoKeyStoreImpl.java:188)
	at org.alfresco.encryption.KeyStoreChecker.validateKeyStores(KeyStoreChecker.java:49)
	at org.alfresco.encryption.EncryptionChecker$1.execute(EncryptionChecker.java:73)
	... 29 more
Caused by: java.lang.NullPointerException
	at org.alfresco.encryption.AlfrescoKeyStoreImpl.getSecretKey(AlfrescoKeyStoreImpl.java:770)
	at org.alfresco.encryption.AlfrescoKeyStoreImpl.createKey(AlfrescoKeyStoreImpl.java:639)
	... 33 more
2020-11-23 08:58:21,953 WARN  [org.springframework.web.context.support.XmlWebApplicationContext] [localhost-startStop-1] Exception thrown from ApplicationListener handling ContextClosedEvent
java.lang.NullPointerException
	at org.alfresco.repo.workflow.activiti.ActivitiEngineInitializer.onShutdown(ActivitiEngineInitializer.java:65)
	at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:67)
	at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:221)
	at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:191)
	at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:206)
	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:402)
	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:359)
	at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1009)
	at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:975)
	at org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:516)
	at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:112)
	at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4735)
	at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5399)
	at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:187)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:970)
	at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1840)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
2020-11-23 08:58:22,059 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Stopping 'ContentStore' subsystem, ID: [ContentStore, managed, unencrypted]
2020-11-23 08:58:22,061 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Stopped 'ContentStore' subsystem, ID: [ContentStore, managed, unencrypted]
2020-11-23 08:58:22,565 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Stopping 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
2020-11-23 08:58:22,565 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Stopped 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
2020-11-23 08:58:23,191 ERROR [org.alfresco.repo.content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-2] 10230004 Failed to connect or to read the response from T-Engine on http://localhost:8091/transform/config
2020-11-23 08:58:23,267 ERROR [org.alfresco.repo.content.transform.LocalTransformServiceRegistry] [QuartzScheduler_Worker-2] Config read failed. Illegal access: this web application instance has been stopped already. Could not load [org/apache/http/client/version.properties]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [org/apache/http/client/version.properties]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
	at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1378)
	at org.apache.catalina.loader.WebappClassLoaderBase.getResourceAsStream(WebappClassLoaderBase.java:1107)
	at org.apache.http.util.VersionInfo.loadVersionInfo(VersionInfo.java:233)
	at org.apache.http.util.VersionInfo.getUserAgent(VersionInfo.java:319)
	at org.apache.http.impl.client.HttpClientBuilder.build(HttpClientBuilder.java:1057)
	at org.apache.http.impl.client.HttpClients.createDefault(HttpClients.java:56)
	at org.alfresco.transform.client.registry.CombinedConfig.addRemoteConfig(CombinedConfig.java:134)
	at org.alfresco.transform.client.registry.CombinedConfig.addRemoteConfig(CombinedConfig.java:115)
	at org.alfresco.repo.content.transform.LocalTransformServiceRegistry.readConfig(LocalTransformServiceRegistry.java:141)
	at org.alfresco.transform.client.registry.TransformServiceRegistryImpl$1.readConfig(TransformServiceRegistryImpl.java:80)
	at org.alfresco.util.ConfigScheduler.readConfigAndReplace(ConfigScheduler.java:208)
	at org.alfresco.util.ConfigScheduler$ConfigSchedulerJob.execute(ConfigScheduler.java:64)
	at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)&lt;/PRE&gt;</description>
      <pubDate>Mon, 23 Nov 2020 06:09:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/invalid-keystores-from-tomcat/m-p/110908#M31021</guid>
      <dc:creator />
      <dc:date>2020-11-23T06:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid keystores from Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/invalid-keystores-from-tomcat/m-p/110909#M31022</link>
      <description>&lt;P&gt;Are you using 201911-GA version?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 10:45:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/invalid-keystores-from-tomcat/m-p/110909#M31022</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2020-11-23T10:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid keystores from Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/invalid-keystores-from-tomcat/m-p/110910#M31023</link>
      <description>&lt;P&gt;Yes. I think so. I downloaded it from &lt;A title="Alfresco Download " href="https://www.alfresco.com/thank-you/thank-you-downloading-alfresco-community-edition" target="_self" rel="nofollow noopener noreferrer"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 10:49:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/invalid-keystores-from-tomcat/m-p/110910#M31023</guid>
      <dc:creator />
      <dc:date>2020-11-23T10:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid keystores from Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/invalid-keystores-from-tomcat/m-p/110911#M31024</link>
      <description>&lt;P&gt;That should be configured by default, using the "keystore" file inside the "alfresco-repository-*.jar" from alfresco.war.&lt;/P&gt;
&lt;P&gt;What version of "alfresco-repository.jar" is deployed in your WEB-INF/lib folder for alfresco?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 12:50:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/invalid-keystores-from-tomcat/m-p/110911#M31024</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2020-11-23T12:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid keystores from Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/invalid-keystores-from-tomcat/m-p/110912#M31025</link>
      <description>&lt;P&gt;alfresco-repository-7.134.1&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 13:10:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/invalid-keystores-from-tomcat/m-p/110912#M31025</guid>
      <dc:creator />
      <dc:date>2020-11-23T13:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid keystores from Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/invalid-keystores-from-tomcat/m-p/110913#M31026</link>
      <description>&lt;P&gt;That's weird... It looks like the "keystore" files are part of that JAR file:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/Alfresco/alfresco-repository/tree/alfresco-repository-7.134.1/src/main/resources/alfresco/keystore" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/alfresco-repository/tree/alfresco-repository-7.134.1/src/main/resources/alfresco/keystore&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 15:35:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/invalid-keystores-from-tomcat/m-p/110913#M31026</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2020-11-23T15:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid keystores from Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/invalid-keystores-from-tomcat/m-p/110914#M31027</link>
      <description>&lt;P&gt;Thanks for sharing the link. I generated custom keys using the generator what comes with the download. I have had a look at the link. Therefore, does this mean that I should not generate custom keys and just use the ones that have come packaged with the ACS?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 16:36:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/invalid-keystores-from-tomcat/m-p/110914#M31027</guid>
      <dc:creator />
      <dc:date>2020-11-23T16:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid keystores from Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/invalid-keystores-from-tomcat/m-p/110915#M31028</link>
      <description>&lt;P&gt;Hope this helps:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www2.slideshare.net/angelborroy/alfresco-certificates" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www2.slideshare.net/angelborroy/alfresco-certificates&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;That "keystore" is not for SSL / mTLS configuration, but for encryption. As you're not using encryption (Community doesn't have this feature) you can use default "keystore" for that.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 08:44:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/invalid-keystores-from-tomcat/m-p/110915#M31028</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2020-11-24T08:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid keystores from Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/invalid-keystores-from-tomcat/m-p/110916#M31029</link>
      <description>&lt;P&gt;Thank you for this information and for the informative reference.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 11:50:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/invalid-keystores-from-tomcat/m-p/110916#M31029</guid>
      <dc:creator />
      <dc:date>2020-11-24T11:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid keystores from Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/invalid-keystores-from-tomcat/m-p/110917#M31030</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Glad you resolved your issue - thanks for updating your post.&lt;/P&gt;
&lt;P&gt;Best wishes,&lt;/P&gt;</description>
      <pubDate>Fri, 27 Nov 2020 10:51:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/invalid-keystores-from-tomcat/m-p/110917#M31030</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-11-27T10:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid keystores from Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/invalid-keystores-from-tomcat/m-p/110918#M31031</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Which is this default "keystore"? I am installing the latest community version and i am getting the same error despite following the installation intsructions. I have tried teh alfresco-ssl-generator tool with no success. I have also copied the keystore directory that comes with the zip distibution to my alf_data directory but i keep on getting the following error:&lt;/P&gt;&lt;P&gt;org.alfresco.error.AlfrescoRuntimeException: 04150006 Keystores are invalid&lt;BR /&gt;at org.alfresco.encryption.EncryptionChecker$1.execute(EncryptionChecker.java:78)&lt;BR /&gt;at org.alfresco.encryption.EncryptionChecker$1.execute(EncryptionChecker.java:1)&lt;BR /&gt;at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:450)&lt;BR /&gt;at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:319)&lt;BR /&gt;at org.alfresco.encryption.EncryptionChecker.onBootstrap(EncryptionChecker.java:67)&lt;/P&gt;&lt;P&gt;..................................&lt;/P&gt;&lt;P&gt;Caused by: org.alfresco.error.AlfrescoRuntimeException: 04150005 Failed to create key: metadata&lt;BR /&gt;in key store:&lt;BR /&gt;Location: E:/alfresco-community7/alf_data/keystore/keystore&lt;BR /&gt;Provider: null&lt;BR /&gt;Type: pkcs12&lt;BR /&gt;at org.alfresco.encryption.AlfrescoKeyStoreImpl.createKey(AlfrescoKeyStoreImpl.java:664)&lt;BR /&gt;at org.alfresco.encryption.AlfrescoKeyStoreImpl.validateKeys(AlfrescoKeyStoreImpl.java:915)&lt;BR /&gt;at org.alfresco.encryption.AlfrescoKeyStoreImpl.validateKeys(AlfrescoKeyStoreImpl.java:188)&lt;BR /&gt;at org.alfresco.encryption.KeyStoreChecker.validateKeyStores(KeyStoreChecker.java:49)&lt;BR /&gt;at org.alfresco.encryption.EncryptionChecker$1.execute(EncryptionChecker.java:73)&lt;BR /&gt;... 57 more&lt;BR /&gt;Caused by: org.alfresco.error.AlfrescoRuntimeException: 04150004 Unable to get secret key: no key information is provided&lt;BR /&gt;at org.alfresco.encryption.AlfrescoKeyStoreImpl.getSecretKey(AlfrescoKeyStoreImpl.java:775)&lt;BR /&gt;at org.alfresco.encryption.AlfrescoKeyStoreImpl.createKey(AlfrescoKeyStoreImpl.java:642)&lt;BR /&gt;... 61 more&lt;/P&gt;</description>
      <pubDate>Sat, 15 May 2021 10:01:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/invalid-keystores-from-tomcat/m-p/110918#M31031</guid>
      <dc:creator>bvictor</dc:creator>
      <dc:date>2021-05-15T10:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid keystores from Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/invalid-keystores-from-tomcat/m-p/110919#M31032</link>
      <description>&lt;P&gt;Try Below Steps:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Example: assume that default keystore files are present in the below path:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;C:/alfresco7/alf_data/keystore/metadata-keystore/keystore&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To configure ACS 7 Tomcat 9 to use this default keystore file, you need to open &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;tomcat 9_install_home_directory&amp;gt;/bin/catalina.bat.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Add the below line into catalina.bat (right under 'set JAVA_OPTS=' lines)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;set “JAVA_TOOL_OPTIONS=-Dencryption.keystore.type=JCEKS -Dencryption.cipherAlgorithm=DESede/CBC/PKCS5Padding -Dencryption.keyAlgorithm=DESede -Dencryption.keystore.location=C:/alfresco7/alf_data/keystore/metadata-keystore/keystore -Dmetadata-keystore.password=mp6yc0UD9e -Dmetadata-keystore.aliases=metadata -Dmetadata-keystore.metadata.password=oKIWzVdEdA -Dmetadata-keystore.metadata.algorithm=DESede”&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Note&lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;encryption.keystore.location=&amp;lt;your own keystore file location&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jun 2021 05:08:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/invalid-keystores-from-tomcat/m-p/110919#M31032</guid>
      <dc:creator>sp2</dc:creator>
      <dc:date>2021-06-12T05:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid keystores from Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/invalid-keystores-from-tomcat/m-p/110920#M31033</link>
      <description>&lt;P&gt;The link in the accepted solution is broken.&amp;nbsp; I'm stuck with the same error, "Invalid keystore format", after generating my keystores with the github project.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2022 23:21:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/invalid-keystores-from-tomcat/m-p/110920#M31033</guid>
      <dc:creator>amberream</dc:creator>
      <dc:date>2022-08-12T23:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid keystores from Tomcat</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/invalid-keystores-from-tomcat/m-p/495880#M40728</link>
      <description>&lt;P&gt;Here in the following my scenario: upon restarting Tomcat, the following errors appear in the catalina.out log:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;Jan 21, 2026 4:19:23 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class [org.alfresco.web.app.ContextLoaderListener]

org.alfresco.error.AlfrescoRuntimeException: 00210000 Keystores are invalid
    at org.alfresco.encryption.EncryptionChecker$1.execute(EncryptionChecker.java:78)
    ...
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:476)

Caused by: org.alfresco.encryption.MissingKeyException: Key metadata is missing from keystore /opt/sgd/keystore//keystore
    at org.alfresco.encryption.AlfrescoKeyStoreImpl.validateKeys(AlfrescoKeyStoreImpl.java:910)
    ... 57 more&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;The solution for this error is this thread in one of the last post:&amp;nbsp;&lt;A href="https://connect.hyland.com/t5/alfresco-forum/invalid-keystores-from-tomcat/m-p/110919/highlight/true#M31032" target="_self"&gt;https://connect.hyland.com/t5/alfresco-forum/invalid-keystores-from-tomcat/m-p/110919/highlight/true#M31032&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Specifically, refer to one of the final posts in the thread.&amp;nbsp;Note that while the original solution was intended for Windows, it has been adapted for a Linux environment. Instead of modifying catalina.sh directly, the encryption configuration was added to setenv.sh. The file now looks as follows:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;root@rpu-sgd-as01:/opt/sgd/tomcat/bin&lt;SPAN class=""&gt;# cat setenv.sh&lt;/SPAN&gt;

&lt;SPAN class=""&gt;#!/bin/sh&lt;/SPAN&gt;

&lt;SPAN class=""&gt;# Log4j Configuration&lt;/SPAN&gt;
CATALINA_OPTS=&lt;SPAN class=""&gt;"$CATALINA_OPTS -Dlog4j2.configurationFile=/opt/sgd/tomcat/shared/classes/alfresco/extension/log4j2.xml"&lt;/SPAN&gt;

&lt;SPAN class=""&gt;# Encryption Configuration&lt;/SPAN&gt;
CATALINA_OPTS=&lt;SPAN class=""&gt;"$CATALINA_OPTS -Dencryption.keystore.type=JCEKS \
-Dencryption.cipherAlgorithm=DESede/CBC/PKCS5Padding \
-Dencryption.keyAlgorithm=DESede \
-Dencryption.keystore.location=/opt/sgd/keystore/metadata-keystore/keystore \
-Dmetadata-keystore.password=mp6yc0UD9e \
-Dmetadata-keystore.aliases=metadata \
-Dmetadata-keystore.metadata.password=oKIWzVdEdA \
-Dmetadata-keystore.metadata.algorithm=DESede"&lt;/SPAN&gt;

&lt;SPAN class=""&gt;export&lt;/SPAN&gt; CATALINA_OPTS

root@rpu-sgd-as01:/opt/sgd/tomcat/bin&lt;SPAN class=""&gt;#&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;And it works for me.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 21 Jan 2026 17:30:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/invalid-keystores-from-tomcat/m-p/495880#M40728</guid>
      <dc:creator>giasqui</dc:creator>
      <dc:date>2026-01-21T17:30:13Z</dc:date>
    </item>
  </channel>
</rss>

