ActiveX Control Digital Signature

Source: Internet
Author: User

I. Environment:

Windows XP SP3

Microsoft Vc ++ 6.0

Ii. File Creation

Open iexpress.exe (a wizard-type cab creation tool provided by windows, which is located at c: \ windows \ system32)

Select "Create a new self-extract specified file" and click "Next ".

Select "create compressed file only (ActiveX installation)" and click "Next ".

Click "add" to add the created default. inf and getcertocx. ocx files, and click "Next ".

Select "do not save" and click "Next ".

Click "Next ".

Click "finish" to exit the wizard and generate the cab file.

3. Sign the file

1. makecert-SS print-n "cn = ** Company"-SV c: \ ocxprint \ Print. PVK-R c: \ ocxprint \ Print. Cer

SK-indicates the key container location of the topic, the certificate storage name of the SS-topic, the N-certificate issuing object, and the R-certificate storage location, -SV: export the private key file (used for signature ). Note: At this time, the password will be entered three times, and the password will be exactly the same for three times.

2. cert2spc c: \ ocxprint \ Print. Cer c: \ ocxprint \ Print. SPC

 

3. Open signtool.exe to sign the cab file.

Click Next and enter: http://timestamp.verisign.com/scripts/timstamp.dll print. Cab

 

ActiveX Control Digital Signature

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.