Solved

convert ssl cert to .pem

Posted on 2014-01-28
7
773 Views
Last Modified: 2014-02-16
How do I convert a certificate from .crt  that I recieved from a certificate authority?  Or is it better to have the vendor do this?
0
Comment
Question by:Jack_son_
7 Comments
 
LVL 15

Assisted Solution

by:pateljitu
pateljitu earned 100 total points
ID: 39815953
0
 
LVL 33

Assisted Solution

by:Dave Howe
Dave Howe earned 300 total points
ID: 39816029
it may already be in PEM format - open it in a text editor, if it starts with
-----BEGIN CERTIFICATE-----
then its a PEM :)

if not, its easy to get it to be one in windows. just double-click it, and on the resulting certificate popup, select "details" and "copy to file" - you want "Base-64 encoded x.509" which is PEM format :)
0
 

Author Comment

by:Jack_son_
ID: 39816066
great, it does say ----BEGIN CERTIFICATE----

so this is pem?        can i just rename the file extension?
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
LVL 33

Assisted Solution

by:Dave Howe
Dave Howe earned 300 total points
ID: 39816103
yep, that is PEM. You can rename it if that makes you feel better :)


I take it you want it for apache or something? in which case, you don't even need to rename it, apache won't care :)
0
 

Author Comment

by:Jack_son_
ID: 39816138
ok - thanks
0
 
LVL 3

Assisted Solution

by:cristiantm
cristiantm earned 100 total points
ID: 39817341
Since it is already answered, just a complement:

Extensions are just something to give for a software a *hint* about what is inside. Windows accepts .crt and .cer as extensions for Certificates, no matter how they are encoded in the file. Mosf software will accept a file even if the extension is not "correct", if what it expects is correclty encoded inside.

Certificates may be PEM or DER encoded. DER is ASN.1 binary encoding. PEM is base 64 encoding with headers and footers (the ----BEGIN CERTIFICATE), therefore with printable chars that can be better exchanged in some protocols (or by mail, for example).
0
 
LVL 33

Accepted Solution

by:
Dave Howe earned 300 total points
ID: 39817615
Yup. But almost always, anything that *requires* a PEM file is either on linux or ported from linux - and linux/unix rarely uses file extensions, that's mostly a DOS/Windows thing... although oddly, apache itself often does to recognise which scripting engine to call for which serverside script :)
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Suggested Solutions

Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
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…

790 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