Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

What are the valid truststore usage types when importing a certificate?

XHIAX
Level 2
Level 2

I'm trying to import a certificate using the CertificateServiceClient.  I use the string "truststore.usage.type.sign" as the usage string, but I'm getting this stack trace:

[exec] java.lang.IllegalArgumentException: Illegal Certificate Usage Type truststore.usage.type.sign

   at com.adobe.truststore.businessobject.CertificateBO.setCertificateUseTypes(CertificateBO.java:160)  

   at com.adobe.truststore.businessobject.CertificateBO.<init>(CertificateBO.java:59)

   ...

What should I use instead? I want to add certificates so that I can validate digital signatures.

1 Reply
WASIL
Employee
Employee

The other value for importing Reader Extention certificate would be "truststore.usage.type.lcre". It depends upon the type of certificate being uploaded. Here is a related thread : http://forums.adobe.com/message/2257515

Thanks,

Wasil