Expand my Community achievements bar.

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

Avatar

Former Community Member

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

Avatar

Employee Advisor

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