Trying to use cfpdf to sign a pdf

时间:2017-04-06 17:14:45

标签: java coldfusion keystore sign cfpdf

I'm trying to sign a pdf using the following...

<cfpdf action="sign"
source="#expandPath('.')#\tempFiles\unsigned\form - unsigned.pdf"
destination="#expandPath('.')#\tempFiles\signed\form - signed.pdf"
keystore="C:\Program Files (x86)\Java\jre1.8.0_121\bin\KeyStore.jks" 
keystorepassword="testpw"
keyalias="mystore"
overwrite="true" pages="1" height="100"
width="100" position="100,100" author="false"/>

I created the keystore using the keytool.exe but I get an error saying

Keystore file C:\Program Files (x86)\Java\jre1.8.0_121\bin\KeyStore.jks does not exist.

But it does exist... I'm hoping someone can help me with what I'm doing wrong.

Thanks in advance.

0 个答案:

没有答案