FileNotFoundException while loading the keystore | Community
Skip to main content
Level 2
Dec 29, 2017 6:02 AM UTC
Solved

FileNotFoundException while loading the keystore

Hi,

in AEM6.2, I have created a user account and loaded the certificate file in the keystore.

Now my keystore contains the alias name and certificate file .

I want to get the alias name from that keystore and for that i am trying to load the keystore first but unable to load it.

The location which i am using to get keystore file to load the keystore is home/users/keystore but it is throwing FileNotFoundException exception.

Could someone please help me in knowing from where i can load the keystore file or is there any other possible way to get the alias from user keystore ?

Any help on the above would be really appreciated.

kind regards,

Ranjna

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
VeenaVikraman
VeenaVikramanAccepted solution
New Participant
Jan 30, 2018 2:26 PM UTC

I have never tried loading keystore in AEM . But what i could understand from you error is , this could be possibly a permission issue. Are you trying this in Publish or Author ? In publish the home node will not be available for anonymous users.

4 replies

kautuk_sahni
Employee
Jan 31, 2018 10:20 AM UTC

Did you get this working?

Translate
Kautuk Sahni
VeenaVikraman
VeenaVikramanAccepted solution
New Participant
Jan 30, 2018 2:26 PM UTC

I have never tried loading keystore in AEM . But what i could understand from you error is , this could be possibly a permission issue. Are you trying this in Publish or Author ? In publish the home node will not be available for anonymous users.

Translate
kautuk_sahni
Employee
Jan 30, 2018 5:12 AM UTC

Veena_07 Maybe you would like to add something here!!

Translate
Kautuk Sahni
kautuk_sahni
Employee
Jan 30, 2018 5:01 AM UTC

Quick Troubleshooting

1. AEM 6.3 keystore initializing error on install

//  The issue was due to network connectivity.

2 Check this article out Error while maven build - sun.security.validator.ValidatorException: PKIX path building failed java.security.cert.certpa…  It is for Windows but easy to do adapt on Linux!!

-Kautuk

Translate
Kautuk Sahni