?
Solved

How to generate a client type PKCS #12 Certificate and use it in C# Apps

Posted on 2011-09-17
1
Medium Priority
?
471 Views
Last Modified: 2012-05-12
Dear all
I have requirement to use a client certificate in code:
<<X509SecurityToken x509Token = new X509SecurityToken(x509Certificate);>>

x509Certificate being a client type PKCS #12 Certificate

Which i need to reference with the following code
x509Certifate.Import("informing.p12", PasswordCert, X509KeyStorageFlags.DefaultKeySet);

my question is this, how can I create a client Certificate type PKCS #12
and reference it in my code?

I have tried something like
makecert -iv informing.key -ic informing.cer -eku 1.3.6.1.5.5.7.3.1 -n "CN=localhost" -p12 informing.p12 s3kr3t

Not sure if the right key is being generated .. I am getting some bad command errors.
I need to be able to generate the key and test that it existed before calling in in my Apps.

Thanks for your Help
0
Comment
Question by:ZURINET
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 13

Accepted Solution

by:
khairil earned 2000 total points
ID: 36553756
Hi,

I not knowing how to create them directly, but using this library from ChilkatSoft makes a lot of these thing easier for me to code. If you have some bucks to spend then have a look on this, http://www.chilkatsoft.com/encryption-features.asp

0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question