question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Cannot find certificate" on Windows when EV signing

See original GitHub issue
  • Version: 22.3.2
  • Target: Win x64

We’re upgrading from version 20.28.4. Our previous build pipeline worked great. Just updated to 22.3.2 and we get the Cannot find certificate error now.

In package.json:

 "win": {
      "publisherName": "Bark Technologies, Inc",
      "certificateSubjectName": "Bark Technologies, Inc"
    }
PS C:\Users\bh> Get-ChildItem -Recurse Cert: -CodeSigningCert | Select-Object -Property Subject,PSParentPath,Thumbprint | ConvertTo-Json -Compress
{"Subject":"CN=\"Bark Technologies, Inc\", O=\"Bark Technologies, Inc\", L=Atlanta, S=Georgia, C=US, SERIALNUMBER=5783034, OID.2.5.4.15=Private Organization, OID.1.3.6.1.4.1.311.60.2.1.2=Delaware, OID.1.3.6.1.4.1.311.60.2.1.3=US","PSParentPath":"Microsoft.PowerShell.Security\\Certificate::CurrentUser\\My","Thumbprint":"E458FBF56BA4C15003C647EAE58B1D2FF8AA38E2"}

Any ideas?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
tnishimuracommented, Feb 26, 2020

Setting certificateSha1 worked for me as well. I did not have any unusual chars either (besides a comma…). Note that the hash needs to be ALL UPPER CASE. The Gemalto certificate manager for my Safenet 5110 key calls the hash the “thumbprint”.

0reactions
mixmixcommented, Dec 14, 2021

cc @develar I wrote this for other people looking for solutions and to alert you that the docs could do a with bump on what certificateSha1 is and how to find it

Read more comments on GitHub >

github_iconTop Results From Across the Web

Manage code signing certificates - Windows drivers
To get a new code signing certificate: ... Go to the page of one the following certificate authorities and follow their directions for...
Read more >
How to recover the private key of an SSL certificate in an IIS ...
1. Click Start, and then search for Run. · 2. Type in mmc and click OK. · 3. From the File menu, choose...
Read more >
Code Signing Certificate not recognized as EV on submission
Error: The code signing certificate you used to sign the file is not an Extended Validation (EV) certificate. Please get an EV certificate...
Read more >
(Windows) Verifying Your Code Signing Certificate Installation
In the Certificate Manager window, on the Your Certificates tab, you should see the code signing certificate that you just installed.
Read more >
Microsoft EV Code Signing Certificate — What to Know & How ...
How to Get a Microsoft EV Code Signing Certificate · Purchase a certificate. You can do this right here at ComodoSSLstore.com. · Request...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found