Visual Studio Code - howto: connect to Rest API?

I am trying to get this working too and can’t. My problem is that openhab is only reachable over https.
https://192.168.2.xxx:8444/rest/things is working and returning some text. So I added

"openhab.host": "https://192.168.2.xxx",
"openhab.port": 8444

But it can’t connect. Any idea how to get this working?

PS openhab is running on a raspberry pi in the network and VS code on a windows pc if thats important (config files are shared via samba)