What is meant by "Discussions"?
SSL Problem with pdf
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > Java Programming > SSL Problem with pdf 9 May 2005 23:00:39

  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

SSL Problem with pdf

Otaviofcs 9 May 2005 23:00:39
 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.SSLHa­ndshakeException:
sun.security.valida­tor.ValidatorExcepti­on: PKIX path building failed:
sun.security.provid­er.certpath.SunCertP­athBuilderException:­ 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.setContent­Type("application/pd­f");
resposta.setContent­Length(baos.size());­
ServletOutputStream­ out = resposta.getOutputS­tream();
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
Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > Java Programming > SSL Problem with pdf 9 May 2005 23:00:39

see also:
[Security & JAAS/JBoss] - SSL With…
[JBoss Portal] - Re: JBP 2.4.0 CR3…
[JBossWS] - Re: Web client for WS…
пройди тесты:
Do you know women?
see also:
MelodyCan feature list
Hey
Hello everyone! I start my blog. ...

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .