From: And I. <and...@gm...> - 2017-06-26 20:16:19
|
Dear Markus, thank you very much for the hints and for such a quick response. I've completely missed the Signer init section from the docs because another developer tried to set everything up while I have just fixed the app server issues he had. I will follow the signers init section and continue the evaluation. Thanks, Andrew On Mon, Jun 26, 2017 at 10:37 PM, Markus Kilås <mar...@pr...> wrote: > On 06/26/2017 02:21 PM, And Impd wrote: > > Hello, > > > > I'm trying to get SignServer 4.0 CE up using WildFly9 (hosted in MS > > Azure Ubuntu 17.04) for evaluation purposes. I have followed > > installation instructions and managed to have signserver.ear > > successfully deployed. The app server starts and I can access SignServer > > via local URL (http://localhost:4457/signserver) . > > > > However, when I navigate to /signserver/demo/pdfsign.jsp and click on > > the Submit button to invoke PDFSigner I get redirected to > > /signserver/worker/PDFSigner and the following error is displayed: > > > > HTTP Status 404 - Worker Not Found > > > > The exact message from logs is this: > > > > 10:54:38,477 INFO [org.signserver.server.log.SignServerLog4jDevice] > > (default task-24) EVENT: PROCESS; OUTCOME: FAILURE; MODULE: WORKER; > > ADMINISTRATOR: Client user; ISSUER: null; SERIAL_NUMBER: null; > > WORKER_ID: null; EXCEPTION: No such worker: PDFSigner/; PROCESS_SUCCESS: > > false; LOG_TIME: 1498474478472; LOG_ID: > > 82e250f4-e4ca-4281-93dc-dfdf70819161; CLIENT_IP: xxx.xxx.xxx.xxx; > > REPLY_TIME:1498474478477 > > > > Next, if I simply reload the current signserver/worker/PDFSigner page I > > dont' get 404 error, instead I get HTTP 400 code: > > > > 12:13:51,685 INFO [org.signserver.web.GenericProcessServlet] (default > > task-16) Bad request: Missing field 'data' in request > > > > Why the PDFSigner worker is not found in the demo app while the app > > server seems to start successfully without any critical exception > > (except for https:// complaints). I have tried other demo pages and > > other workers like XMLSigner: same stuff. > > > > What config places should I check to enable the PDFSigner worker in the > > demo app? Any help/hints would be much appreciated. > > > > Thanks, > > Andrew S. > > Hi Andrew, > > This is all expect as the demo web forms are just static forms and by > default the SignServer database is empty with no workers configured. > > You will need to configure the workers that you want to have either > using the command line interface or GUI. > > The quick start demo guide shows how you can first set up a keystore > crypto token with the bundled keystore containing already ready keys and > certificates and then to set up a PDF signer: > https://www.signserver.org/doc/current/manual/ > installguide.html#Quick_start_demo_PDF_signer > > Regards, > Markus Kilås > PrimeKey Solutions > > Save time and money with an Enterprise support subscription. Please see > www.primekey.com for more information. > https://www.primekey.com/products/software/ > > > |