Solved

Convert a .crt to a public key

Posted on 2012-03-21
2
448 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Imagine a situation that you have installed SSL (http://en.wikipedia.org/wiki/Secure_Sockets_Layer) Certificate on your Cisco ASA (Cisco Adaptive Security Appliance) firewall. Installation of SSL certificate on ASA is an another topic for which you …
Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

829 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