pfx

How to Find the Password of a PFX file generated with Visual Studio

Hi, I have a C# Project signed with a Temporary PFX key. Recently, my hard disk fried off and i had to reinstall everything, now, when I try to compile my project, it asks for the Password for the PFX key, but it is not the key I thought it was. I don't want to change the PFX, because there are about 200 clients already installed, and i...

"Invalid provider type specified" when signing clickonce manifest in VS2008

I have a certificate issued by a CA on our intranet (it's a V3 sha1 pfx file). When I use this in the signing part of my clickonce (vsto addin) project, I get the error: C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v9.0\OfficeTools\Microsoft.VisualStudio.Tools.Office.Office2007.targets(250,9): error MSB3482: An error occurred ...

Multithreading or task parallel library

I have an application which performs 30 independent tasks simultaneously using multithreading, each task retrieves data over http, performs a calculation and returns a result to the ui thread. Can I use TPL to perform the same tasks? Does TPL create 30 new threads and spread them over all the available cores, or does it just split the ...

Cannot import the following keyfile: blah.pfx. The keyfile may be password protected.

We just upgraded our Visual Studio 2008 projects to VS2010. All of our assemblies were strong signed using a Verisign code signing certificate. Since the upgrade we continuously get the following error: Cannot import the following key file: companyname.pfx. The key file may be password protected. To correct this, try to import the c...

using OpenSSL to create .pfx file

I've been offered some commands to create a .pfx file using OpenSSL. For the most part, my partner gathered this information from: http://stackoverflow.com/questions/553149/is-it-possible-to-convert-an-ssl-certificate-from-a-key-file-to-a-pfx I have the following files: 2010certificate.cer 2010cert_and_key.pem private_verisign10to1...

While using ConcurrentQueue, trying to dequeue while looping through in parallel

I am using the parallel data structures in my .NET 4 application and I have a ConcurrentQueue that gets added to while I am processing through it. I want to do something like: personqueue.AsParallel().WithDegreeOfParallelism(20).ForAll(i => ... ); as I make database calls to save the data, so I am limiting the number of concurrent thr...

Convert .PEM certificate to .PFX Programatically using OpenSSL

I've got a .PEM file that I want to convert to a PKCS12 file (PFX) and I know I can easily accomplish this using the following openssl command: Create a PKCS#12 file: openssl pkcs12 -export -in file.pem -out file.p12 -name "My Certificate" Which is great, but I'd like to do this programmatically using openssl calls. Unfortunately...

.pfx password issue C#

A new topic too me is file extension .pxf security. Even though I get the password, I don't know how to use them. How does this work on .NET programming? Especially unlocking pfx-secured assemblies. Assignments are submitted as compressed solutions. Normally, I unzip files and open them using Visual Studio 2010. ...

How to copy X509Certificate from one server to another with private key file

Fellow Stackers, I screwed up. I created a new application for one of the servers at my office that requires an X509Certificate with private key file. I installed the certificate on several machines. Now, I need to install the certificate on another machine. The problem is, I've lost the files to install the certificate. One solutio...

C# Parallel Vs. Threaded code performance

I've been testing the performance of System.Threading.Parallel vs a Threading and I'm surprised to see Parallel taking longer to finish tasks than threading. I'm sure it's due to my limited knowledge of Parallel, which I just started reading up on. I thought i'll share few snippets and if anyone can point out to me paralle code is runni...

Problem with TemporaryKey.pfx I don't have the password

Hi, A client of mine has a problem. He had a Microsoft CRM developper and he left. Now the project remains uncomplete. I've downloaded the source code of the custom applications and I'm not trying to continue the development. I've tried the ClickOne deployment and it pops me with a password input box related to the myapp_TemporaryKey.p...