• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1046
  • Last Modified:

working with lpk_tool.exe to sign an activex control

dear sir ,
i made an activex.ocx project in vb , and i packed it and deployed it on the internet , it works ,and every time i opened the site , the browser blocked the activex control to be executed ( this is a security reason which is normal for most browsers ) but when i allow this activex to be executed on my computer , it said unknown publisher ,
please can you help me with this  ?
i was reading in the msdn library and i found that i have to work with a tool called lpk_tool.exe , i downloaded it but i didnt know how to do that
please help
thanks
0
xodos
Asked:
xodos
  • 2
  • 2
1 Solution
 
FalconHawkCommented:
0
 
xodosAuthor Commented:
the link you gave me above is not what i wanted,
i found this link
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbconUnderstandingDigitalSigning.asp
but there is a broken link in it ,
can you give me the steps to sign a .cab file
0
 
FalconHawkCommented:
To sign your code

Apply for a certificate from a certificate authority. See http://msdn.microsoft.com/workshop/security/authcode/certs.asp for instructions on obtaining a certificate.

Get the latest tools for signing files and checking signatures. See http://msdn.microsoft.com/library/default.asp?URL=/library/psdk/crypto/cryptotools_4739.htm.

Prepare your files to be signed. If you are signing any .exe, .ocx, .vbd or .dll file, you do not need to do anything special. If you are signing a .cab file, you must add the following entry to your .ddf file and remake your .cab file:
.Set ReservePerCabinetSize=6144

Sign your files using signcode.exe. The following is an example of how you might sign a file:
Signcode -prog myfilename -name displayname -info http://www.mycompany-inc-10.com - spc mycredentials.spc -pvk myprivatekey.pvk

To test a signed .cab file, run chktrust -c cabfilename.cab
where cabfilename is the name of the .cab file you signed.
If your signing process was successful, either of these tests will display your certificate


well.. thats just whats in the duide on the microsoft site. it tells how to sign CAB files.... didnt you see it or didnt you understand it?
0
 
xodosAuthor Commented:
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now