RE: Help for ActiveX (2)
From: [MSFT] (lukezhan_at_online.microsoft.com)
Date: 03/05/04
- Previous message: Kunal: "Re: Using Integrated Security for Accessing SQL on Remote Server"
- In reply to: Luca Vanuzzo: "Help for ActiveX (2)"
- Next in thread: Luca Vanuzzo: "Re: Help for ActiveX (2)"
- Reply: Luca Vanuzzo: "Re: Help for ActiveX (2)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 05 Mar 2004 03:48:14 GMT
Hi Luca,
Thank you for using the community. Currently, I am looking into the
question. As I understand, you need sign the cab file which contains an
ActiveX control, and use it in IE. To achieve this, you may following these
steps:
TO CREATE PVK AND SPC FILES
===========================
1) Go to to http:// 2) Select "Certificate Enrollment Tools" link
3) Select "Request a Client Authentication Certificate" link
4) On "Certificate Enrollment Form" press Advanced button
5) On Advanced Settings, specify:
6) Press OK
7) On Xenroll dialog box:
Save PVK file as: <type the path and name for the PVK file>
9) Press OK
10) It goes back to certificate Enrollment Form
11) On Certificate Enrollment Form, specify:
12) Press Submit Request button
13) On Create Private Key Password dialog box, specify:
- Path and name of the Private Key file
- Password: ******
- Confirm Password: ******
14) Press OK (or None if you intent to leave the password empty)
15) It goes to "Certificate Download page"
16) Press Download button
17) On Xenroll dialog box, specify the path and file name for the SPC file.
18) Press OK
19) If a messagebox appears asking about creating a "software publisher
20) The PVK and SPC files are OK now. Go to next steps:
TO SIGN CAB OR EXE FILES
1) Download the Authenticode:
- Go to
2) Place the following files in an empty directory:
3) Use the program SIGNCODE.EXE to sign files:
After these, you can Installing the Trusted Certificates in IE.
For more informaton on this question, you may refer to:
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q247257
http://msdn.microsoft.com/library/default.asp?url=/workshop/security/authcod
I also notice Yanghong had provided you some useful links, you can also
http://www.microsoft.com/windows/ie/using/howto/digitalcert/using.asp
Regards,
Luke
Get Secure! www.microsoft.com/security
specified during Certificate Server installation)
- Key Spec: Signature
- Algorithm: MD5
- Properties:
. Export Private Keys to a File
. Allow keys to exported
. Create a SPC file
- Usage: Code Signing
- CSP: Microsoft Base Cryptographic Provider 1.0
- Name: <the name that will appear on certificate>
- Department: <same as above, department>
- Organization: <same as above, organization>
- City: <same as above, city>
- State: <same as above, state>
- Country: <same as above, country>
- E-Mail: <same as above, email>
certificate", answer YES.
========================
http://msdn.microsoft.com/downloads/c-frame.htm?003#/downloads/tools/
- On the left pane, Tools TOC, select +Microsoft Downloads
- Select MS Authenticode (IE4)
- On the right pane, click "Download Authenticode (343K)".
- Execute the file CODESIGN.EXE to uncompress it to a folder.
- chktrust.exe (verify signatures)
- signcode.exe (signing utility)
- signer.dll (dependency file)
- *.pvk (private key)
- *.spc (public key)
- all unsigned cabs/exes
signcode -v private.pvk -spc publickey.spc filename.cab
e/signing.asp
refer them:
Microsoft Online Support
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Relevant Pages
... > can also specify a CryptoAPI keycontainer name in your source code ... > You can use the private key associated with any issued/installed X509 Certificate ... > by specifying the corresponding keycontainer for the cert. ...
(microsoft.public.dotnet.security)
... > This automatically manages acquiring access to the private key contained ... Our requirement is that a user be able to specify a certificate ...
(microsoft.public.platformsdk.security)
... > 1> I wanted to request a certificate using the Microsoft Certificate ... i can specify a container name for creating a new key set. ... > 2> How do i change the password set for the private key? ...
(microsoft.public.win2000.security)
... Every *server* certificate in IIS has to ... The public key is sent when a request from a browser ... The public key is used to *decrypt* data. ... The private key is used ...
(microsoft.public.windows.server.sbs)
... I believe your book is instructing you to keep the private key secure. ... you use the certificate request wizard in IIS to install the cert after it's ... the certificate that's just been installed. ... If an attacker retrievs the SSL certificate, ...
(microsoft.public.dotnet.security)