• Digital Signature Error

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #54196  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
 #54275  by eldrich
 
Sorry CE 6.3.12
Can you repost the client as when I visited the site it had already disappeared
Thanks

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.