HELP ME: SIGN ACTIVEX


J

Janka

Hello,
I have created a ActiveX and now I would want to publish it.
Unfortunately the browser block the Active-X
because is potential pericolous and it isn't signed.

I have found one procedure in Japanese to authenticate the code:

Download from Microsoft Windows the following Platform SDK to address:
http://www.microsoft.com/downloads/...35-C656-4969-ACE8-E4C0C0716ADB&displaylang=en

To create containing the ActiveX.cab archives files the ActiveX.ocx
ActiveX.inf
CABARC -s 6144 n ActiveX.cab ActiveX.ocx ActiveX.inf

To create the private key myprivatekey.pvk and the certificate.cer
certificate
MakeCert -n CN=a -sv myprivatekey.pvk -r certificate.cer

To convert the certificate.cer certificate in mycredentials.spc
Cert2Spc certificate.cer mycredentials.spc

To sign the code
Signcode -spc mycredentials.spc -v myprivatekey.pvk ActiveX.cab
SignCode -x -t http://timestamp.verisign.com/scripts/timestamp.dll
ActiveX.cab

or
"C:\Programmi\Microsoft Visual Studio 8\SDK\v2.0\Bin\SIGNTOOL.EXE"
signwizard

In order to verify that the files it has been correctly signed to
execute:
"C:\Programmi\Microsoft Visual Studio 8\SDK\v2.0\Bin\SIGNTOOL.EXE"
verify /pa /v ActiveX.cab

But last command tell me:
Verifying: ActiveX.cab
SignTool Error: A certificate chain processed, but terminated in a root
certificate which is not trusted by the trust provider.
Signing Certificate Chain:
Issued to: a
Issued by: a
Expires: 01/01/2040 0.59.59
SHA1 hash: 64816EFA0C65CA21829359989CFB70B854295C4A

The signature is timestamped: 16/11/2006 11.22.15
Timestamp Verified by:
Issued to: Thawte Timestamping CA
Issued by: Thawte Timestamping CA
Expires: 01/01/2021 0.59.59
SHA1 hash: BE36A4562FB2EE05DBB3D32323ADF445084ED656

Issued to: VeriSign Time Stamping Services CA
Issued by: Thawte Timestamping CA
Expires: 04/12/2013 0.59.59
SHA1 hash: F46AC0C6EFBB8C6A14F55F09E2D37DF4C0DE012D

Issued to: VeriSign Time Stamping Services Signer
Issued by: VeriSign Time Stamping Services CA
Expires: 04/12/2008 0.59.59
SHA1 hash: 817E78267300CB0FE5D631357851DB366123A690

SignTool Error: File not valid: ActiveX.cab

Number of files successfully Verified: 0
Number of warnings: 0
Number of errors: 1

Can you help me?
 
Ad

Advertisements

C

Charlie Tame

Find the VS2005 groups and ask there, I think you may find a few people who
know the answer.

Charlie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top