My boss recently purchased a code signing certificate from Comodo. I now have the task of making it work in VS2013 using Strong Name Key signing and perhaps as a post-build event, too. He did the whole purchasing process on the same machine (Windows 8.1 64-bit laptop) and using the [...] read more
I have a .p12 file and I want to use it to sign Data. This is my code: public static async Task<String> Sign(String Message) { StorageFolder appInstalledFolder = Windows.ApplicationModel.Package.Current.InstalledLocation; var CerFile = await appInstalledFolder.GetFileAsync(@"Assets\Certificates\RAS_pkcs12.p12"); var CerBuffer = await FileIO.ReadBufferAsync(CerFile); string CerData = CryptographicBuffer.EncodeToBase64String(CerBuffer); await CertificateEnrollmentManager.ImportPfxDataAsync (CerData, "123456789", ExportOption.NotExportable, KeyProtectionLevel.NoConsent, InstallOptions.None, [...] read more
I have a working build system, but when we got a new code signing certificate today, signtool stopped working with SignTool Error: An unexpected internal error has occurred. Error information: "Error: Store::ImportCertObject() failed." (-2146885630/0x80092002) How do I resolve? read more
I have a Bluetooth device I'm connecting to that has a public key installed on it which it uses to encrypt the data it sends back to to my C# Win 8.1 Store App. On the app side I have a PEM private key supplied by the vendor of the [...] read more
I'm using libcurl libraries to call a rest endpoint and it fails on pulling the self signed cert with the error: schannel: Failed to import cert file sit.cer, last error is 0x80092002. I'm not really that well versed on c++ curl_easy_setopt(curl, CURLOPT_CAINFO, "cacert.pem"); curl_easy_setopt(curl, CURLOPT_SSLCERT, "sit.crt"); curl_easy_setopt(curl, CURLOPT_SSLKEY, "sit.key"); curl_easy_setopt(curl, [...] read more
I just obtained a code signing certificate from DigiCert. I've got the Microsoft Authenticode one. I was surprised they didn't ask me for a private key (I think it was generated in the browser). After exporting it from Firefox to a P12-file, I tried signing my app with it and [...] read more