Oh… I know where that error comes from.

That means it can’t find a certificate needed to access that URL.

You will need to install a certificate for the particular JDK running your app.

Keystore default password: changeit

Example of how to install a certificate on windows:

keytool -import -alias "PELSSERS-ROOT-CA" -keystore 
C:/development/Java/jdk1.6.0_32/jre/lib/security/cacerts -file 
PELSSERSROOTCA.crt


Kind regards,
Robby

From: "Antonio M. Mérida" [mailto:[email protected]]
Sent: Saturday, February 16, 2013 9:24 PM
To: [email protected]
Subject: Error pattern in block

hi,

I'm trying to do "pattern" to a URL with a simple block of cocoon and I have 
this error:

<exception-report 
class="sun.security.provider.certpath.SunCertPathBuilderException" 
timestamp="Sat, 16 Feb 2013 20:32:37 +0100">
<message>
unable to find valid certification path to requested target
</message>
<stacktrace>
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target at 
sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:174)
 at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:238) at 
sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:318) at 
sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:217) at 
sun.security.validator.Validator.validate(Validator.java:218) at 
com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:126)
 at .....................

The block is this:

  <map:pipeline>
    <map:match pattern="product">
      <map:generate 
src="https://projectwebproduct/file-form.html";<https://projectwebproduct/file-form.html>
 />
      <map:serialize type="xml"/>
    </map:match>
  </map:pipeline>

Can the problem by URL "https://";?,
Thanks.

--

Antonio M. Mérida -- codeBusters.es

Reply via email to