PDA

View Full Version : I think I got the wrong code signing certificate



NewsArchive
12-03-2009, 01:27 AM
Hello,

I bought a Comodo certificate a couple of weeks ago and I'm trying to setup SB7 to use it. The file I have is a pfx file and SB is asking me to provide spc and pvk files. Did I get the wrong thing?

Thanks,
Abe

NewsArchive
12-03-2009, 01:27 AM
Abe,

> I bought a Comodo certificate a couple of weeks ago and I'm trying to
> setup SB7 to use it. The file I have is a pfx file and SB is asking
> me to provide spc and pvk files. Did I get the wrong thing?

You can use the PFX without any problem in SB7. See documentation for
"General Information Properties" -> "Digital Signature" and/or read Jane's
excellent "Learning SetupBuilder Part I -- Everything you ever wanted to
know about SetupBuilder but were afraid to ask" introductory materials (part
of the Examples Package).

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder is Windows installation -- "point. click. ship"

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
12-03-2009, 01:29 AM
Friedrick,

The attached image is the error I'm getting. The file exists.

Abe Jimenez

NewsArchive
12-03-2009, 01:30 AM
> Hello,
>
> I bought a Comodo certificate a couple of weeks ago and I'm trying to setup SB7 to use it. The file I have is a pfx file and SB is asking me to provide spc and pvk files. Did I get the wrong thing?

Abe,

Well, there are more expert users that will probably post soon...

Basically - SignCode.exe (installed during SB7 install) works with spc and
pvk files.

However, signtool.exe works with pfx (but cannot be distributed with
installs so you have to locate and download signtool.exe yourself)

You CAN follow these instructions and convert your pfx to spc and pvk

https://support.comodo.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=1089

OR

Use the instructions I include in a blog chm to easily download
signtool.exe

Making App Data UAC (Vista and Windows 7) safe and XP compatible

http://profileexchanges.com/blog/?p=120

Direct download link for CHM version of this blog
http://profileexchanges.com/downloads/making-app-data-uac-vista-windows-7-safe-chm.zip

David

--
From David Troxell - Product Scope 7.9 - Encourager Software
Product Scope 7 Viewer - NO Registration Fee! Free to Use!
http://www.encouragersoftware.com/
Clarion Third Party Profile Exchange Online
http://encouragersoftware.com/profile/clarlinks.html
http://www.profileexchanges.com/blog/

NewsArchive
12-03-2009, 01:31 AM
Thanks David

Abe Jimenez

NewsArchive
12-03-2009, 01:31 AM
> Thanks David

Abe,

You're welcome.

Just curious - are you saying, you have signtool.exe on your computer, but
still get the error?

David

--
From David Troxell - Product Scope 7.9 - Encourager Software
Product Scope 7 Viewer - NO Registration Fee! Free to Use!
http://www.encouragersoftware.com/
Clarion Third Party Profile Exchange Online
http://encouragersoftware.com/profile/clarlinks.html
http://www.profileexchanges.com/blog/

NewsArchive
12-03-2009, 01:32 AM
Hi David,

Friedrick said I should be able to sing the code with the file I have, so I
didn't do anything but fill in the blanks in the wi9ndow. Now I get the
file not found error but it doesn't tell m which file it cannot find. Is it
the certificate, the uninstall file or the signtool?

Regards,
Abe

NewsArchive
12-03-2009, 01:33 AM
Abe,

> Friedrick said I should be able to sing the code with the file I have, so
> I didn't do anything but fill in the blanks in the wi9ndow. Now I get
> the file not found error but it doesn't tell m which file it cannot find.
> Is it the certificate, the uninstall file or the signtool?

See attached screenshot (from the manual).

I assume you are still using SignCode.exe (for .spc and .pvk). Switch to
SignTool.exe (for .pfx) and you should be done.

Does this help?

Friedrich

NewsArchive
12-03-2009, 01:33 AM
> Hi David,
>
> Friedrick said I should be able to sing the code with the file I have, so I
> didn't do anything but fill in the blanks in the wi9ndow. Now I get the
> file not found error but it doesn't tell m which file it cannot find. Is it
> the certificate, the uninstall file or the signtool?

Abe,

Microsoft doesn't allow distribution of signtool.exe to be included in a
third party install so YOU HAVE to download signtool.exe from their SDK
download location.

That is why I took the time to document it (how/where to download
signtool.exe) in the UAC Safe CHM I have already mentioned.

David

--
From David Troxell - Product Scope 7.9 - Encourager Software
Product Scope 7 Viewer - NO Registration Fee! Free to Use!
http://www.encouragersoftware.com/
Clarion Third Party Profile Exchange Online
http://encouragersoftware.com/profile/clarlinks.html
http://www.profileexchanges.com/blog/

NewsArchive
12-03-2009, 01:34 AM
Thanks David and Friedrick. Got it working now.

Abe Jimenez