Solved

Convert a .crt to a public key

Posted on 2012-03-21
2
472 Views
Last Modified: 2012-04-02
How do i convert my .crt file to a public key?
0
Comment
Question by:deklinm
[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
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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

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

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…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

688 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