?
Solved

Convert a .crt to a public key

Posted on 2012-03-21
2
Medium Priority
?
496 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 1800 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 200 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

Bringing Advanced Authentication to the SMB Market

WatchGuard announces the acquisition of advanced authentication provider, Datablink, with one mission – to bring secure authentication to SMB, mid-market, and distributed enterprises with a cloud-based solution, ideal for resale via their established channel & MSSP community.

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.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

765 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