Page 1 of 1

Digital Signature Error

PostPosted:Tue May 16, 2023 12:21 am
by eldrich
Hi,
We have installed OpenKM CE 6.3 as a test system and downloaded the digital signature client 1.1.
The client has been setup to access the OpenKM system and when we Use Configure/Test it connects and recognises the sytem as 6.3.

However we can not sign and upload documents.
If we add a pdf to the signature client and try to sign it with our self-generated key (which it finds okay) it shows us the directory structure on the server fine but then gives this error message:
Code: Select all
2023-05-16 08:17:21 [DEBUG] Added file to queue: C:\Users\Fred\Downloads\Sign_test.pdf
2023-05-16 08:17:41 [ERROR] Error signing document from C:\Users\Fred\Downloads\Sign_test.pdf to /okm:root/RandD/Sign_test.pdf
2023-05-16 08:17:41 [ERROR] com.openkm.sdk4csharp.exception.OKMRestException: DocumentImpl (create)
Response status code does not indicate success: 404 ().

com.openkm.sdk4csharp.exception.UnknowException: Response status code does not indicate success: 404 ().
   at com.openkm.sdk4csharp.impl.DocumentImpl.createDocumentSimple(String docPath, FileStream fileStream)
   at com.openkm.sdk4csharp.impl.DocumentImpl.createDocumentSimple(String docPath, FileStream fileStream)
   at com.openkm.sdk4csharp.OKMWebservice20.createDocumentSimple(String docPath, FileStream fileStream)
   at com.openkm.logic.SignManager.backgroundWorker_DoWork(Object sender, DoWorkEventArgs e)
On the server under the localhost_access log we see this:
Code: Select all
0:0:0:0:0:0:0:1 - - [16/May/2023:08:17:40 +0800] "GET /OpenKM/services/rest/folder/getChildren?fldId=%2Fokm%3Aroot%2FRandD HTTP/1.1" 200 851
0:0:0:0:0:0:0:1 - - [16/May/2023:08:17:41 +0800] "GET /OpenKM/services/rest/repository/hasNode?nodeId=%2Fokm%3Aroot%2FRandD%2FSign_test.pdf HTTP/1.1" 200 5
0:0:0:0:0:0:0:1 - - [16/May/2023:08:17:41 +0800] "POST /OpenKMservices/rest/document/createSimple HTTP/1.1" 404 804
Can anyone help us figure out what we are doing wrong?
Thanks

Re: Digital Signature Error

PostPosted:Fri May 26, 2023 4:25 pm
by pherrera
Hi,

What versions of OpenKM and DigitalSignature are you using?

Re: Digital Signature Error

PostPosted:Thu Jun 01, 2023 8:25 am
by eldrich
Hi,
OpenKM CE 6.3
Digital signature client 1.1.
Thanks

Re: Digital Signature Error

PostPosted:Mon Jun 05, 2023 5:53 pm
by pherrera
Tell me the full version of your openkm 6.3.??

Try this installer but you will need version 6.3.11

https://we.tl/t-grBmYKj4Fe

Re: Digital Signature Error

PostPosted:Sat Jun 17, 2023 6:26 am
by eldrich
Sorry CE 6.3.12
Can you repost the client as when I visited the site it had already disappeared
Thanks

Re: Digital Signature Error

PostPosted:Fri Jun 23, 2023 4:47 pm
by pherrera

Re: Digital Signature Error

PostPosted:Mon Jun 26, 2023 12:14 am
by eldrich
That client app worked perfectly, many thanks