Expand my Community achievements bar.

Loading Assymetric Key into AEM Keystore via AEM console

Avatar

Level 3

I tired loading the keys via AEM Console to the keystore. I get the error 

*ERROR* [10.204.84.248 [1729018641323] POST /home/users/j/jp8Hfz63Xu2IARv1SzqZ.ks.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught Throwable
javax.servlet.ServletException: java.lang.IllegalArgumentException: Key [alias1] not found in keystore
	at com.adobe.granite.security.user.internal.servlets.KeyStoreManagingServlet.doPost(KeyStoreManagingServlet.java:331) [com.adobe.granite.security.user:0.4.63.CQ650-B0001]
	at org.apache.sling.api.servlets.SlingAllMethodsServlet.mayService(SlingAllMethodsServlet.java:146) [org.apache.sling.api:2.22.0.B002]
	at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:342) [org.apache.sling.api:2.22.0.B002]
	at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:374) [org.apache.sling.api:2.22.0.B002]
	at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:579) [org.apache.sling.engine:2.7.10.B0004]

at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.IllegalArgumentException: Key [alias1] not found in keystore
	at com.adobe.granite.security.user.internal.servlets.KeyStoreManagingServlet.importKeyFromKeyStore(KeyStoreManagingServlet.java:507) [com.adobe.granite.security.user:0.4.63.CQ650-B0001]
	at com.adobe.granite.security.user.internal.servlets.KeyStoreManagingServlet.doPost(KeyStoreManagingServlet.java:315) [com.adobe.granite.security.user:0.4.63.CQ650-B0001]
Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Reply

Avatar

Administrator

@daniel-strmecki @h_kataria @SureshDhulipudi @TarunKumar @sravs @pulkitvashisth @kapil_rajoria @Kamal_Kishor Curious to hear your perspectives on this question. Do you all mind sharing your thoughts?



Kautuk Sahni