cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

An error occurred: self signed certificate Visual Studio Code

0 Likes
10,618

I am having problems in visual studio Code when generating a fiori application with an Odata service implementing in RAP on Premise


View Entire Topic
0 Likes

Hi Cristian,

Try the following steps, which helped me to resolve similar issue:

  1. Access with browser any OData service metadata document URL on your SAP system and download Root CA certificate. Root certificate is usually the first one in the hierarchy of 3 certificates available there. Certificate file will be downloaded with ".crt" extension by default.

  2. Right-click the CA certificate file and select Install Certificate.

  3. Add Windows Environment variable NODE_EXTRA_CA_CERTS with path to this ".crt" file as well.

  4. Restart Visual Studio Code and try again.

Regards,

Vladimirs