Does SignTool work on Windows 7?

Hi all, The answer to the question of the title is YES, OF COURSE! Why wouldn’t it? Well, the reason of this question is the following: you may already know that CAPICOM has been deprecated on Windows 7 (CAPICOM support on Windows 7). It was going to be deprecated when Vista came out, but it didn’t…


x64 version of CAPICOM?

Hi all, Now that we are progressively moving to x64 systems, many people ask me if there is an x64 version of CAPICOM available. The answer is no, there is not. And because CAPICOM is already deprecated (CAPICOM support on Windows 7), there won’t ever be any. So if you are using a version of…


2.1.0.3, a new CAPICOM version?

Hi all, The other day I got surprised when a customer of mine told me that they had seen a new CAPICOM version being installed by Office 2007 SP2: 2.1.0.3. I’ve been dealing with many CAPICOM issues in the past, and I had no news of such a version. Is it a new version? Can…


CAPICOM support on Windows 7

Hi all, CAPICOM has finally been deprecated, and it won’t be supported on Windows 7. This link is up to date and proposes alternatives to CAPICOM classes by using .NET classes and CryptoAPI: Alternatives to Using CAPICOM. The following article may help if you were using CAPICOM in your web site and you are planning…


How to sign EXE files with an Authenticode certificate (part 2)

Hi all, welcome back, The other day a customer of mine was having an issue with SignTool.exe when signing an EXE file. The EXE file was getting corrupted/unusable after signing it. When troubleshooting this issue, I had the chance to play a bit more with SignTool and check what it does behind the scenes. Note: I…


How to read certificate extensions with CAPICOM (C#)

Hi all, welcome back, I recently had a customer who needed to retrieve extensions from certificates the easy way in .NET 1.1, and they wanted to use CAPICOM for that. In .NET 2.0 and later we may use X509Certificate2 to achieve the same results (I strongly recommend this approach), but in .NET 1.1 we only have X509Certificate…


Certificate has private key but we get "the keyset does not exist" error

Hi all, welcome back, The other day we were using CAPICOM in a client script run in Internet Explorer. We were trying to sign some string with the private key of a certificate we previously installed in the client machine, but we kept getting the error “the keyset does not exist“, like if the private key…


CAPICOM Security Alerts are not localized

Hi all, welcome back, When we use CAPICOM, we may get some messages like the following:   Security Alert: This Web site needs to decrypt data using your private key. Security Alert: This Web site needs to create a digital signature using your private key. Security Alert: This Web site needs to add digital certificates…


CAPICOM support on Windows Server 2008

Hi all, welcome back,   If you remember all the confusion there was regarding CAPICOM support on Vista, now everything seems much clearer on Windows Server 2008. Our documentation team has done its homework, as we can see in CAPICOM Reference:   “CAPICOM is available for use in the following operating systems: Windows Server 2008,…