cancel
Showing results for 
Search instead for 
Did you mean: 

Error installing C5xx HAL drivers pack: "Unable to get local issuer certificate"

Srikar
Associate

I wanted to try out the new STMCubeMX2 with one of the suitable STM32C5 MCU and I get this error

Srikar_0-1777450857936.png

Not sure what does this mean, is there any certificate needed to use STMCubeMX2 ?

2 REPLIES 2
Oussama_TROUDI
ST Employee

Hi @Srikar and Welcome to ST Community!

In this case, what you need is to configure a proxy or a certificate to be able to access the servers and download packages.

  • Get your certificate from your company IT or company portal.
  • Place it under C:\certificate, for example.
  • Add the Windows environment variable NODE_EXTRA_CA_CERTS with the path to this certificate file. (Make sure that the path has no quotes.)

Oussama_TROUDI_0-1777453770153.png

  • Finally, restart STM32CubeMX2.

You can also refer to this article for more details on: How to configure the proxy or certificate 


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Srikar
Associate

Thank you!!