2025-10-24 5:21 AM
Hi I am trying to configure a project in Vs code.
1) Created/Generated a project using STM32CubeMX.
2) in vs code extensions added
3) by using open folder latest created project loaded
4) on pop-up Debug option selected
5) Then when it comes to device selection unable to find STM32H7 Series, eval board numbers in the list.
Note : STMCUFinder path, cubemx paths configured . please check below images
Solved! Go to Solution.
2025-10-24 7:25 AM - edited 2025-10-24 7:26 AM
Hi, fallowed same steps, only one Zscaler is there in certmgr and exported, still same issue.
>> Restarted vs code
PS C:\Users\JNEKKALAPUDI\Documents\stm\test_gen\test5> setx NODE_EXTRA_CA_CERTS "C:\Users\JNEKKALAPUDI\Documents\stcertificate.cer"
SUCCESS: Specified value was saved.
PS C:\Users\JNEKKALAPUDI\Documents\stm\test_gen\test5> cube pack sync
Syncing metadata information C:/Users/JNEKKALAPUDI/AppData/Local/stm32cube/packs
Snapshot is already up to date
Syncing online metadata information C:/Users/JNEKKALAPUDI/AppData/Local/stm32cube/packs
Checking pidx https://developer.st.com/st-pack-server/api/v1/pidx/STMicroelectronics.pidx... (1/1)
Failed to download with request to https://developer.st.com/st-pack-server/api/v1/pidx/STMicroelectronics.pidx failed, reason: unable to get local issuer certificate, retrying...
Failed to download with request to https://developer.st.com/st-pack-server/api/v1/pidx/STMicroelectronics.pidx failed, reason: unable to get local issuer certificate, retrying...
Failed to download with request to https://developer.st.com/st-pack-server/api/v1/pidx/STMicroelectronics.pidx failed, reason: unable to get local issuer certificate, retrying...
Failed to download with request to https://developer.st.com/st-pack-server/api/v1/pidx/STMicroelectronics.pidx failed, reason: unable to get local issuer certificate, retrying...
Failed to download with request to https://developer.st.com/st-pack-server/api/v1/pidx/STMicroelectronics.pidx failed, reason: unable to get local issuer certificate, retrying...
Maximum number of retries reached: request to https://developer.st.com/st-pack-server/api/v1/pidx/STMicroelectronics.pidx failed, reason: unable to get local issuer certificate
Downloading https://developer.st.com/st-pack-server/api/v1/pidx/STMicroelectronics.pidx failed: FetchError: request to https://developer.st.com/st-pack-server/api/v1/pidx/STMicroelectronics.pidx failed, reason: unable to get local issuer certificate (1/75)
Syncing completed in 0.964s
PS C:\Users\JNEKKALAPUDI\Documents\stm\test_gen\test5>
2025-10-24 7:35 AM
AFAIR there should be at least 2 certificates, the Zscaler Root CA and the Zscaler Intermediate Root CA, as shown in this screenshot (again picked on the Internet):
2025-10-24 7:44 AM
only one is there.
2025-10-24 7:56 AM
Hi,
these packs available looks like is this correct?
2025-10-24 10:38 AM
only one is there.
I wonder from where you get this screenshot. If from the Windows cert manager then I think it is expected since you only view the selected certificate. But if you get the certificate by clicking on the lock from a browser you may get more certificates in the chain.
2025-10-24 10:43 AM
these packs available looks like is this correct?
Packs are installed under %AppData%/Local/stm32cube/packs/STMicroelectronics/.
2025-10-24 11:21 AM - last edited on 2025-10-24 11:41 AM by Julien D
Hi,
From lock icon I didn't got any certificates.
2025-10-24 11:57 AM - edited 2025-10-24 11:59 AM
And moving back to Powershell terminal, what is the output of this script?
$hostname = "developer.st.com"
$tcp = New-Object Net.Sockets.TcpClient($hostname, 443)
$ssl = New-Object Net.Security.SslStream($tcp.GetStream(), $false, ({$true}))
$ssl.AuthenticateAsClient($hostname)
$cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2 $ssl.RemoteCertificate
$chain = New-Object System.Security.Cryptography.X509Certificates.X509Chain
$chain.Build($cert) | Out-Null
foreach ($element in $chain.ChainElements) {
Write-Host "----- Certificate -----"
Write-Host "Subject: $($element.Certificate.Subject)"
Write-Host "Issuer: $($element.Certificate.Issuer)"
Write-Host "NotBefore: $($element.Certificate.NotBefore)"
Write-Host "NotAfter: $($element.Certificate.NotAfter)"
Write-Host "Thumbprint: $($element.Certificate.Thumbprint)"
Write-Host ""
$base64 = [Convert]::ToBase64String($element.Certificate.RawData)
$pem = "-----BEGIN CERTIFICATE-----`n"
$pem += ($base64 -split "(.{1,64})" | Where-Object { $_ -ne "" }) -join "`n"
$pem += "`n-----END CERTIFICATE-----`n"
Write-Output $pem
}It is supposed to get the same list by another way.
Don't hesitate to share it by PM if you feel uncomfortable to post it publicly.