Opened 16 years ago

Closed 13 years ago

#3567 closed enhancement (fixed)

Imagery: add HTTPS Support — at Version 3

Reported by: !i! Owned by: Upliner
Priority: normal Milestone:
Component: Core imagery Version: latest
Keywords: SSL, HTTPS Cc:

Description (last modified by Don-vip)

Dear, I wan't to use an HTTPS secured WMS provided by our city especialy for OSM.

java.lang.Exception: java.security.cert.CertificateException: No subject alterna
tive names matching IP address 194.25.109.22 found
Image couldn't be fetched: https://194.25.109.22/cgi-bin/mapserv?map=/usr/local/
apache2/wms/osm.map&service=wms&VERSION=1.1.1&REQUEST=GetMap&TRANSPARENT=true&FO
RMAT=image/jpeg&LAYERS=strnam,lbsn06&SRS=EPSG:4326&WIDTH=600&HEIGHT=600&bbox=11.
4518413,53.5748399,11.4677910,53.5907896&width=500&height=499
        at wmsplugin.WMSGrabber.fetch(WMSGrabber.java:70)
        at wmsplugin.Grabber.attempt(Grabber.java:68)
        at wmsplugin.WMSGrabber.run(WMSGrabber.java:48)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

(repeats 4 times)

It seems that WMS Plugin can't deal with. Is it a big issue to deal with? The certificate seem to be OK, cause my Firefox can deal with.

Change History (3)

comment:1 by Cobra, 15 years ago

Component: Core imageryCore
Summary: HTTPS SupportImagery: add HTTPS Support

comment:2 by skyper, 15 years ago

Component: CoreCore imagery
Owner: changed from team to Upliner

Is a bit odd but works better if we use components.

@Dirk: Maybe we should also have something like component imagery, component remotecontrol or even stip component as these functions are now part of core.

comment:3 by Don-vip, 13 years ago

Description: modified (diff)
Resolution: fixed
Status: newclosed

It seems to work now. I have added this WMS:

wms:https://194.25.109.22/cgi-bin/mapserv?map=/usr/local/apache2/wms/biblio-lwl.map&FORMAT=image/jpeg&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&Layers=Bibliotheken&STYLES=&SRS={proj}&WIDTH={width}&HEIGHT={height}&BBOX={bbox}

And its tiles are correctly loaded:

Grabbing WMS https://194.25.109.22/cgi-bin/mapserv?map=/usr/local/apache2/wms/biblio-lwl.map&FORMAT=image/jpeg&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&Layers=Bibliotheken&STYLES=&SRS=EPSG:4326&WIDTH=500&HEIGHT=500&BBOX=11.1940135,53.4307610,11.1974347,53.4327993
Note: See TracTickets for help on using tickets.