<?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 `Key authorization is missing from keystore` - Migration from Alfresco 5.0 to 5.2.7 in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/key-authorization-is-missing-from-keystore-migration-from/m-p/145904#M38668</link>
    <description>&lt;P&gt;I am migrating Alfresco Content Store from 5.0 to 5.2.7&lt;BR /&gt;I had Alfresco 5.0 connected to MS SQL 2008&lt;BR /&gt;I installed 5.2.7 on a separate server with a fresh MS SQL 2016 database.&lt;BR /&gt;&lt;BR /&gt;Once Alfresco was up, I migrated the contentstore, deleted indexes, deleted the files from the models folder.&lt;BR /&gt;I dumped the 5.0 MS SQL 2008 database and restored it to MS SQL 2016&lt;BR /&gt;I then connected to the restored MS SQL 2016 database.&lt;BR /&gt;&lt;BR /&gt;Am getting an error on invalid keystore&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;2021-09-29 15:05:17,175 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default]
2021-09-29 15:05:17,368 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default] complete
2021-09-29 15:05:17,433 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: 08290001 Keystores are invalid
	at org.alfresco.enterprise.repo.authorization.encryption.AlfrescoContentKeyStoreImpl$1.execute(AlfrescoContentKeyStoreImpl.java:89)
	at org.alfresco.enterprise.repo.authorization.encryption.AlfrescoContentKeyStoreImpl$1.execute(AlfrescoContentKeyStoreImpl.java:79)
	at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:464)
	at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:333)
	at org.alfresco.enterprise.repo.authorization.encryption.AlfrescoContentKeyStoreImpl.onApplicationEvent(AlfrescoContentKeyStoreImpl.java:78)
	at org.alfresco.enterprise.repo.authorization.encryption.AlfrescoContentKeyStoreImpl.onApplicationEvent(AlfrescoContentKeyStoreImpl.java:41)
	at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:214)
	at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:185)
	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:335)
	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:958)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:485)
	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)
	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
	at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:70)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5110)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5633)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1015)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:991)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:712)
	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:2002)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:748)
Caused by: org.alfresco.encryption.MissingKeyException: Key authorization is missing from keystore system://system/2950aab6-4839-4faa-acd1-5c28f0cbb79d
	at org.alfresco.encryption.AlfrescoKeyStoreImpl.validateKeys(AlfrescoKeyStoreImpl.java:902)
	at org.alfresco.encryption.AlfrescoKeyStoreImpl.validateKeys(AlfrescoKeyStoreImpl.java:188)
	at org.alfresco.enterprise.repo.authorization.encryption.AlfrescoContentKeyStoreImpl.initiateAndValidate(AlfrescoContentKeyStoreImpl.java:118)
	at org.alfresco.enterprise.repo.authorization.encryption.AlfrescoContentKeyStoreImpl$1.execute(AlfrescoContentKeyStoreImpl.java:84)
	... 27 more
2021-09-29 15:05:18,514 INFO [org.alfresco.enterprise.repo.cluster.core.ClusteringBootstrap] Clustering has shutdown.
2021-09-29 15:05:18,653 WARN [org.springframework.beans.factory.support.DisposableBeanAdapter] Invocation of destroy method failed on bean with name 'serverConnector': java.lang.NullPointerException&lt;/PRE&gt;</description>
    <pubDate>Wed, 29 Sep 2021 19:21:35 GMT</pubDate>
    <dc:creator>iamalokpatra</dc:creator>
    <dc:date>2021-09-29T19:21:35Z</dc:date>
    <item>
      <title>`Key authorization is missing from keystore` - Migration from Alfresco 5.0 to 5.2.7</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/key-authorization-is-missing-from-keystore-migration-from/m-p/145904#M38668</link>
      <description>&lt;P&gt;I am migrating Alfresco Content Store from 5.0 to 5.2.7&lt;BR /&gt;I had Alfresco 5.0 connected to MS SQL 2008&lt;BR /&gt;I installed 5.2.7 on a separate server with a fresh MS SQL 2016 database.&lt;BR /&gt;&lt;BR /&gt;Once Alfresco was up, I migrated the contentstore, deleted indexes, deleted the files from the models folder.&lt;BR /&gt;I dumped the 5.0 MS SQL 2008 database and restored it to MS SQL 2016&lt;BR /&gt;I then connected to the restored MS SQL 2016 database.&lt;BR /&gt;&lt;BR /&gt;Am getting an error on invalid keystore&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;2021-09-29 15:05:17,175 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default]
2021-09-29 15:05:17,368 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default] complete
2021-09-29 15:05:17,433 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: 08290001 Keystores are invalid
	at org.alfresco.enterprise.repo.authorization.encryption.AlfrescoContentKeyStoreImpl$1.execute(AlfrescoContentKeyStoreImpl.java:89)
	at org.alfresco.enterprise.repo.authorization.encryption.AlfrescoContentKeyStoreImpl$1.execute(AlfrescoContentKeyStoreImpl.java:79)
	at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:464)
	at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:333)
	at org.alfresco.enterprise.repo.authorization.encryption.AlfrescoContentKeyStoreImpl.onApplicationEvent(AlfrescoContentKeyStoreImpl.java:78)
	at org.alfresco.enterprise.repo.authorization.encryption.AlfrescoContentKeyStoreImpl.onApplicationEvent(AlfrescoContentKeyStoreImpl.java:41)
	at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:214)
	at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:185)
	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:335)
	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:958)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:485)
	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)
	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
	at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:70)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5110)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5633)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1015)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:991)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:712)
	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:2002)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:748)
Caused by: org.alfresco.encryption.MissingKeyException: Key authorization is missing from keystore system://system/2950aab6-4839-4faa-acd1-5c28f0cbb79d
	at org.alfresco.encryption.AlfrescoKeyStoreImpl.validateKeys(AlfrescoKeyStoreImpl.java:902)
	at org.alfresco.encryption.AlfrescoKeyStoreImpl.validateKeys(AlfrescoKeyStoreImpl.java:188)
	at org.alfresco.enterprise.repo.authorization.encryption.AlfrescoContentKeyStoreImpl.initiateAndValidate(AlfrescoContentKeyStoreImpl.java:118)
	at org.alfresco.enterprise.repo.authorization.encryption.AlfrescoContentKeyStoreImpl$1.execute(AlfrescoContentKeyStoreImpl.java:84)
	... 27 more
2021-09-29 15:05:18,514 INFO [org.alfresco.enterprise.repo.cluster.core.ClusteringBootstrap] Clustering has shutdown.
2021-09-29 15:05:18,653 WARN [org.springframework.beans.factory.support.DisposableBeanAdapter] Invocation of destroy method failed on bean with name 'serverConnector': java.lang.NullPointerException&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 Sep 2021 19:21:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/key-authorization-is-missing-from-keystore-migration-from/m-p/145904#M38668</guid>
      <dc:creator>iamalokpatra</dc:creator>
      <dc:date>2021-09-29T19:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: `Key authorization is missing from keystore` - Migration from Alfresco 5.0 to 5.2.7</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/key-authorization-is-missing-from-keystore-migration-from/m-p/145905#M38669</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Check &lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/invalid-keystores-from-tomcat/td-p/303326" target="_blank" rel="noopener nofollow noreferrer"&gt;this post&lt;/A&gt;, I think it can help you.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Cristina.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 14:40:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/key-authorization-is-missing-from-keystore-migration-from/m-p/145905#M38669</guid>
      <dc:creator>cristinamr</dc:creator>
      <dc:date>2021-09-30T14:40:30Z</dc:date>
    </item>
  </channel>
</rss>

