Modify

Opened 6 years ago

Closed 6 years ago

#18145 closed defect (othersoftware)

About to execute josm behind a zscaler proxy

Reported by: joluinfante Owned by: joluinfante
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc:

Description (last modified by Don-vip)

Hi.
I am installing josm in the workplace of an office editor, who will be in charge of maintaining some street plans (streets and heights) in some towns that do not have it (for example Theobald, in Santa Fe). The issue is that through internal policies, all posts access through the zscaler proxy (a kind of proxy in the cloud).
The problem is that errors appear.
I tried to reproduce the problem with the browser, and, pointing to https://api.openstreetmap.org/api/capabilities, I "answered":

csp14309: Unknown directive "manifest-src" in Context-Security-Policy: the directive will be dispensed with.
csp14132: The resource violated the "script-src https: *.zscloud.net 'self' piwik.openstreetmap.org" directive in Content-Security-Policy: res: edgehtml.dll/xmltreeview.js. The resource will be blocked.

Is there a way around this, without having to exceptions from the zscaler?

Attachments (0)

Change History (5)

comment:1 by joluinfante, 6 years ago

Excuse me.
The problem acceding to the url works in chrome.
Then, this is not the problem.

But, If I execute the program with --debug option, I can see:
javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.
I did install in the keystore the certificates x1, isrg and x3iden.
But, this not repare the problem.

Important: I'm running on windows machine.

comment:2 by joluinfante, 6 years ago

I did try the solution in: https://josm.openstreetmap.de/ticket/16175, but, don't resolve it.

comment:3 by Don-vip, 6 years ago

Description: modified (diff)
Owner: changed from team to joluinfante
Status: newneedinfo
Summary: About to execute jsom behind a zscaler proxyAbout to execute josm behind a zscaler proxy

Can you please share the full debug logs?

comment:4 by joluinfante, 6 years ago

Hi. I'm executing this sentence:

cd \program files (x86)\josm
java -jar josm-tested.jar --debug

And the output is:

2019-09-19 09:58:52.117 INFORMACI�N: El nivel de registro es a las DETALLADO (FINE, 500)
2019-09-19 09:58:52.387 DETALLADO: System property 'http.agent' set to 'JOSM/1.5 (15322 es) Windows 10 64-Bit'. Old value 
was 'null'
2019-09-19 09:58:52.387 DETALLADO: System property 'user.language' set to ''. Old value was 'es'
2019-09-19 09:58:52.387 DETALLADO: System property 'sun.net.http.retryPost' set to 'false'. Old value was 'null'
2019-09-19 09:58:52.503 DETALLADO: System property 'sun.awt.fontconfig' set to 'C:\Users\nq4118\AppData\Local\JOSM\cache\f
ontconfig.properties'. Old value was 'null'
2019-09-19 09:58:53.151 DETALLADO: System property 'java.protocol.handler.pkgs' set to 'org.openstreetmap.josm.io.protocol
s'. Old value was 'null'
2019-09-19 09:58:53.668 DETALLADO: powershell -Command [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocol
Type]::Tls12;[System.Net.WebRequest]::Create('https://roottest-g2.pkioverheid.nl').GetResponse()
2019-09-19 09:58:56.090 DETALLADO: powershell -Command [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocol
Type]::Tls12;[System.Net.WebRequest]::Create('https://roottest-g3.pkioverheid.nl').GetResponse()
2019-09-19 09:58:58.338 DETALLADO: powershell -Command [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocol
Type]::Tls12;[System.Net.WebRequest]::Create('https://roottest-g3.pkioverheid.nl').GetResponse()
2019-09-19 09:58:59.893 DETALLADO: powershell -Command [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocol
Type]::Tls12;[System.Net.WebRequest]::Create('https://www.certigna.fr').GetResponse()
2019-09-19 09:59:04.192 DETALLADO: powershell -Command [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocol
Type]::Tls12;[System.Net.WebRequest]::Create('https://eidas.disig.sk').GetResponse()
2019-09-19 09:59:06.755 DETALLADO: powershell -Command [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocol
Type]::Tls12;[System.Net.WebRequest]::Create('https://grca.nat.gov.tw').GetResponse()
2019-09-19 09:59:09.235 DETALLADO: powershell -Command [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocol
Type]::Tls12;[System.Net.WebRequest]::Create('https://grca.nat.gov.tw').GetResponse()
2019-09-19 09:59:11.539 DETALLADO: powershell -Command [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocol
Type]::Tls12;[System.Net.WebRequest]::Create('https://e-szigno.hu').GetResponse()
2019-09-19 09:59:14.839 DETALLADO: Inicializando
2019-09-19 09:59:14.854 DETALLADO: Determinando los complementos a cargar...
2019-09-19 09:59:14.854 DETALLADO: Plugins list initialized to [imagery_offset_db, turnrestrictions]
2019-09-19 09:59:14.854 DETALLADO: Eliminando complementos obsoletos...
2019-09-19 09:59:14.854 DETALLADO: Eliminando complementos no mantenidos...
2019-09-19 09:59:14.854 DETALLADO: Plugins list is finally set to [imagery_offset_db, turnrestrictions]
2019-09-19 09:59:14.854 DETALLADO: Leyendo la informaci�n del complemento local...
2019-09-19 09:59:14.873 DETALLADO: Procesando archivos de complementos...
2019-09-19 09:59:14.873 DETALLADO: Procesando archivo "imagery_offset_db.jar"
2019-09-19 09:59:14.892 DETALLADO: Procesando archivo "turnrestrictions.jar"
2019-09-19 09:59:14.992 DETALLADO: Instalando complementos actualizados
2019-09-19 09:59:15.008 DETALLADO: Cargando los primeros complementos
2019-09-19 09:59:15.008 DETALLADO: Cargando complementos...
2019-09-19 09:59:15.008 DETALLADO: Comprobando requisitos previos del complemento...
2019-09-19 09:59:15.008 DETALLADO: Ajuste de predefinidos
2019-09-19 09:59:15.248 DETALLADO: Creando la interfaz principal de usuario
2019-09-19 09:59:15.264 DETALLADO: Inicializando el formato de coordenadas
2019-09-19 09:59:15.281 DETALLADO: Inicializando el formato de coordenadas completado en  (17 ms)
2019-09-19 09:59:15.282 DETALLADO: Iniciando vigilante de archivos
2019-09-19 09:59:15.282 DETALLADO: Iniciando vigilante de archivos completado en  (0 ms)
2019-09-19 09:59:15.283 DETALLADO: Ejecutando enganche de inicio a la plataforma
2019-09-19 09:59:15.286 DETALLADO: java.lang.ClassNotFoundException: com.sun.deploy.config.BuiltInProperties
2019-09-19 09:59:15.286 DETALLADO: Ejecutando enganche de inicio a la plataforma completado en  (3 ms)
2019-09-19 09:59:15.287 DETALLADO: Construyendo el men� principal
2019-09-19 09:59:15.290 DETALLADO: File watcher thread started
2019-09-19 09:59:16.311 DETALLADO: Construyendo el men� principal completado en  (1,0 s)
2019-09-19 09:59:16.326 DETALLADO: Actualizando interfaz de usuario
2019-09-19 09:59:16.342 DETALLADO: Actualizando interfaz de usuario completado en  (16 ms)
2019-09-19 09:59:16.342 DETALLADO: Inicializando datos internos de l�mites
2019-09-19 09:59:16.373 DETALLADO: Preparando datos OSM...
2019-09-19 09:59:16.373 DETALLADO: Analizando los datos de OSM...
2019-09-19 09:59:16.395 DETALLADO: Parsed search expression is oneway=-1
2019-09-19 09:59:16.395 DETALLADO: Parsed search expression is oneway? || (aerialway=chair_lift && !oneway=no) || (aerialw
ay=rope_tow && !oneway=no) || (aerialway=magic_carpet && !oneway=no) || (aerialway=zip_line && !oneway=no) || (aerialway=d
rag_lift && !oneway=no) || (aerialway=t-bar && !oneway=no) || (aerialway=j-bar && !oneway=no) || (aerialway=platter && !on
eway=no) || waterway=stream || waterway=river || waterway=ditch || waterway=drain || (piste:type=downhill && !area=yes) ||
 (piste:type=sled && !area=yes) || (man_made=piste:halfpipe && !area=yes) || junction=roundabout || (highway=motorway && !
oneway=no && !oneway=reversible) || (highway=motorway_link && !oneway=no && !oneway=reversible)
2019-09-19 09:59:16.411 DETALLADO: Contactando con el servidor...
2019-09-19 09:59:16.696 DETALLADO: Preparando conjunto de datos...
2019-09-19 09:59:16.812 DETALLADO: Haciendo pos-procesamiento del conjunto de datos...
2019-09-19 09:59:16.812 DETALLADO: Representando el conjunto de datos...
2019-09-19 09:59:16.973 INFORMACI�N: GET https://josm.openstreetmap.de/wiki/Es:StartupPage -> !!!
2019-09-19 09:59:16.973 ADVERTENCIA: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider
.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Causa: sun.security.va
lidator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable 
to find valid certification path to requested target. Causa: sun.security.provider.certpath.SunCertPathBuilderException: u
nable to find valid certification path to requested target
javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException
: unable to find valid certification path to requested target
        at java.base/sun.security.ssl.Alert.createSSLException(Unknown Source)
        at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
        at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
        at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
        at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(Unknown Source)
        at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.onCertificate(Unknown Source)
        at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.consume(Unknown Source)
        at java.base/sun.security.ssl.SSLHandshake.consume(Unknown Source)
        at java.base/sun.security.ssl.HandshakeContext.dispatch(Unknown Source)
        at java.base/sun.security.ssl.HandshakeContext.dispatch(Unknown Source)
        at java.base/sun.security.ssl.TransportContext.dispatch(Unknown Source)
        at java.base/sun.security.ssl.SSLTransport.decode(Unknown Source)
        at java.base/sun.security.ssl.SSLSocketImpl.decode(Unknown Source)
        at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source)
        at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
        at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
        at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
        at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source)
        at org.openstreetmap.josm.tools.Http1Client.performConnection(Http1Client.java:77)
        at org.openstreetmap.josm.tools.HttpClient.connect(HttpClient.java:142)
        at org.openstreetmap.josm.tools.HttpClient.connect(HttpClient.java:122)
        at org.openstreetmap.josm.tools.WikiReader.readLang(WikiReader.java:100)
        at org.openstreetmap.josm.tools.WikiReader.readLang(WikiReader.java:75)
        at org.openstreetmap.josm.gui.GettingStarted$MotdContent.updateData(GettingStarted.java:100)
        at org.openstreetmap.josm.io.CacheCustomContent.updateForce(CacheCustomContent.java:141)
        at org.openstreetmap.josm.io.CacheCustomContent.updateForceString(CacheCustomContent.java:153)
        at org.openstreetmap.josm.io.CacheCustomContent.updateIfRequiredString(CacheCustomContent.java:131)
        at org.openstreetmap.josm.gui.GettingStarted.lambda$getMOTD$2(GettingStarted.java:177)
        at java.base/java.lang.Thread.run(Unknown Source)
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPat
hBuilderException: unable to find valid certification path to requested target
        at java.base/sun.security.validator.PKIXValidator.doBuild(Unknown Source)
        at java.base/sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
        at java.base/sun.security.validator.Validator.validate(Unknown Source)
        at java.base/sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source)
        at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
        at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
        ... 25 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requeste
d target
        at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(Unknown Source)
        at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)
        at java.base/java.security.cert.CertPathBuilder.build(Unknown Source)
        ... 31 more

2019-09-19 09:59:16.990 ADVERTENCIA: Error al leer el MOTD. La excepci�n fue: javax.net.ssl.SSLHandshakeException: PKIX pa
th building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to
 requested target: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertP
athBuilderException: unable to find valid certification path to requested target. Causa: sun.security.validator.ValidatorE
xception: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid cert
ification path to requested target. Causa: sun.security.provider.certpath.SunCertPathBuilderException: unable to find vali
d certification path to requested target
2019-09-19 09:59:17.097 DETALLADO: Inicializando datos internos de l�mites completado en  (755 ms)
2019-09-19 09:59:17.113 DETALLADO: Inicializando API de OSM
2019-09-19 09:59:17.113 DETALLADO: Inicializando validador
2019-09-19 09:59:17.113 DETALLADO: Inicializando datos internos de tr�fico
2019-09-19 09:59:17.113 DETALLADO: Inicializando predefinidos
2019-09-19 09:59:17.128 DETALLADO: Contactando con el servidor...
2019-09-19 09:59:17.128 DETALLADO: Reading presets from resource://data/defaultpresets.xml
2019-09-19 09:59:17.213 DETALLADO: Parsed search expression is highway || route=ferry
2019-09-19 09:59:17.213 DETALLADO: Parsed search expression is tourism || amenity
2019-09-19 09:59:17.213 DETALLADO: Parsed search expression is natural=peak || natural=volcano || mountain_pass=yes || nat
ural=water || tourism=viewpoint || amenity=drinking_water || natural=spring || place=locality
2019-09-19 09:59:17.213 DETALLADO: Parsed search expression is information=guidepost
2019-09-19 09:59:17.444 DETALLADO: Skipping Lesotho because inner part of South Africa
2019-09-19 09:59:17.444 DETALLADO: Skipping null because inner part of United Kingdom
2019-09-19 09:59:17.444 DETALLADO: Skipping null because inner part of United Kingdom
Warning: Nashorn engine is planned to be removed from a future JDK release
2019-09-19 09:59:17.498 DETALLADO: Inicializando datos internos de tr�fico completado en  (385 ms)
2019-09-19 09:59:17.498 DETALLADO: Inicializando estilos de mapa
2019-09-19 09:59:17.730 DETALLADO: Inicializando validador completado en  (617 ms)
2019-09-19 09:59:17.730 DETALLADO: Cargando preferencias de im�genes
2019-09-19 09:59:17.761 DETALLADO: Contactando con el servidor...
2019-09-19 09:59:17.814 DETALLADO: Initializing map style resource://styles/standard/elemstyles.mapcss completed in 285 ms
2019-09-19 09:59:17.945 INFORMACI�N: GET https://api.openstreetmap.org/api/capabilities -> !!!
2019-09-19 09:59:17.945 ADVERTENCIA: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider
.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Causa: sun.security.va
lidator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable 
to find valid certification path to requested target. Causa: sun.security.provider.certpath.SunCertPathBuilderException: u
nable to find valid certification path to requested target
javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException
: unable to find valid certification path to requested target
        at java.base/sun.security.ssl.Alert.createSSLException(Unknown Source)
        at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
        at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
        at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
        at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(Unknown Source)
        at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.onCertificate(Unknown Source)
        at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.consume(Unknown Source)
        at java.base/sun.security.ssl.SSLHandshake.consume(Unknown Source)
        at java.base/sun.security.ssl.HandshakeContext.dispatch(Unknown Source)
        at java.base/sun.security.ssl.HandshakeContext.dispatch(Unknown Source)
        at java.base/sun.security.ssl.TransportContext.dispatch(Unknown Source)
        at java.base/sun.security.ssl.SSLTransport.decode(Unknown Source)
        at java.base/sun.security.ssl.SSLSocketImpl.decode(Unknown Source)
        at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source)
        at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
        at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
        at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
        at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source)
        at org.openstreetmap.josm.tools.Http1Client.performConnection(Http1Client.java:77)
        at org.openstreetmap.josm.tools.HttpClient.connect(HttpClient.java:142)
        at org.openstreetmap.josm.tools.HttpClient.connect(HttpClient.java:122)
        at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:686)
        at org.openstreetmap.josm.io.OsmApi$CapabilitiesCache.updateData(OsmApi.java:211)
        at org.openstreetmap.josm.io.CacheCustomContent.updateForce(CacheCustomContent.java:141)
        at org.openstreetmap.josm.io.CacheCustomContent.updateForceString(CacheCustomContent.java:153)
        at org.openstreetmap.josm.io.CacheCustomContent.updateIfRequiredString(CacheCustomContent.java:131)
        at org.openstreetmap.josm.io.OsmApi.initialize(OsmApi.java:241)
        at org.openstreetmap.josm.gui.MainInitialization.lambda$parallelInitializationTasks$5(MainInitialization.java:110)
        at org.openstreetmap.josm.spi.lifecycle.InitializationTask.call(InitializationTask.java:33)
        at org.openstreetmap.josm.spi.lifecycle.InitializationTask.call(InitializationTask.java:11)
        at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPat
hBuilderException: unable to find valid certification path to requested target
        at java.base/sun.security.validator.PKIXValidator.doBuild(Unknown Source)
        at java.base/sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
        at java.base/sun.security.validator.Validator.validate(Unknown Source)
        at java.base/sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source)
        at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
        at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
        ... 30 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requeste
d target
        at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(Unknown Source)
        at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)
        at java.base/java.security.cert.CertPathBuilder.build(Unknown Source)
        ... 36 more

2019-09-19 09:59:17.945 ADVERTENCIA: Already here sun.security.provider.certpath.SunCertPathBuilderException: unable to fi
nd valid certification path to requested target
2019-09-19 09:59:17.945 ADVERTENCIA: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid cert
ification path to requested target
2019-09-19 09:59:17.945 DETALLADO: Inicializando API de OSM completado en  (832 ms)
2019-09-19 09:59:18.046 DETALLADO: Inicializando estilos de mapa completado en  (548 ms)
2019-09-19 09:59:18.094 DETALLADO: Parsed search expression is public_transport=stop_position && (train=yes || subway=yes 
|| monorail=yes || tram=yes || light_rail=yes)
2019-09-19 09:59:18.095 DETALLADO: Parsed search expression is public_transport=stop_position && (train=yes || subway=yes 
|| monorail=yes || tram=yes || light_rail=yes)
2019-09-19 09:59:18.096 DETALLADO: Parsed search expression is public_transport=stop_position && (train=yes || subway=yes 
|| monorail=yes || tram=yes || light_rail=yes)
2019-09-19 09:59:18.097 DETALLADO: Parsed search expression is public_transport=platform
2019-09-19 09:59:18.097 DETALLADO: Parsed search expression is public_transport=platform
2019-09-19 09:59:18.098 DETALLADO: Parsed search expression is public_transport=platform
2019-09-19 09:59:18.099 DETALLADO: Parsed search expression is railway
2019-09-19 09:59:18.099 DETALLADO: Parsed search expression is public_transport=stop_position && (bus=yes || trolleybus=ye
s)
2019-09-19 09:59:18.099 DETALLADO: Parsed search expression is public_transport=stop_position && (bus=yes || trolleybus=ye
s)
2019-09-19 09:59:18.099 DETALLADO: Parsed search expression is public_transport=stop_position && (bus=yes || trolleybus=ye
s)
2019-09-19 09:59:18.099 DETALLADO: Parsed search expression is public_transport=platform
2019-09-19 09:59:18.099 DETALLADO: Parsed search expression is public_transport=platform
2019-09-19 09:59:18.099 DETALLADO: Parsed search expression is public_transport=platform
2019-09-19 09:59:18.099 DETALLADO: Parsed search expression is highway
2019-09-19 09:59:18.099 DETALLADO: Parsed search expression is type=route
2019-09-19 09:59:18.099 DETALLADO: Parsed search expression is public_transport=stop_position
2019-09-19 09:59:18.099 DETALLADO: Parsed search expression is public_transport=platform
2019-09-19 09:59:18.099 DETALLADO: Parsed search expression is railway=subway_entrance
2019-09-19 09:59:18.099 DETALLADO: Parsed search expression is amenity || public_transport=station
2019-09-19 09:59:18.115 DETALLADO: Parsed search expression is highway=bus_stop || railway=station || railway=halt || rail
way=tram_stop
2019-09-19 09:59:18.115 DETALLADO: Parsed search expression is highway=bus_stop || railway=station || railway=halt || rail
way=tram_stop
2019-09-19 09:59:18.115 DETALLADO: Parsed search expression is highway=bus_stop || railway=station || railway=halt || rail
way=tram_stop
2019-09-19 09:59:18.115 DETALLADO: Parsed search expression is highway=platform || railway=platform
2019-09-19 09:59:18.395 INFORMACI�N: GET https://josm.openstreetmap.de/maps -> !!!
2019-09-19 09:59:18.396 ADVERTENCIA: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider
.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Causa: sun.security.va
lidator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable 
to find valid certification path to requested target. Causa: sun.security.provider.certpath.SunCertPathBuilderException: u
nable to find valid certification path to requested target
javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException
: unable to find valid certification path to requested target
        at java.base/sun.security.ssl.Alert.createSSLException(Unknown Source)
        at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
        at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
        at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
        at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(Unknown Source)
        at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.onCertificate(Unknown Source)
        at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.consume(Unknown Source)
        at java.base/sun.security.ssl.SSLHandshake.consume(Unknown Source)
        at java.base/sun.security.ssl.HandshakeContext.dispatch(Unknown Source)
        at java.base/sun.security.ssl.HandshakeContext.dispatch(Unknown Source)
        at java.base/sun.security.ssl.TransportContext.dispatch(Unknown Source)
        at java.base/sun.security.ssl.SSLTransport.decode(Unknown Source)
        at java.base/sun.security.ssl.SSLSocketImpl.decode(Unknown Source)
        at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source)
        at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
        at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
        at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
        at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source)
        at org.openstreetmap.josm.tools.Http1Client.performConnection(Http1Client.java:77)
        at org.openstreetmap.josm.tools.HttpClient.connect(HttpClient.java:142)
        at org.openstreetmap.josm.tools.HttpClient.connect(HttpClient.java:122)
        at org.openstreetmap.josm.io.CachedFile.checkLocal(CachedFile.java:501)
        at org.openstreetmap.josm.io.CachedFile.getFile(CachedFile.java:282)
        at org.openstreetmap.josm.io.CachedFile.getInputStream(CachedFile.java:224)
        at org.openstreetmap.josm.io.CachedFile.getContentReader(CachedFile.java:259)
        at org.openstreetmap.josm.io.imagery.ImageryReader.parse(ImageryReader.java:98)
        at org.openstreetmap.josm.data.imagery.ImageryLayerInfo$DefaultEntryLoader.loadSource(ImageryLayerInfo.java:174)
        at org.openstreetmap.josm.data.imagery.ImageryLayerInfo$DefaultEntryLoader.realRun(ImageryLayerInfo.java:156)
        at org.openstreetmap.josm.data.imagery.ImageryLayerInfo.loadDefaults(ImageryLayerInfo.java:119)
        at org.openstreetmap.josm.data.imagery.ImageryLayerInfo.load(ImageryLayerInfo.java:101)
        at org.openstreetmap.josm.gui.preferences.imagery.ImageryPreference.initialize(ImageryPreference.java:328)
        at org.openstreetmap.josm.spi.lifecycle.InitializationTask.call(InitializationTask.java:33)
        at org.openstreetmap.josm.spi.lifecycle.InitializationTask.call(InitializationTask.java:11)
        at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPat
hBuilderException: unable to find valid certification path to requested target
        at java.base/sun.security.validator.PKIXValidator.doBuild(Unknown Source)
        at java.base/sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
        at java.base/sun.security.validator.Validator.validate(Unknown Source)
        at java.base/sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source)
        at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
        at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
        ... 33 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requeste
d target
        at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(Unknown Source)
        at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)
        at java.base/java.security.cert.CertPathBuilder.build(Unknown Source)
        ... 39 more

2019-09-19 09:59:18.397 GRAVE: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certp
ath.SunCertPathBuilderException: unable to find valid certification path to requested target. Causa: sun.security.validato
r.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to fin
d valid certification path to requested target. Causa: sun.security.provider.certpath.SunCertPathBuilderException: unable 
to find valid certification path to requested target
2019-09-19 09:59:18.400 DETALLADO: Cargando preferencias de im�genes completado en  (670 ms)
2019-09-19 09:59:19.718 DETALLADO: Parsed search expression is highway || route=ferry
2019-09-19 09:59:19.718 DETALLADO: Parsed search expression is highway || route=ferry
2019-09-19 09:59:19.718 DETALLADO: Parsed search expression is highway || route=ferry
2019-09-19 09:59:19.718 DETALLADO: Parsed search expression is tourism || amenity
2019-09-19 09:59:19.718 DETALLADO: Parsed search expression is natural=peak || natural=volcano || mountain_pass=yes || nat
ural=water || tourism=viewpoint || amenity=drinking_water || natural=spring || place=locality
2019-09-19 09:59:19.718 DETALLADO: Parsed search expression is highway || route=ferry
2019-09-19 09:59:19.718 DETALLADO: Parsed search expression is power
2019-09-19 09:59:19.718 DETALLADO: Parsed search expression is railway || route=ferry
2019-09-19 09:59:19.734 DETALLADO: Parsed search expression is highway || route=ferry
2019-09-19 09:59:19.734 DETALLADO: Parsed search expression is highway || route=ferry
2019-09-19 09:59:19.734 DETALLADO: Parsed search expression is highway || route=ferry
2019-09-19 09:59:19.734 DETALLADO: Parsed search expression is highway || route=ferry
2019-09-19 09:59:19.734 DETALLADO: Parsed search expression is type=route
2019-09-19 09:59:19.734 DETALLADO: Parsed search expression is highway
2019-09-19 09:59:19.734 DETALLADO: Parsed search expression is addr:housenumber || addr:interpolation || addr:housename
2019-09-19 09:59:19.734 DETALLADO: Parsed search expression is waterway && !waterway=riverbank
2019-09-19 09:59:19.734 DETALLADO: Parsed search expression is waterway && !waterway=riverbank
2019-09-19 09:59:19.734 DETALLADO: Parsed search expression is waterway && !waterway=riverbank
2019-09-19 09:59:19.781 DETALLADO: Presets read in 2,7 s
2019-09-19 09:59:20.066 DETALLADO: Inicializando predefinidos completado en  (3,0 s)
2019-09-19 09:59:20.082 DETALLADO: Initializing validator tests
2019-09-19 09:59:20.082 DETALLADO: Contactando con el servidor...
2019-09-19 09:59:20.082 DETALLADO: Actualizando interfaz de usuario
Warning: Nashorn engine is planned to be removed from a future JDK release
2019-09-19 09:59:20.103 INFORMACI�N: Could not load tool definition getoffset
2019-09-19 09:59:20.119 DETALLADO: Instance is null, returning unconfigured instance
2019-09-19 09:59:20.150 DETALLADO: Actualizando interfaz de usuario completado en  (68 ms)
2019-09-19 09:59:20.150 DETALLADO: Cargando los complementos
2019-09-19 09:59:20.150 DETALLADO: Cargando complementos...
2019-09-19 09:59:20.150 DETALLADO: Comprobando requisitos previos del complemento...
2019-09-19 09:59:20.150 DETALLADO: Cargando complemento 'imagery_offset_db'...
2019-09-19 09:59:20.150 INFORMACI�N: cargando complemento "imagery_offset_db" (versi�n 34908)
2019-09-19 09:59:20.238 DETALLADO: Cargando complemento 'turnrestrictions'...
2019-09-19 09:59:20.247 INFORMACI�N: cargando complemento "turnrestrictions" (versi�n 34977)
2019-09-19 09:59:20.266 ADVERTENCIA: No configuration settings found.  Using hardcoded default values for all pools.
2019-09-19 09:59:20.281 DETALLADO: Setting default auxiliaries to null
2019-09-19 09:59:20.299 DETALLADO: setting defaultCompositeCacheAttributes to [ useLateral = true, useRemote = true, useDi
sk = true, maxObjs = 1000, maxSpoolPerRun = -1, diskUsagePattern = UPDATE, spoolChunkSize = 2 ]
2019-09-19 09:59:20.304 DETALLADO: setting defaultElementAttributes to [ IS_LATERAL = true, IS_SPOOL = true, IS_REMOTE = t
rue, IS_ETERNAL = false, MaxLifeSeconds = -1, IdleTime = -1, CreateTime = 1568897960300, LastAccessTime = 1568897960300, g
etTimeToLiveSeconds() = -1, createTime = 1568897960300 ]
2019-09-19 09:59:20.304 DETALLADO: Parsed regions []
2019-09-19 09:59:20.304 DETALLADO: Finished configuration in 23 ms.
2019-09-19 09:59:20.304 DETALLADO: No special ElementAttribute class defined for key [jcs.region.TMS.elementattributes], u
sing default class.
2019-09-19 09:59:20.351 DETALLADO: initialized MemoryCache for TMS
2019-09-19 09:59:20.351 DETALLADO: Constructed cache with name [TMS] and cache attributes [ useLateral = true, useRemote =
 true, useDisk = true, maxObjs = 0, maxSpoolPerRun = -1, diskUsagePattern = UPDATE, spoolChunkSize = 2 ]
2019-09-19 09:59:20.382 DETALLADO: Region [TMS_BLOCK_v2] Constructing BlockDiskCache with attributes 
BlockDiskAttributes 
 DiskPath [C:\Users\nq4118\AppData\Local\JOSM\cache\tiles]
 MaxKeySize [524288]
 MaxPurgatorySize [5000]
 BlockSizeBytes [4096]
 KeyPersistenceIntervalSeconds [300]
 DiskLimitType [SIZE]
2019-09-19 09:59:20.382 DETALLADO: Region [TMS_BLOCK_v2] Cache file root directory: [C:\Users\nq4118\AppData\Local\JOSM\ca
che\tiles]
2019-09-19 09:59:20.382 DETALLADO: Constructing BlockDisk, blockSizeBytes [4096]
2019-09-19 09:59:20.382 DETALLADO: Region [TMS_BLOCK_v2] Cache file root directory [C:\Users\nq4118\AppData\Local\JOSM\cac
he\tiles]
2019-09-19 09:59:20.382 DETALLADO: Region [TMS_BLOCK_v2] Key File [C:\Users\nq4118\AppData\Local\JOSM\cache\tiles\TMS_BLOC
K_v2.key]
2019-09-19 09:59:20.382 DETALLADO: Region [TMS_BLOCK_v2] Loading keys for C:\Users\nq4118\AppData\Local\JOSM\cache\tiles\T
MS_BLOCK_v2.key
2019-09-19 09:59:20.382 DETALLADO: Region [TMS_BLOCK_v2] Set maxKeySize to: '524288'
2019-09-19 09:59:20.404 ADVERTENCIA: Region [TMS_BLOCK_v2] Resetting cache
2019-09-19 09:59:20.404 DETALLADO: Region [TMS_BLOCK_v2] Saving keys to [C:\Users\nq4118\AppData\Local\JOSM\cache\tiles\TM
S_BLOCK_v2.key], key count [0]
2019-09-19 09:59:20.404 DETALLADO: Region [TMS_BLOCK_v2] Finished saving keys. It took 0ms. to store 0 keys.  Key file len
gth [4]
2019-09-19 09:59:20.404 DETALLADO: Region [TMS_BLOCK_v2] Block Disk Cache is alive.
2019-09-19 09:59:20.605 INFORMACI�N: GET https://api.openstreetmap.org/api/capabilities -> !!!
2019-09-19 09:59:20.605 ADVERTENCIA: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider
.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Causa: sun.security.va
lidator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable 
to find valid certification path to requested target. Causa: sun.security.provider.certpath.SunCertPathBuilderException: u
nable to find valid certification path to requested target
javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException
: unable to find valid certification path to requested target
        at java.base/sun.security.ssl.Alert.createSSLException(Unknown Source)
        at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
        at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
        at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
        at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(Unknown Source)
        at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.onCertificate(Unknown Source)
        at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.consume(Unknown Source)
        at java.base/sun.security.ssl.SSLHandshake.consume(Unknown Source)
        at java.base/sun.security.ssl.HandshakeContext.dispatch(Unknown Source)
        at java.base/sun.security.ssl.HandshakeContext.dispatch(Unknown Source)
        at java.base/sun.security.ssl.TransportContext.dispatch(Unknown Source)
        at java.base/sun.security.ssl.SSLTransport.decode(Unknown Source)
        at java.base/sun.security.ssl.SSLSocketImpl.decode(Unknown Source)
        at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source)
        at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
        at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
        at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
        at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source)
        at org.openstreetmap.josm.tools.Http1Client.performConnection(Http1Client.java:77)
        at org.openstreetmap.josm.tools.HttpClient.connect(HttpClient.java:142)
        at org.openstreetmap.josm.tools.HttpClient.connect(HttpClient.java:122)
        at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:686)
        at org.openstreetmap.josm.io.OsmApi$CapabilitiesCache.updateData(OsmApi.java:211)
        at org.openstreetmap.josm.io.CacheCustomContent.updateForce(CacheCustomContent.java:141)
        at org.openstreetmap.josm.io.CacheCustomContent.updateForceString(CacheCustomContent.java:153)
        at org.openstreetmap.josm.io.CacheCustomContent.updateIfRequiredString(CacheCustomContent.java:131)
        at org.openstreetmap.josm.io.OsmApi.initialize(OsmApi.java:241)
        at org.openstreetmap.josm.io.OsmApi.initialize(OsmApi.java:223)
        at org.openstreetmap.josm.data.validation.tests.ApiCapabilitiesTest.initialize(ApiCapabilitiesTest.java:36)
        at org.openstreetmap.josm.data.validation.OsmValidator.initializeTests(OsmValidator.java:585)
        at org.openstreetmap.josm.data.validation.OsmValidator.initializeTests(OsmValidator.java:568)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPat
hBuilderException: unable to find valid certification path to requested target
        at java.base/sun.security.validator.PKIXValidator.doBuild(Unknown Source)
        at java.base/sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
        at java.base/sun.security.validator.Validator.validate(Unknown Source)
        at java.base/sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source)
        at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
        at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
        ... 32 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requeste
d target
        at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(Unknown Source)
        at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)
        at java.base/java.security.cert.CertPathBuilder.build(Unknown Source)
        ... 38 more

2019-09-19 09:59:20.605 ADVERTENCIA: Already here sun.security.provider.certpath.SunCertPathBuilderException: unable to fi
nd valid certification path to requested target
2019-09-19 09:59:20.605 ADVERTENCIA: Already here sun.security.provider.certpath.SunCertPathBuilderException: unable to fi
nd valid certification path to requested target
2019-09-19 09:59:20.605 GRAVE: Error al inicializar el test ApiCapabilitiesTest:
 org.openstreetmap.josm.io.OsmApiInitializationException: org.openstreetmap.josm.io.OsmTransferException: javax.net.ssl.SS
LHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find
 valid certification path to requested target
2019-09-19 09:59:20.721 DETALLADO: org.openstreetmap.josm.gui.ExtendedDialog.setVisible(true) from org.openstreetmap.josm.
gui.ExtendedDialog.showDialog(ExtendedDialog.java:255)
2019-09-19 09:59:20.736 INFORMACI�N: Changeset updater active (checks every 60 minutes if open changesets have been closed
)
2019-09-19 09:59:26.480 DETALLADO: Agregando resource://data/validator/addresses.mapcss al validador de etiquetas
2019-09-19 09:59:26.480 DETALLADO: Agregando resource://data/validator/combinations.mapcss al validador de etiquetas
2019-09-19 09:59:26.513 DETALLADO: Agregando resource://data/validator/deprecated.mapcss al validador de etiquetas
2019-09-19 09:59:26.533 DETALLADO: Agregando resource://data/validator/geometry.mapcss al validador de etiquetas
2019-09-19 09:59:26.549 DETALLADO: Agregando resource://data/validator/highway.mapcss al validador de etiquetas
2019-09-19 09:59:26.549 DETALLADO: Agregando resource://data/validator/multiple.mapcss al validador de etiquetas
2019-09-19 09:59:26.549 DETALLADO: Agregando resource://data/validator/numeric.mapcss al validador de etiquetas
2019-09-19 09:59:26.564 DETALLADO: Agregando resource://data/validator/religion.mapcss al validador de etiquetas
2019-09-19 09:59:26.564 DETALLADO: Agregando resource://data/validator/relation.mapcss al validador de etiquetas
2019-09-19 09:59:26.564 DETALLADO: Agregando resource://data/validator/territories.mapcss al validador de etiquetas
2019-09-19 09:59:26.564 DETALLADO: Agregando resource://data/validator/unnecessary.mapcss al validador de etiquetas
2019-09-19 09:59:26.580 DETALLADO: Agregando resource://data/validator/wikipedia.mapcss al validador de etiquetas
2019-09-19 09:59:26.818 DETALLADO: Initializing validator tests completed in 6,7 s
2019-09-19 10:00:11.278 DETALLADO: org.openstreetmap.josm.gui.ExtendedDialog.setVisible(false) from org.openstreetmap.josm
.gui.ExtendedDialog.buttonAction(ExtendedDialog.java:390)
2019-09-19 10:00:13.364 INFORMACI�N: Changeset updater inactive
2019-09-19 10:00:13.364 DETALLADO: Element event queue destroyed: org.apache.commons.jcs.engine.control.event.ElementEvent
Queue@dd8bcb
2019-09-19 10:00:13.364 DETALLADO: In DISPOSE, [TMS] fromRemote [false]
2019-09-19 10:00:13.364 DETALLADO: In DISPOSE, [TMS] auxiliary [TMS_BLOCK_v2]
2019-09-19 10:00:13.364 DETALLADO: In DISPOSE, [TMS] put 0 into auxiliary TMS_BLOCK_v2
2019-09-19 10:00:13.479 DETALLADO: No longer waiting for event queue to finish: Pooled Cache Event Queue
Working = true
Empty = true
2019-09-19 10:00:13.479 DETALLADO: In dispose, destroying event queue.
2019-09-19 10:00:13.479 DETALLADO: Cache event queue destroyed: CacheEventQueue [listenerId=1234864558, cacheName=TMS_BLOC
K_v2]
2019-09-19 10:00:13.479 DETALLADO: Region [TMS_BLOCK_v2] Saving keys to [C:\Users\nq4118\AppData\Local\JOSM\cache\tiles\TM
S_BLOCK_v2.key], key count [0]
2019-09-19 10:00:13.479 DETALLADO: Region [TMS_BLOCK_v2] Finished saving keys. It took 0ms. to store 0 keys.  Key file len
gth [4]
2019-09-19 10:00:13.479 DETALLADO: Region [TMS_BLOCK_v2] Shutdown complete.
2019-09-19 10:00:13.495 DETALLADO: In DISPOSE, [TMS] disposing of memory cache.
2019-09-19 10:00:13.496 DETALLADO: Memory Cache dispose called.
Last edited 6 years ago by Don-vip (previous) (diff)

comment:5 by Don-vip, 6 years ago

Resolution: othersoftware
Status: needinfoclosed

Your Java version is either very old or something is very broken in your certificate store. Java support Let's Encrypt for a long time. Not a JOSM issue. Please make sure that your certificate store contains all certificates shipped by current OpenJDK.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain joluinfante.
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.