I think that you have to trust ssl certs of nodejs server (likely a self-signed cert) on traccar, try to add it into truststore of the JVM which run traccar
thanks @Jack,
"try to add it into truststore of the JVM which run" how I could do this? I not have experiance in java
Is your HTTPS certificate valid?
yes it valid, it is generated locally using openssl
Locally? It makes it invalid.
ok
are you on Linux or Windows ?
windows
i don't have a good familiarity with traccar windows installations, i never done one.
As far as you know, does the setup install a dedicated JVM under the traccar path?
If so, look for a file called "cacerts" (is a JKS Keystore) under the lib/security folder of the JRE in dedicated JVM under the traccar path, you can open it with a tool like this:
https://keystore-explorer.org/downloads.html
The default password of the store should be 'changeit' .
You need to add the self-signed certificate of your nodejs server, in the above keystore, as trusted
Hiii,,
I am facing this issue:
<entry key='forward.enable'>true</entry> <entry key='forward.type'>json</entry> <entry key='forward.url'>https://localhost:xxxx/forwarding/positions</entry>
traccar not have ssl and just work as http server.
this issue happen after change my nodejs server to https
how can overcome this issue?