- Tuya MiniApp IDE version information: 0.9.2 for windows, nodejs 23.11.1
- Log information: ERROR Error: self signed certificate in certificate chain
- Problem description (reproduction steps):
I'm using Tuya Miniapp IDE behind corporate firewall. During IDE start I get error messages in log c:\Users\xxx\AppData\Roaming\tuya-ark-ide\logs\2025-08-04-debug.log :
...
... ERROR Error: self signed certificate in certificate chain
...
I can not login, select project and use IDE.
If I setup environment variable NODE_TLS_REJECT_UNAUTHORIZED="0", I am able to login and select project and bind virtual device. But I get error in Message Log in Device Tools:
[current time] [MQTT] Connect Fail self signed certificate in certificate chain
I tried to use nodejs environment variables NODE_EXTRA_CA_CERTS="mycafile" NODE_OPTIONS="--use-system-ca" and SSL_CERT_FILE="mycafile" NODE_OPTIONS="--use-openssl-ca". It looks like Tuya Miniapp IDE ignores these environment variables, while npm works fine.
Do you have any suggestions how can I set up CA or trusted certificates behind corporate firewall?