Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
jps26401  
#1 Posted : Thursday, October 11, 2007 3:40:39 PM(UTC)
jps26401

Rank: Member

Groups: Member
Joined: 3/20/2007(UTC)
Posts: 21

Hello,
I have problem to send files with ImageUploader via HTTPS protocol. We created provisional self-signed certificate for testing and something is propably wrong because I got warning at the beginning of site loading - "site certificate doesn't match hostname".

Please I would appreciate any help. Is problem in certificate only or should be set anything else?


Here is report from my console:
Code:

Java Plug-in 1.5.0_13
Using JRE version 1.5.0_13 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\pjuza

Aurigma ImageUploader version: 2.5.35.0
Current document URL: https://s5rjurik2.bolab.anect.cz:8443/mis_local/addDocument.htm
Reading cookies
Cookies: JSESSIONID=8209F2EAB3F887D0274E129E126A4F37
Reading referer
Referer: https://s5rjurik2.bolab.anect.cz:8443/mis_local/addDocument.htm
Thumbnail version: 2.5.35.0
Reading additional form content
Radio/Checkbox: (does not sent)
Form element:
Wrong element:
Form element:>>
Form element:
Form element:
Form element:
Form element:
Form element:
Form element:
Wrong element:
Radio/Checkbox:
Radio/Checkbox: (does not sent)
Form element:
Form element:
Form element:
Wrong element:
Wrong element:
Form element:
Form element:
Form element:
Wrong element:
Wrong element:
Form element:
Form element:
Form element:
Form element:
Radio/Checkbox: (does not sent)
Form element:
Form element:
Form element:
Wrong element:
Wrong element:
Wrong element:
Wrong element:
Wrong element:
Wrong element:
Wrong element:
Wrong element:
Radio/Checkbox: (does not sent)
Additional form processing done
>>>>>>>>>>>>>  addDocument.htm
>>>>>>>>>>>>>  addDocument.htm
Uploading to https://s5rjurik2.bolab.anect.cz:8443/mis_local/addDocument.htm
Setting HTTPS params: Host=s5rjurik2.bolab.anect.cz; Port=8443
Starting upload
IOException occured
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
-----
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
	at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
	at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown Source)
	at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown Source)
	at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Unknown Source)
	at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown Source)
	at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source)
	at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown Source)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(Unknown Source)
	at com.sun.net.ssl.internal.ssl.AppOutputStream.write(Unknown Source)
	at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
	at java.io.BufferedOutputStream.write(Unknown Source)
	at java.io.FilterOutputStream.write(Unknown Source)
	at com.aurigma.imageuploader.upload.httpclient.e.sendTransferEncodingHeader(Unknown Source)
	at org.apache.commons.httpclient.methods.multipart.Part.send(Unknown Source)
	at com.aurigma.imageuploader.upload.httpclient.e.send(Unknown Source)
	at org.apache.commons.httpclient.methods.multipart.Part.sendParts(Unknown Source)
	at org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity.writeRequest(Unknown Source)
	at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(Unknown Source)
	at org.apache.commons.httpclient.HttpMethodBase.writeRequest(Unknown Source)
	at org.apache.commons.httpclient.HttpMethodBase.execute(Unknown Source)
	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknown Source)
	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown Source)
	at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
	at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
	at com.aurigma.imageuploader.upload.c.a(Unknown Source)
	at com.aurigma.imageuploader.upload.c.b(Unknown Source)
	at com.aurigma.imageuploader.upload.c.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	at sun.security.validator.PKIXValidator.doBuild(Unknown Source)
	at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
	at sun.security.validator.Validator.validate(Unknown Source)
	at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
	at org.apache.commons.httpclient.contrib.ssl.EasyX509TrustManager.checkServerTrusted(Unknown Source)
	at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(Unknown Source)
	... 27 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)
	at java.security.cert.CertPathBuilder.build(Unknown Source)
	... 33 more
-----
###Error occured###
Status=[ERROR]
Progress=[0]
ValueMax=[0]
Value=[0]
[ErrorPage]
null
[EndOfErrorPage]
jps26401  
#2 Posted : Tuesday, October 16, 2007 9:19:56 PM(UTC)
jps26401

Rank: Member

Groups: Member
Joined: 3/20/2007(UTC)
Posts: 21

Problem solved.

Problem was that our server certificate was self-signed by our testing certification authority (CA) and this CA wasn't in trusted CAs of Java in the client side (when applet was running). I had to add our CA into trusted CAs (lib/security/cacerts).

PETER
rajangoraya  
#3 Posted : Wednesday, February 13, 2008 11:57:30 PM(UTC)
rajangoraya

Rank: Newbie

Groups: Member
Joined: 2/13/2008(UTC)
Posts: 1

Could you point to a resource on how to add CA into trusted CAs.
Thanks
Raj
Nadya  
#4 Posted : Wednesday, February 15, 2012 8:35:38 PM(UTC)
Nadya

Rank: Newbie

Groups: Member
Joined: 2/7/2012(UTC)
Posts: 7

I'm having the same issue Brick wall Can anyone please help?

Edited by user Wednesday, February 15, 2012 10:12:15 PM(UTC)  | Reason: Not specified

Dmitry.Obukhov  
#5 Posted : Thursday, February 16, 2012 12:02:30 AM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Hello Nadya,

Could you please provide me with a link to your page with Image Uploader Flash (login/password if any)? I will check it. If you do not want to public login information on forum, you will be able to submit new support ticket.
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
Nadya  
#6 Posted : Thursday, February 16, 2012 1:58:49 PM(UTC)
Nadya

Rank: Newbie

Groups: Member
Joined: 2/7/2012(UTC)
Posts: 7

Hi Dmitry,
this website is on my dev machine, there's no access to it from outside. I'm sure you'll be able to easily reproduce this on your box if you set it up in a way similar to mine. I'm using IIS 6 with a self-signed certificate where "CN" field differs from the site header, e.g. my site is "aaa.mymachine.dev.au" while the certificate is for "mymachine.companyname.office" - and this cannot be changed because this site is an application within another site.
ActiveX vertion (in IE) works fine while Java version throws an exception mentioned earlier.
Nadya  
#7 Posted : Thursday, February 16, 2012 2:32:46 PM(UTC)
Nadya

Rank: Newbie

Groups: Member
Joined: 2/7/2012(UTC)
Posts: 7

I've created a support ticket about this.
Dmitry.Obukhov  
#8 Posted : Thursday, February 16, 2012 5:33:47 PM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Thank you. I will check it.
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.