Solved

Convert a .crt to a public key

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

914 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now