Photoshop UXP plugin - CORS, SSL problem

Hi,

I would like to connect to our java app server from Photoshop UXP plugin.
We have only self signed SLL certificate. It cause problem only in the developer env.

I have two problems:

  1. Fake SSL → Network error
  2. Cors - because UXP plugin never run on the app server

How can I solve it in easiest way?
I tried http-proxy-middleware npm package but it did not work.

It would be nice (for InDesign also) if the general UXP API could handle it.

I appreciate all the advice and ideas.
Thx
Karoly

Answer: start a node.js proxy from UXP plugin
Deatils under: How can I start a node.js proxy server from Photoshop UXP