Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

convert ssl cert to .pem

Posted on 2014-01-28
7
Medium Priority
?
797 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_
[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
7 Comments
 
LVL 15

Assisted Solution

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

Assisted Solution

by:Dave Howe
Dave Howe earned 1200 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
Are You Ready for GDPR?

With the GDPR deadline set for May 25, 2018, many organizations are ill-prepared due to uncertainty about the criteria for compliance. According to a recent WatchGuard survey, a staggering 37% of respondents don't even know if their organization needs to comply with GDPR. Do you?

 
LVL 33

Assisted Solution

by:Dave Howe
Dave Howe earned 1200 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 400 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 1200 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
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…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

704 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