Estoy empleando la configuración por defecto. Es decir, empleo como servidor TSA http://tss.accv.es:8318/tsa. Si intenro acceder a esta URL desde el navegador me aparece como caido.
Gracias. El 18 de enero de 2010 10:08, Ricardo Borillo <[email protected]>escribió: > Hola Elias, > > Parece que no puede conectar para obtener el sello de tiempo. > Mira en el ujiCrypto.conf qué dirección tienes configurada y comprueba > que hay conexión a esta dirección desde la máquina que está corriendo > CryptoApplet. > > --- > Salut, > ==================================== > Ricardo Borillo Domenech > http://xml-utils.com > > > > 2010/1/18 Elías Breijo <[email protected]>: > > Al firma un documento con el DNIe se produce el siguiente error: > > > > Java Plug-in 1.6.0_15 > > Usar versión JRE 1.6.0_15-b03 Java HotSpot(TM) Client VM > > Directorio local del usuario = C:\Documents and Settings\T02074.IBERIA > > > > ---------------------------------------------------- > > c: borrar ventana de consola > > f: finalizar objetos en la cola de finalización > > g: liberación de recursos > > h: presentar este mensaje de ayuda > > l: volcar lista del cargador de clases > > m: imprimir sintaxis de memoria > > o: activar registro > > q: ocultar consola > > r: recargar configuración de norma > > s: volcar propiedades del sistema y de despliegue > > t: volcar lista de subprocesos > > v: volcar pila de subprocesos > > x: borrar antememoria del cargador de clases > > 0-5: establecer nivel de rastreo en <n> > > ---------------------------------------------------- > > > > Reading certificates from 7504 > > http://localhost:8080/facturae-web/jars/ujiApplet-2.0.5.jar | > C:\Documents > > and Settings\T02074.IBERIA\Datos de > > programa\Sun\Java\Deployment\cache\6.0\54\6f695c36-63629e1c.idx > > Reading certificates from 29462 > > http://localhost:8080/facturae-web/jars/jakarta-log4j-1.2.6.jar | > > C:\Documents and Settings\T02074.IBERIA\Datos de > > programa\Sun\Java\Deployment\cache\6.0\13\350c9e0d-79d9d2f3.idx > > Reading certificates from 20632 > > http://localhost:8080/facturae-web/jars/ujiCrypto-2.0.5.jar | > C:\Documents > > and Settings\T02074.IBERIA\Datos de > > programa\Sun\Java\Deployment\cache\6.0\26\1ff9789a-45d76341.idx > > Creando handler clander ... > > User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR > > 2.0.50727; InfoPath.1; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) > > Reading certificates from 152282 > > http://localhost:8080/facturae-web/jars/bcprov-jdk15-138.jar | > C:\Documents > > and Settings\T02074.IBERIA\Datos de > > programa\Sun\Java\Deployment\cache\6.0\63\ca6117f-21b7aa10.idx > > Reading certificates from 20632 > > http://localhost:8080/facturae-web/jars/ujiCrypto-2.0.5.jar | > C:\Documents > > and Settings\T02074.IBERIA\Datos de > > programa\Sun\Java\Deployment\cache\6.0\26\1ff9789a-45d76341.idx > > PATH: C:\DOCUME~1\T02074~1.IBE\CONFIG~1\Temp\MicrosoftCryptoApi_0_3.dll > > Reading certificates from 3676 > > http://localhost:8080/facturae-web/jars/ujiUtils-2.0.5.jar | > C:\Documents > > and Settings\T02074.IBERIA\Datos de > > programa\Sun\Java\Deployment\cache\6.0\40\35bb5d28-70bb882d.idx > > 0000: 0E 15 8D 9F 6A C5 8B 31 - 67 30 BE 8F 4D 35 71 AB ....j..1g0..M5q. > > 0010: D4 C9 F9 90 .... > > > > > > --- > > > > 0000: 0E 15 8D 9F 6A C5 8B 31 - 67 30 BE 8F 4D 35 71 AB ....j..1g0..M5q. > > 0010: D4 C9 F9 90 .... > > > > navigator: IEXPLORER > > Reading certificates from 7504 > > http://localhost:8080/facturae-web/jars/ujiApplet-2.0.5.jar | > C:\Documents > > and Settings\T02074.IBERIA\Datos de > > programa\Sun\Java\Deployment\cache\6.0\54\6f695c36-63629e1c.idx > > Returning ksh= > > {iexplorer=es.uji.dsign.crypto.keystore.mscapikeyst...@c0a9f9} > > STORE: MSCapiKeyStore > > START: 1SIGNATURECOUNT: 1 > > Certificate Alias: CN=AC DNIE 001, OU=DNIE, O=DIRECCION GENERAL DE LA > > POLICIA, C=ES Serial=101072490246427849209996540475092063752 > > Seleccionando nombre fichero a: UNSET > > Reading certificates from 63308 > > http://localhost:8080/facturae-web/jars/myxmlsec.jar | C:\Documents and > > Settings\T02074.IBERIA\Datos de > > programa\Sun\Java\Deployment\cache\6.0\19\5392a993-3331fcf5.idx > > Reading certificates from 59284 > > http://localhost:8080/facturae-web/jars/xalan.jar | C:\Documents and > > Settings\T02074.IBERIA\Datos de > > programa\Sun\Java\Deployment\cache\6.0\45\2cc1dced-767c50db.idx > > Reading certificates from 29462 > > http://localhost:8080/facturae-web/jars/jakarta-log4j-1.2.6.jar | > > C:\Documents and Settings\T02074.IBERIA\Datos de > > programa\Sun\Java\Deployment\cache\6.0\13\350c9e0d-79d9d2f3.idx > > Reading certificates from 4018 > > http://localhost:8080/facturae-web/jars/bctsp-jdk15-138.jar | > C:\Documents > > and Settings\T02074.IBERIA\Datos de > > programa\Sun\Java\Deployment\cache\6.0\15\64ed0ccf-56962349.idx > > java.lang.NullPointerException > > at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown > > Source) > > at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown > Source) > > at > sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown > > Source) > > at > > > es.uji.dsign.crypto.TimeStampFactory.getTimeStamp(TimeStampFactory.java:46) > > at > > > es.uji.dsign.crypto.XAdESSignatureFactory.signDoc(XAdESSignatureFactory.java:161) > > at > > > es.uji.dsign.crypto.XAdESSignatureFactory.formatSignature(XAdESSignatureFactory.java:97) > > at es.uji.dsign.applet2.SignatureThread.run(SignatureThread.java:230) > > es.uji.dsign.applet2.Exceptions.SignatureAppletException: <html><font > > color='red'>No se ha podido calcular la firma</font></html> :: La > connexión > > ha expirado obteniendo la marca de tiempo. > > at es.uji.dsign.applet2.SignatureThread.run(SignatureThread.java:244) > > > > > > Es curioso, porque el viernes (15 Enero) parecía ir bien, pero hoy da > este > > fallo. ¿Podría tratarse de un problema con los servidores de la Policía > > Nacional? o ¿tengo algo mal en la configuración del CryptApplet?. > > > > El código html de mi página es el siguiente: > > > > <script language="javascript" type="text/javascript"> > > function onInitOk(){ > > Sign(); > > } > > > > function onSignOk(signature){ > > alert(signature); > > } > > > > function onSignOkFinalize(signature){ > > alert(signature); > > } > > > > function onSignError(errorDesc){ > > alert(errorDesc); > > } > > > > function onSignCancel(){ > > alert("User Canceled"); > > } > > > > function Sign(){ > > try { > > CryptApplet = document.getElementById('CryptoApplet'); > > } catch (err) { > > // Asumo que es IE y no hago nada > > } > > CryptoApplet.setLanguage("ES_es"); > > CryptoApplet.setInputDataEncoding("PLAIN"); > > CryptoApplet.setSignatureOutputFormat("XADES"); > > CryptoApplet.setXadesSignerRole("SignerRole"); > > > > CryptoApplet.signDataUrlToUrl(" > http://localhost:8080/facturae-web/GetUnsignedInvoiceAction.do"," > http://localhost:8080/facturae-web/PutSignedInvoiceAction.do", > > "signature"); > > } > > > > </script> > > > > <applet mayscript="mayscript" > > > > > archive="bcmail-jdk15-138.jar,bcprov-jdk15-138.jar,bctsp-jdk15-138.jar,itext-1.4.8.jar,jakarta-log4j-1.2.6.jar,MicrosoftCryptoApi_0_3.dll,myxmlsec.jar,ujiApplet-2.0.5.jar,ujiConfig-2.0.5.jar,ujiCrypto-2.0.5.jar,ujiUtils-2.0.5.jar,xalan.jar,xmlsec.jar" > > codebase="jars" height="0" width="0" > > code="es.uji.dsign.applet2.SignatureApplet" > > name="CryptoApplet" id="CryptoApplet"/> > > > > > > > > _______________________________________________ > > CryptoApplet mailing list > > [email protected] > > http://llistes.uji.es/mailman/listinfo/cryptoapplet > > > > >
_______________________________________________ CryptoApplet mailing list [email protected] http://llistes.uji.es/mailman/listinfo/cryptoapplet
