While using reader extension service in Adaptive form, i have set up keystore already and wrote java code to apply usage write but getting exception like below:
com.adobe.fd.docassurance.client.api.impl.DocAssuranceServiceImpl Exception while applying usage rights in DocAssuranceService
com.adobe.fd.readerextensions.client.ProcessingException: AEM-REX-001-008: Unable to apply the requested usage rights to the given document.
at com.adobe.fd.readerextensions.service.impl.ReaderExtensionsServiceImpl.applyUsageRights(ReaderExtensionsServiceImpl.java:215) [com.adobe.aemfd.adobe-aemfd-readerextensions:6.0.26]
at com.adobe.fd.docassurance.client.api.impl.DocAssuranceServiceImpl.addReaderExtensions(DocAssuranceServiceImpl.java:887) [adobe-aemfd-docassurance:6.0.50]
at com.adobe.fd.docassurance.client.api.impl.DocAssuranceServiceImpl.secureDocument(DocAssuranceServiceImpl.java:242) [adobe-aemfd-docassurance:6.0.50]
Can anyone help what may be missing here.
Thanks and regards,
Ashish Saxena
Solved! Go to Solution.
Views
Replies
Total Likes
I think you need to add the certificate to forms and document service user
Views
Replies
Total Likes
you need to add the certificate to the fd-service user
Is it happening to all the documents?
Views
Replies
Total Likes
Views
Replies
Total Likes
Are all the bundles in active state
@Mayank_Gandhi Hi Mayank, Its an osgi instance and i have already added bouncy castle.
I see this might be the issue:
com.adobe.fd.readerextensions.service.impl.ReaderExtensionsServiceImpl AEM-REX-001-008: Unable to apply the requested usage rights to the given document.
com.adobe.granite.keystore.KeyStoreNotInitialisedException: Uninitialised key store for user data
How to initialized key store.
Views
Replies
Total Likes
@GirishBedekar Hi Girish
Yes all bundles are in active state.
Views
Replies
Total Likes
Views
Replies
Total Likes
Send us the screen shot of the certificate added to fd service user
Also I think trust store is global
PFA screenshot of key store and trust store.
Trust store is global and also its not mentioned in adobe documents that we have to setup trust store.
Its mentioned to setup only keystore.
Keystore:
truststore:
@sashish have sent you private message
Views
Replies
Total Likes
Views
Likes
Replies