Modify

#16307 closed defect (fixed)

Unable to retrieve wms layer list

Reported by: sano Owned by: team
Priority: normal Milestone: 18.05
Component: Core imagery Version: latest
Keywords: wms https ssl tls certificate security Cc:

Description (last modified by sano)

When trying to add imagery URL for WMS service https://zbgisws.skgeodesy.sk/zbgis_vodstvo_wms/service.svc/get?request=GetCapabilities&service=WMS I get "Could not retrieve WMS layer list" notification.

When testing the same URL in a browser the capabilities XML is returned.

Steps to reproduce:

  1. Open "Preferences"
  2. Scroll down to "Imagery preferences" section
  3. Click the WMS icon in the "Selected entries" section
  4. Provide the WMS URL into the "GetCapabilities URL" field
  5. Click "Get layers" button

I tried this with the latest dev version 13821 as well as with the production version.

Attachments (1)

Screen Shot 2018-05-23 at 06.10.59.png (693.7 KB) - added by sano 11 months ago.

Download all attachments as: .zip

Change History (8)

Changed 11 months ago by sano

comment:1 Changed 11 months ago by sano

Description: modified (diff)

fixed typos

comment:2 Changed 11 months ago by Don-vip

Component: CoreCore imagery

comment:3 Changed 11 months ago by Don-vip

Keywords: https ssl tls certificate security added

comment:4 Changed 11 months ago by Don-vip

Used CA (CA Disig, trusted by Slovakian government) must be found by JOSM as it appears to not be included by default in Java:

sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141)
	at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)
	at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
	at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:392)
	... 154 more

comment:5 Changed 11 months ago by Don-vip

Milestone: 18.05

comment:6 Changed 11 months ago by sano

this seems to be a problem only for MacOS X, possibly limited to java version 1.8.0_171 (as reported by JOSM).

comment:7 Changed 11 months ago by Don-vip

Resolution: fixed
Status: newclosed

In 13822/josm:

fix #16307 - detect certificate used by Slovakian Government

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.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.