... the user friendly GPS tool


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tiles server in https only
#17
Gutten Tag

I was testing some https tile servers configurations, watching the protocols with fiddler software. Fiddler is not perfect since it cannot decode the https transaction (this is why https is implemented Smile ).

I was surprise to see that all requests are using HTTP protocol, although on port 443 and using SSL, when other apps (such as ITNconv) are using HTTPS instead.

I also realize that some of the https tile servers configured are not functioning in RC.
The following servers fail to display tiles in RC :
  • HikeBikeMap :
    Their SSL certificates is issued for wma.wmcloud.org and is used for tiles.wmcloud.org. This is not the same name, thus the problem.

  • IGN :
    according to the previous messages in this topic the certification authority is not declared in the Java CACERT library. I extracted the CA from my Firefox browser, put it in the standard Windows certificates store => no improvement.
    Tried the same on a Linux machine (Mint/Ubuntu) : the Java CACERT is a symbolic link to the Linux CACERT, I added the Certigna CA as well => no improvement.

My recipe to install the certificate :
  1. extract the "Certigna Root CA" certificate CRT file from your browser.
  2. then run the following command (adapt the file path according to your system).
    under Windows (use a command line window with admin priviledge) : I identified that RC used JRE1.8 (in C:\Program Files\Java\jre-1.8) with cacerts in lib\security\cacerts under the JRE main directory.
    Code:
    Linux :
    keytool -import -trustcacerts -keystore /etc/ssl/certs/java/cacerts -storepass changeit -alias CertignaRootCA -file ./CertignaRootCA.crt
    Windows :
    C:\Program Files\Java\jre-1.8>bin\keytool.exe -import -keystore lib\security\cacerts -storepass changeit -alias CertignaRootCA -file C:\Downloads\CertignaRootCA.crt

I checked the JAVA cacerts to be sure I have the new certificate (note that the "Certigna" certificate is already there) :
Code:
echo 'changeit' | keytool -list -v -keystore /etc/ssl/certs/java/cacerts | grep 'Owner:'
(change the file path according to your system)

I have :
Owner: CN=Certigna, O=Dhimyotis, C=FR
Owner: CN=Certigna Root CA, OU=0002 48146308100036, O=Dhimyotis, C=FR

But still no success on both Linux and Windows.

I also add this certificates in the OS keystores... but to no avail.


There must be something else. Is there a DEBUG MODE for RC ? In order to have verbose log file and the like ?

Vielen Grüssen

Charly
PS : I'll be off for the next 4 days, be back on monday evening...
Reply


Messages In This Thread
Tiles server in https only - by tybern - 08.01.2020, 15:06
RE: Tiles server in https only - by tybern - 08.01.2020, 15:52
RE: Tiles server in https only - by tybern - 08.01.2020, 19:10
RE: Tiles server in https only - by tybern - 09.01.2020, 13:28
RE: Tiles server in https only - by tybern - 09.01.2020, 18:11
RE: Tiles server in https only - by tybern - 10.01.2020, 22:01
RE: Tiles server in https only - by tybern - 11.01.2020, 17:24
RE: Tiles server in https only - by tybern - 23.01.2020, 12:33
RE: Tiles server in https only - by CharlyRC - 23.05.2023, 23:54
RE: Tiles server in https only - by CharlyRC - 25.05.2023, 18:17
RE: Tiles server in https only - by CharlyRC - 25.05.2023, 18:26

Forum Jump:


Users browsing this thread: 1 Guest(s)