Modify

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#12612 closed defect (fixed)

Error when loading ORT10LT (Lithuania) imagery layer

Reported by: Jurkis Owned by: team
Priority: normal Milestone: 16.04
Component: Core imagery Version:
Keywords: template_report certificate http Cc:

Description

What steps will reproduce the problem?

  1. Open JOSM and Find Lithuania
  2. Open Imagery->ORT10LT (Lithuania)

What is the expected result?

ORT10LT (Lithuania)image file is loaded.

What happens instead?

An error occures (see attachment). If I try to load another imagery (Bing, Mapbox Satellite or other) everything is ok.

Please provide any additional information below. Attach a screenshot if possible.

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-02-28 14:07:49 +0100 (Sun, 28 Feb 2016)
Build-Date:2016-02-28 22:44:23
Revision:9900
Relative:URL: ^/trunk

Identification: JOSM/1.5 (9900 or 9960 en) Windows 8.1 64-Bit
Memory Usage: 169 MB / 247 MB (66 MB allocated, but free)
Java version: 1.8.0_73-b02, Oracle Corporation, Java HotSpot(TM) Client VM
VM arguments: [-Duser.home=E:\PortableApps\JavaPortableLauncher\Data\AppData]
Dataset consistency test: No problems found

Plugins:
- HouseNumberTaggingTool (31772)
- Mapillary (32040)
- OpeningHoursEditor (31772)
- apache-commons (31895)
- apache-http (31895)
- buildings_tools (31895)
- editgpx (31772)
- terracer (31895)
- turnrestrictions (31895)

Last errors/warnings:
- W: 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. Cause: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Cause: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
- W: 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. Cause: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Cause: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
- W: 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. Cause: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Cause: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
- W: 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. Cause: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Cause: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
- W: 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. Cause: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Cause: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Attachments (1)

errorloadingimagery.jpg (96.6 KB ) - added by Jurkis 8 years ago.

Download all attachments as: .zip

Change History (8)

by Jurkis, 8 years ago

Attachment: errorloadingimagery.jpg added

comment:1 by simon04, 8 years ago

Keywords: certificate http added
Resolution: othersoftware
Status: newclosed

ORT10LT is serving the content via HTTPS only and using a Let's Encrypt certificate which is not in the Java keystore: notice the redirection from http://mapproxy.openmap.lt/ort10lt to https://mapproxy.openmap.lt/ort10lt.

comment:2 by wiktorn, 8 years ago

Maybe we can have non-validating https client in JOSM for such cases?

I guess, that this could be done creating SSLContext with TrustManager, that accepts all servers, and use this socket factory, to make connections to imagery provider. But I haven't tried this yet in Java.

@team:
What do you think about such approach? (actually this is already the case in Poland, where some services are protected by CA that's not present in Java distribution)

comment:3 by Don-vip, 8 years ago

I think #12264 is the way to go: we can embed IdenTrust CA until Oracle adds it.

comment:4 by wiktorn, 8 years ago

I guess that I haven't added IdenTrust CA myself, and it looks like on Java 9 it's already bundled by Oracle.

comment:5 by Don-vip, 8 years ago

It's not. I just have checked with latest builds (jdk9 b108 + jigsaw b109) as follows:

keytool -list -v -keystore /opt/jdk-8-ea/jre/lib/security/cacerts -storepass changeit | grep Owner | sort > jdk8ea.txt
keytool -list -v -keystore /opt/jdk-9/lib/security/cacerts -storepass changeit | grep Owner | sort > jdk9.txt
keytool -list -v -keystore /opt/jdk-9-jigsaw/lib/security/cacerts -storepass changeit | grep Owner | sort > jdk9-jigsaw.txt

the list is the same for JDK8 and JDK9. It does not include IdenTrust.

comment:6 by simon04, 8 years ago

Resolution: othersoftwarefixed

Fixed in the course of #12264.

comment:7 by Don-vip, 8 years ago

Milestone: 16.04

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.