cancel
Showing results for 
Search instead for 
Did you mean: 

Digital Signature

SJanzen_
Champ on-the-rise
Champ on-the-rise

I am having some difficulty replacing the sample digital signature certificate with my new self signed one. I am somewhat new to Nuxeo, so they may be rudimentary questions, but here they are:

  1. In the documentation http://doc.nuxeo.com/display/CONNECT/Digital+Signature#DigitalSignature-Configuration, it mentions to create a config file named config.xml. My assumption is that "" can be whatever name I wish to give it, such as "dsigconfig.xml"? Is this assumption correct?
  2. Second question is the path within the xml file to give to locate the Root Keystore Path. The sample shows test-config/keystore.jks. Should this be the path that I used Keytool in Java to create my JKS file? Thanks
2 REPLIES 2

Wojciech_Sulejm
Star Contributor
Star Contributor
  1. The file name should follow this convention:

    -config.xml

so a valid name would be for instance:

 dsig-config.xml

(I have updated the documentation to include this example)

  1. The keystore file path can be either a relative path inside the jar containing the signature implementation classes (e.g. nuxeo-platform-signature-core-5.5.jar):

    test-config/keystore.jks

or an absolute path pointing to where you saved your keystore file:

<rootkeystorefilepath>/home/someuser/keystore.jks</rootkeystorefilepath>

in windows the absolute path should resemble something like this:

<rootkeystorefilepath>C:/secure/keystore.jks</rootkeystorefilepath>

Thank you for this answer. I only have one question. What is the best command to use to generate an initial keystore, if one has not been set up ( I would like to set the path for it) ?

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.