it@dock2dock.io
Posts: 1
Joined: Wed Oct 04, 2023 12:57 am

Signing with Digicert Keylocker

Wed Oct 04, 2023 1:11 am

I trying to sign with Digicert keylocker using a custom signing tool and Advanced Installer 21.0.1, using the following command:

smctl sign --verbose --keypair-alias key_xxxx --input

I am getting this error:


“Win32 Error [2148204800]: "No signature was present in the subject. "
Error details

Build finished because an error was encountered.”


When I run this command in the terminal the file is signed.

smctl sign --keypair-alias key_xxxx --input C:\Downloads\test.js

Liviu
Posts: 1026
Joined: Tue Jul 13, 2021 11:29 am
Contact:  Website

Re: Signing with Digicert Keylocker

Wed Oct 04, 2023 10:13 am

Hello and welcome to our forums,

Please note that I have answered to your email.

If possible, please try avoiding duplicate threads (i.e. posting on forum and emailing our support address as well) as that can lead to multiple team members working on the same ticket.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

dstroyrx
Posts: 1
Joined: Wed Oct 11, 2023 5:01 pm

Re: Signing with Digicert Keylocker

Wed Oct 11, 2023 5:03 pm

I have the same issue. Can you share the answer here for myself and others who might come across this thread?

Dan
Posts: 4513
Joined: Wed Apr 24, 2013 3:51 pm

Re: Signing with Digicert Keylocker

Tue Oct 17, 2023 8:57 am

Hi,

Can you please confirm that signing works as expected outside the Advanced Installer e.g. in terminal?

We were able to workaround this error by using the SignTool for signing. Note that you need to download a copy of the certificate.

Import the public key of the certificate to the Certificate Store (e.g. Personal Store).

After this, the command line from Advanced Installer can be something as:

Code: Select all

sign /csp "DigiCert Signing Manager KSP" /kc key_509256942  /f C:\Users\DemoUser\Downloads\cert_509256942.crt /tr http://timestamp.digicert.com /td SHA256 /fd SHA256
DigiCert custom SignTool.png
DigiCert custom SignTool.png (83.44KiB)Viewed 28913 times
Let us know if using the SignTool worked as expected.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Cams1337
Posts: 10
Joined: Mon Dec 11, 2023 6:43 pm

Re: Signing with Digicert Keylocker

Fri Dec 29, 2023 4:54 pm

This does not work

Catalin
Posts: 6506
Joined: Wed Jun 13, 2018 7:49 am

Re: Signing with Digicert Keylocker

Wed Jan 03, 2024 11:30 am

Hello,

Thank you for the followup on this.

Let's continue the discussion on the other thread we have going on.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”