R
R
Roman Sopov2013-06-19 14:29:05
Programming
Roman Sopov, 2013-06-19 14:29:05

How do I sign an .msi with a Thawte Code Signing certificate?

Hello!

Can anyone help me understand how to sign an .msi file with a Thawte Code Signing certificate?

I have a private.key, they sent from Thawte: Code Signing certificate, intermediate CA certificate, certificate in pkcs7 format

What to do with this stuff? Thank you!

Answer the question

In order to leave comments, you need to log in

5 answer(s)
M
Maximus43, 2013-06-19
@Maximus43

Google says to use signtool
From key and certificate you can build p12 or pfx (it's the same thing)

openssl pkcs12 -export -in input.crt -inkey input.key -out bundle.p12

Well, then follow the description www.hanselman.com/blog/UsingCodeSigningCertificatesToSignDownloadedMSIsAndBuildReputationWithIE9SmartScreen.aspx

M
Maximus43, 2013-06-19
@Maximus43

Give the result of the command

certutil -verify -urlfetch <файл конечного сертификата в формате PEM>

M
Maximus43, 2013-06-19
@Maximus43

Missing Issuer: CN=Thawte Code Signing CA — G2, O=«Thawte, Inc.», C=US

You need to add this certificate to the Intermediate certificate store. Your question is "intermediate CA certificate"
Run mmc as administrator, add the certificates snap-in (Add/Remove Snap-In -> Cerificates), then import the certificate CN=Thawte Code Signing CA — G2, O=«Thawte, Inc.», C=USinto the intermediate certificate store and try again.
It also looks like on your computer, where you check the certificate, the Internet is covered, or go through a proxy. For CryptoAPI, which is used by the certutil command, proxy settings are configured separately.

M
Maximus43, 2013-06-19
@Maximus43

Well, this is nonsense, it has nothing to do with the validity of the certificate. These are settings for the Windows SmartScreen filter, such as notify about infrequently downloaded programs.
It is important that the publisher is visible, there are no complaints about the signature.

M
Maximus43, 2013-06-19
@Maximus43

Here is how to deal with it .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question