From: Markus K. <ejb...@pr...> - 2013-01-09 06:36:46
|
On 2013-01-08 14:27, Marcos Fontana wrote: > Now, when i try to sign a PDF, im getting this in log file: This are two different errors, one about authorization and one about a missing field in the request. > > HTTP Status 400 - Request error: > > Autorization failed:Error, client aithenticatin is required. This means that you have sent a request to a worker which requires client certificate authentication. If you specify a worker property called AUTH with the value CLIENTCERT or don't configure the property at all the default is to require client certificate authentication. You would then have to access the worker using a port which requires client certificate authentication (ie. 8443). > > Bad request: Missing field 'data' in request. But I'm filling the field, > selecting a PDF document to sign. Which page are you using, which fields have you filled in and which of the Submit buttons have you clicked? Notice that on the generic sign page there are two submit buttons one corresponding to if you past the document in the text area and an other that should be used if you upload the document from a file. Best regards, Markus > > -----Original Message----- > From: Markus Kilås > Sent: Tuesday, January 8, 2013 9:39 AM > To: Marcos Fontana > Cc: signserver-develop > Subject: Re: [SignServer-develop] RES: RES: Worker's questions and Error > WSDL > > On 2013-01-07 19:58, Marcos Fontana wrote: >> Ok, problem solved, I needed to restart the application server, that in >> the >> guide was not described, and created a lot of workers with same >> configuration. There is some way to delete the workers? > > To remove a worker use: > $ bin/signserver.sh removeworker WORKERID > $ bin/signserver.sh reload WORKERID > >> >> Now I'm getting the error : >> >> HTTP Status 503 - Service Temporally Unavailable >> >> The server is currently unable to handle the request: >> Key usage limit exceeded or not initialized for worker 50. > > For the key usage counter the worker needs to be reloaded and activated > (if not auto-activated). > > $ bin/signserver.sh activatecryptotoken WORKERID > >> >> Have this some relation with 'Unlimited Strength Jurisdiction Policy"? > > Not directly unless stronger keys are used. Usually we have the > Unlimited Strength Jurisdiction Policy installed. > > > Best regards, > Markus > >> >> Regards >> >> -----Mensagem original----- >> De: Markus Kilås [mailto:ma...@pr...] >> Enviada em: segunda-feira, 7 de janeiro de 2013 14:10 >> Para: sig...@li... >> Assunto: Re: [SignServer-develop] RES: Worker's questions and Error WSDL >> >> On 2013-01-07 16:44, Marcos Fontana wrote: >>> The error in the propertie file was my fault in the path of it in the >>> commando line. >>> >>> >>> >>> Now, whem im trying to Sign a PDF for example, I’m getting this error: >>> EXCEPTION: org.signserver.common.CryptoTokenOfflineException: >>> Signtoken isn't active.; >>> >>> >>> >>> Look my pdf configuration file: >>> >>> >>> >>> ## Global properties >>> >>> >>> >>> GLOB.WORKERGENID1.CLASSPATH = >>> org.signserver.module.pdfsigner.PDFSigner >>> >>> GLOB.WORKERGENID1.SIGNERTOKEN.CLASSPATH = >>> org.signserver.server.cryptotokens.SoftCryptoToken >>> >>> GLOB.WORKERGENID1.SIGNERTOKEN.CLASSPATH = >>> org.signserver.server.cryptotokens.P12CryptoToken >>> >>> #GLOB.WORKERGENID1.SIGNERTOKEN.CLASSPATH = >>> org.signserver.server.cryptotokens.PKCS11CryptoToken >>> >> >> You are defining the GLOB.WORKERGENID1.SIGNERTOKEN.CLASSPATH worker >> property >> multiple times. It is undefined which one will be used but as you are >> getting CryptoTokenOfflineException I would suspect it was the >> P12 one this time. >> >> Remove the definition that you should not use. >> >>> >>> >>> >>> >>> ## General properties >>> >>> >>> >>> WORKERGENID1.NAME=PDFSigner >>> >>> WORKERGENID1.AUTHTYPE=NOAUTH >>> >>> >>> >>> >>> >>> ## SoftCryptoToken properties >>> >>> >>> >>> WORKERGENID1.KEYDATA=AAABJjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBA >>> KJCST1ZD6592ueazugNwZ23tJ3yUfSA0iPAJhYWBAS6Cn4mr8dKDHW3Q3vg5ML+/MQZIG4 >>> //9pYTAlZrLPdEc2PndHdK4Nkj/Mvw7MscK4qgn7jO5Z5YL0hwmMKF/PrgzO8yOd8pClYa >>> iN7bchT2vEbI3xTiFqn9/fvrCVIXluI/cfa7rX+qoLY8TmD0MA8oE/XCFaTO2XoYalWJXE >>> GUbKazIOebNkjf2u/JKwFudZrKCA4Hffs27CL87hqgrKTtwDfG9pvLZR05QPxOPtzmZEqo >>> KcfBUiiH2ylGvOuqUc6bb3Gy/8KRcWJMsanAeqOwhZ1m694FD6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3hzCW5DTYBKsJEexErzMpLw >> iEqUYJUfR9EeCM8UPMtLSqz1utdPoIYhULGzt5lSJEpMHMbquYfWJxQiKCbvfxQsP5dLUMEIqTgj >> Ndo98OlM7Z7zjYH9Kimz3wgAKSAIoQZr7Oy1dMHO5GK4jBtZ8wgsyyQ6DzQQ7R68XFVKarIW8SAT >> eyubAP+WjdMwk/ZXzsDjMZEtENaBXzAefYA\=\= >>> >>> >>> >>> >>> >>> ## P12CryptoToken properties >>> >>> >>> >>> #WORKERGENID1.KEYSTOREPATH=D:/My_Projects/SignServer_WorkSpace/tomcat. >>> p12 >>> >>> #WORKERGENID1.KEYSTOREPASSWORD=123456 >>> >>> >>> >>> >>> >>> ## PKCS11CryptoToken properties >>> >>> >>> >>> #WORKERGENID1.sharedLibrary=/home/tomas/dev/Utimaco/libcs2_pkcs11.so >>> >>> #WORKERGENID1.slot=1 >>> >>> #WORKERGENID1.defaultKey=defaultKey >>> >>> #WORKERGENID1.pin foo123 >>> >>> >>> >>> When the server, by the demo page, try to sign a document, which key >>> pair it use? Is it in the line: >>> #WORKERGENID1.KEYSTOREPATH=D:/My_Projects/SignServer_WorkSpace/tomcat.p12? >> >> That depends on which signtoken you define. If it is a SoftCryptoToken >> then >> it is the KEYDATA property but if is a P12CryptoToken then it is the >> KEYSTOREPATH property. >> >>> >>> >>> >>> Is this the keystore generated by ejbca? If yes, should I point to >>> ejbca/p12/tomcat.p12? >> >> No, the KEYSTOREPATH is the path to the keystore containing the signing >> key >> to sign documents with if you have chosen to use the P12CryptoToken. >> >>> >>> >>> >>> ====================================================================== >>> ======================================================== >>> >>> And, at last, for the WSDL error, this is what I’m doing, how >>> described on the guide: >>> >>> >>> >>> System./setProperty/("javax.net.ssl.keyStoreType", "JKS"); >>> >>> System./setProperty/("javax.net.ssl.keyStore", >>> "C:\\Users\\Marcos\\Desktop\\p12\\yMariano.jks"); >>> >>> System./setProperty/("javax.net.ssl.keyStorePassword >>> ", "a1b2c3"); >>> >>> >>> >>> System./setProperty/("javax.net.ssl.trustStoreType", >>> "JKS"); >>> >>> System./setProperty/("javax.net.ssl.trustStore", >>> "C:\\Projeto\\workspace\\ejbca\\p12\\truststore.jks"); >>> >>> >>> System./setProperty/("javax.net.ssl.trustStorePassword", >>> "myPassword"); >>> >>> >>> >>> The keystore is loaded to sign the document, right? >> >> No, the keystore in the system property is used for client authenticated >> TLS >> (ie if you access the web service on port 8443). >>> >>> The truststore is loaded too. >>> >>> >>> >>> Is it something wrong? >> >> It looks correct assuming that the file paths and passwords are correct >> and >> that the truststore/keystore contains correct certificates. >> >> Best regards, >> Markus >> >>> >>> >>> >>> Regards, >>> >>> >>> >>> *De:*Marcos Fontana [mailto:mar...@ho...] >>> *Enviada em:* segunda-feira, 7 de janeiro de 2013 08:33 >>> *Para:* Marcos Paulo Fontana >>> *Assunto:* FW: [SignServer-develop] Worker's questions and Error WSDL >>> >>> >>> >>> >>> >>> Enviado pelo meu Windows Phone >>> >>> ---------------------------------------------------------------------- >>> -- >>> >>> *From: *Markus Kilås >>> *Sent: *06/01/2013 11:27 >>> *To: *sig...@li... >>> <mailto:sig...@li...> >>> *Subject: *Re: [SignServer-develop] Worker's questions and Error WSDL >>> >>> On 2013-01-04 17:55, Marcos Fontana wrote: >>>> Hi, >>>> >>> >>> Hi Marcos, >>> >>>> >>>> >>>> When I’m are setting properties by the command: >>>> >>>> >>>> >>>> bin/signserver.sh setproperties >>>> doc/sample-configs/qs_pdfsigner_configuration.properties >>>> >>>> >>>> >>>> I got the console error: Error reading property file. Is there some >>>> place that I can see this log? >>>> >>> >>> You can get this error is the file is not existing or in any other way >>> not readable. Make sure that the file can be read by for instance >>> running "less doc/sample-configs/qs_pdfsigner_configuration.properties". >>> Unfortunately this is not logged anywhere in more detail than what is >>> printed on the console. >>> >>>> >>>> >>>> The configurations are right. Another question, what is the >>>> difference by worker and signer? >>> >>> A Worker is an entity in SignServer which has an Worker ID and a >>> configuration and can be called to perform some work. A signer is a >>> type of worker which uses a crypto token to sign something. >>> >>>> >>>> >>>> >>>> The ID or Worker name, in the case of PDF, is the PDFSigner, >>>> configured in this line: WORKERGENID1.NAME=PDFSigner? >>> >>> That property sets the worker name to "PDFSigner" for the new worker >>> which is about to be added. The WORKERGENID1 means that a new worker >>> with the next available ID will be created. >>> >>> If you instead want to define the worker ID you could replace >>> WORKERGENID1 with for instance WORKER47 (or any other ID). This is >>> recommended if you want to be able to apply (setproperties) the file >>> again without having a new worker to be created. >>> >>>> >>>> >>>> >>>> And another question, I’m getting this error when i try to >>>> instantiate the object os WSDL in this line >>>> >>>> : ISigningAndValidation _signserver_ = >>>> *new*SigningAndValidationWS("localhost", 8442, *true*); >>>> >>>> >>>> >>>> _javax.xml.ws.WebServiceException_: Failed to access the WSDL at: >>>> https://localhost:8442/signserver/signserverws/signserverws?wsdl. It >>>> failed with: >>>> >>>> _java.security.NoSuchAlgorithmException_: Error constructing >>>> implementation (algorithm: Default, provider: SunJSSE, class: >>>> com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl). >>>> >>>> at >>>> com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(Unkn >>>> own >>>> Source) >>>> >>>> at >>>> com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(Unknown >>>> Source) >>>> >>>> at >>>> com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(Unknown >>>> Source) >>>> >>>> at >>>> com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown >>>> Source) >>>> >>>> at >>>> com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown >>>> Source) >>>> >>>> at >>>> com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(Unknow >>>> n >>>> Source) >>>> >>>> at javax.xml.ws.Service.<init>(Unknown Source) >>>> >>>> at >>>> org.signserver.protocol.ws.gen.SignServerWSService.<init>(_SignServer >>>> WSService.java:42_) >>>> >>>> at >>>> org.signserver.client.api.SigningAndValidationWS.<init>(_SigningAndVa >>>> lidationWS.java:120_) >>>> >>>> at >>>> org.signserver.client.api.SigningAndValidationWS.<init>(_SigningAndVa >>>> lidationWS.java:83_) >>>> >>>> at >>>> certificate.model.ModelDocumento.assinarDocumento4(_ModelDocumento.ja >>>> va:145_) >>>> >>>> at certificate.principal.Principal.main(_Principal.java:70_) >>>> >>>> Caused by: _java.net.SocketException_: >>>> _java.security.NoSuchAlgorithmException_: Error constructing >>>> implementation (algorithm: Default, provider: SunJSSE, class: >>>> com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl) >>>> >>>> at >>>> javax.net.ssl.DefaultSSLSocketFactory.throwException(Unknown >>>> Source) >>>> >>>> at javax.net.ssl.DefaultSSLSocketFactory.createSocket(Unknown >>>> Source) >>>> >>>> at sun.net.www.protocol.https.HttpsClient.createSocket(Unknown >>>> Source) >>>> >>>> at sun.net.NetworkClient.doConnect(Unknown Source) >>>> >>>> at sun.net.www.http.HttpClient.openServer(Unknown Source) >>>> >>>> at sun.net.www.http.HttpClient.openServer(Unknown Source) >>>> >>>> at sun.net.www.protocol.https.HttpsClient.<init>(Unknown >>>> Source) >>>> >>>> at sun.net.www.protocol.https.HttpsClient.New(Unknown Source) >>>> >>>> at >>>> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewH >>>> ttpClient(Unknown >>>> Source) >>>> >>>> at >>>> sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown >>>> Source) >>>> >>>> at >>>> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect >>>> (Unknown >>>> Source) >>>> >>>> at >>>> sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown >>>> Source) >>>> >>>> at >>>> sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unkn >>>> own >>>> Source) >>>> >>>> at java.net.URL.openStream(Unknown Source) >>>> >>>> at >>>> com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.createReader(Un >>>> known >>>> Source) >>>> >>>> at >>>> com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.resolveWSDL(Unk >>>> nown Source) >>>> >>>> ... 11 more >>>> >>> >>> Have you defined the javax.net.ssl.trustStore and >>> javax.net.ssl.trustStorePassword system properties? >>> >>> See >>> http://signserver.org/manual/integration.html#Signing%20and%20validati >>> ng%20an%20XML%20document >>> for an example. >>> >>> >>> Best regards, >>> Markus >>> >>> >>> PrimeKey Solutions offers a commercial EJBCA & SignServer support >>> subscription and training. Please see www.primekey.se >>> <http://www.primekey.se> or contact in...@pr... >>> <mailto:in...@pr...> for more information. >>> http://www.primekey.se/Services/Support/ >>> http://www.primekey.se/Services/Training/ >>> >>> >>> >>> ---------------------------------------------------------------------- >>> -------- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, >>> HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your >>> skills current with LearnDevNow - 3,200 step-by-step video tutorials >>> by Microsoft MVPs and experts. ON SALE this month only -- learn more >>> at: >>> http://p.sf.net/sfu/learnmore_123012 >>> _______________________________________________ >>> SignServer-develop mailing list >>> Sig...@li... >>> <mailto:Sig...@li...> >>> https://lists.sourceforge.net/lists/listinfo/signserver-develop >>> >>> ---------------------------------------------------------------------- >>> -- >>> ---------------------------------------------------------------------- >>> -- >>> >>> Nenhum vírus encontrado nessa mensagem. >>> Verificado por AVG - www.avgbrasil.com.br >>> <http://www.avgbrasil.com.br> >>> Versão: 2013.0.2805 / Banco de dados de vírus: 2637/6014 - Data de >>> Lançamento: 01/06/13 >>> >>> >>> >>> ---------------------------------------------------------------------- >>> -------- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, >>> HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your >>> skills current with LearnDevNow - 3,200 step-by-step video tutorials >>> by Microsoft MVPs and experts. SALE $99.99 this month only -- learn >>> more at: >>> http://p.sf.net/sfu/learnmore_122412 >>> >>> >>> >>> _______________________________________________ >>> SignServer-develop mailing list >>> Sig...@li... >>> https://lists.sourceforge.net/lists/listinfo/signserver-develop >>> >> >> >> >> -- >> Kind regards, >> Markus Kilås >> Security Consultant & Developer >> >> PrimeKey Solutions AB >> >> Anderstorpsv. 16 >> 171 54 Solna >> Sweden >> >> Phone: +46 70 424 94 85 >> Skype: markusatskype >> Email: mar...@pr... >> >> www.primekey.se >> >> >> >> ---------------------------------------------------------------------------- >> -- >> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, >> Windows 8 Apps, JavaScript and much more. Keep your skills current with >> LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and >> experts. SALE $99.99 this month only -- learn more at: >> http://p.sf.net/sfu/learnmore_122412 >> _______________________________________________ >> SignServer-develop mailing list >> Sig...@li... >> https://lists.sourceforge.net/lists/listinfo/signserver-develop >> >> ----- >> Nenhum vírus encontrado nessa mensagem. >> Verificado por AVG - www.avgbrasil.com.br >> Versão: 2013.0.2805 / Banco de dados de vírus: 2637/6014 - Data de >> Lançamento: 01/06/13 >> >> ----- >> Nenhum vírus encontrado nessa mensagem. >> Verificado por AVG - www.avgbrasil.com.br >> Versão: 2013.0.2805 / Banco de dados de vírus: 2637/6014 - Data de >> Lançamento: 01/06/13 >> >> >> ------------------------------------------------------------------------------ >> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, >> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current >> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft >> MVPs and experts. SALE $99.99 this month only -- learn more at: >> http://p.sf.net/sfu/learnmore_122412 >> _______________________________________________ >> SignServer-develop mailing list >> Sig...@li... >> https://lists.sourceforge.net/lists/listinfo/signserver-develop >> > > -- PrimeKey Solutions offers a commercial EJBCA support subscription and training for EJBCA. Please see www.primekey.se or contact in...@pr... for more information. http://www.primekey.se/Services/Support/ http://www.primekey.se/Services/Training/ |