Hy all, 

We have a application that works fine in tomcat 5.5.9 with ssl support. We 
build some reports to work with pdf itext 1.2.1. It is working nice while we 
use the 8080 port or the 80 port, but it's not working when using ssl. The 
error is: 

javax.net.ssl.SSLHandshakeException: 
sun.security.validator.ValidatorException: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target 

We send it with: 

resposta.setHeader("Expires", "0"); 
resposta.setHeader("Cache-Control", "must-revalidate, post-check=0, 
pre-check=0"); 
resposta.setContentType("application/pdf"); 
resposta.setContentLength(baos.size()); 
ServletOutputStream out = resposta.getOutputStream(); 
baos.writeTo(out); 
out.flush(); 

Any clue? It's not working over IE and Firefox, with the same error. 

thank's in advance, 

otávio 

Reply via email to