Skip to main content
Associate II
April 29, 2026
Solved

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

  • April 29, 2026
  • 2 replies
  • 282 views

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 ?

Best answer by Oussama_TROUDI

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 

2 replies

Oussama_TROUDI
Oussama_TROUDIBest answer
ST Technical Moderator
April 29, 2026

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.
SrikarAuthor
Associate II
April 29, 2026

Thank you!!