Solved

Convert a .crt to a public key

Posted on 2012-03-21
2
456 Views
Last Modified: 2012-04-02
How do i convert my .crt file to a public key?
0
Comment
Question by:deklinm
2 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 450 total points
ID: 37751785
# assuming you want to convert a crt format to another format:
openssl x509   -in your.cer -out your.pem -inform der
# or
openssl pkcs12 -in your.crt -out your.pfx -export -inkey your-key.crt -certfile cacerts.crt
0
 
LVL 40

Assisted Solution

by:noci
noci earned 50 total points
ID: 37770240
a .crt is a public key of a keypair. The private key is either packaged in a pkcs#5, pkcs#8 or a pkcs#12. With pkcs#12 giving the best protection (these are also known as .pfx files)
and for conversion see ahofmans answer.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
By pass website on ASA for Websense 4 93
Rdp session freeze periodically in FORTIGATE ssl vpn 2 80
Completing Certificate Request in IIS 7 1 34
Disable SSL 3 6 36
So you need a certificate so you can offer SSL encryption.  But which one should you get?  There are so many choices out there! Here is a generic overview of the main types of SSL certificates sold by the majority of commercial Certification Auth…
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

696 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