DO NOT REPLY [Bug 29099] - pdf images does not appear in https

2004-06-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29099

pdf images does not appear in https

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2004-06-23 15:34 ---
You need to put this before you make the connection in your code or in the 
worst case inside the FopImageFactory.java before the image is being loaded:

protected void initHTTPSForFOP()
{
//to solve the "HTTPS hostname wrong: should be " error 
when recovering Image Informations
//the HttpsURLConnection needs to have a default 
HostnameVerifier configured
HostnameVerifier tHostnameVerifier = new HostnameVerifier()
{
public boolean verify(String aUrlHostName, 
String aCertHostName)
{   //now only returns true but can verify 
if aUrlHostName equals to a given URL
//System.out.println("HTTPS Warning");
return true;
}
};
HttpsURLConnection.setDefaultHostnameVerifier
(tHostnameVerifier);

}


DO NOT REPLY [Bug 29099] - pdf images does not appear in https

2004-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29099

pdf images does not appear in https





--- Additional Comments From [EMAIL PROTECTED]  2004-05-20 08:32 ---
This issue has been discussed many times in the archives. Here is a link to 
one such thread:

http://marc.theaimsgroup.com/?l=fop-user&m=106140830410154&w=2

It would appear that this issue may be related to the JDK. You may want to do 
a search yourself and review other answers.

Polite Request: When facing problems such as this, could you please raise it 
on the user mailing list before raising a bug.