{"id":959,"date":"2020-01-08T15:31:40","date_gmt":"2020-01-08T15:31:40","guid":{"rendered":"https:\/\/cheapsslsecurity.com\/p\/?p=959"},"modified":"2020-06-19T10:51:46","modified_gmt":"2020-06-19T10:51:46","slug":"how-to-convert-cer-to-crt-in-openssl","status":"publish","type":"post","link":"https:\/\/cheapsslsecurity.com\/p\/how-to-convert-cer-to-crt-in-openssl\/","title":{"rendered":"How to Convert CER to CRT in OpenSSL"},"content":{"rendered":"<h2>We\u2019ll break down how to convert your certificate file from one file extension to another to work with your server<\/h2>\n<p>When working with <a href=\"https:\/\/cheapsslsecurity.com\/sslproducts.html\">SSL\/TLS certificates<\/a> and other X.509 digital certificates, you may find yourself needing to convert files from CER to CRT. No worries \u2014 you\u2019re not the first (and you certainly won\u2019t be the last) person who needs to know how to convert CER to CRT.<\/p>\n<p><!--more--><\/p>\n<p>However, what you may or may not know is that there\u2019s fundamentally no difference between CER and CRT files. Much like DER files, they\u2019re both <a href=\"https:\/\/www.lifewire.com\/base64-encoding-overview-1166412\" target=\"_blank\" rel=\"noopener noreferrer\">Base64<\/a> (ASCII) format files \u2014 they just happen to have two different filename extensions (.cer and .crt). But what happens when you need to convert CER to CRT for one reason or another? We\u2019ll break down the CER to CRT conversion process for you momentarily. But first, a little primer about both types of file extensions.<\/p>\n<div class=\"graysection\">\n<h2>Purchase SAN Certificate\/Multi-Domain SSL &amp; Save Up to 88%!<\/h2>\n<p>We offer the best discount on all types of SAN SSL Certificates (Multi-Domain SSL). We offer certificates from the leading CAs, including Comodo CA, Sectigo, Thawte, and GeoTrust with SAN certificates starting as low as $18.02 per year.<\/p>\n<p><a class=\"comparebtn\" href=\"https:\/\/cheapsslsecurity.com\/sslproducts\/san-ssl-certificates.html\">Shop SAN SSL Certificates<\/a><\/p>\n<\/div>\n<h2>Why and How Would You Convert Them?<\/h2>\n<p>CER and CRT are just two filename extensions that are commonly used for X.509 digital certificates such as SSL\/TLS certificates. So, if they\u2019re essentially the same for all intents and purposes, why go to the trouble of converting them?<\/p>\n<p>The answer often boils down to different web servers requiring different file formats and extensions. Some servers may require .cer files whereas others may require file extensions such as .der, .pem, .pfx, etc. So, depending on the needs of your server, you may find yourself in the position of needing to <a href=\"https:\/\/cheapsslsecurity.com\/ssltools\/ssl-converter.php\">convert your SSL file<\/a> to other formats.<\/p>\n<h2>How to Convert Files from CER to CRT<\/h2>\n<p>To convert digital certificate files from .cer to .crt file extensions, you have a few different options to do so. For this article, we\u2019ll walk you through the process of using OpenSSL.<\/p>\n<p>Use the following command \u2014 and be sure to specify the full file path:<\/p>\n<p><code>openssl x509 -inform PEM -in &lt;filepath&gt;\/certificate.cert -out certificate.crt<\/code><\/p>\n<p>Great! That was easy, right? It\u2019s a super simple process, and there are actually different ways you can go about doing the same thing. This is just one method.<\/p>\n<p>But what if you need to do the opposite and convert a CRT file extension to CER? No worries, we\u2019ll lay those steps out for you here as well.<\/p>\n<h2>How to Convert Files from CRT to CER<\/h2>\n<p>Because CER and CRT files are basically synonymous, they can be used interchangeably by simply changing the extension. So, in case your server requires you to use the .CER file extension, you can convert to .CRT extension easily by implementing the following steps:<\/p>\n<ul>\n<li>Double-click on the file labeled <strong>.crt <\/strong>to open it into the certificate display.<\/li>\n<li>Select the\u00a0<strong>Details <\/strong>tab, and then click <strong>Copy to File<\/strong>.<\/li>\n<li>Click the\u00a0<strong>Next <\/strong>option in the certificate wizard.<\/li>\n<li>Choose\u00a0<strong>Base-64 encoded X.509 (.cer)<\/strong>, and then click on\u00a0<strong>Next<\/strong>.<\/li>\n<li>Now, browse to store your file and type in the filename that you want to keep<\/li>\n<li>Finally, save the file.<\/li>\n<\/ul>\n<p>Congratulations! You\u2019ve successfully converted your certificate from .crt to .cer. This means you now can access your certificate\u2019s text data in a text file since it\u2019s no longer in binary form.<\/p>\n<div class=\"graysection\">\n<h2>Purchase an x.509 Digital Certificate from CheapSSLSecurity &amp; Save Up to 88%!<\/h2>\n<p>We offer the internet&#8217;s best discount on x.509 digital certificates such as SSL\/TLS certificates and code signing certificates. Our SSL certificates start as low as $5.45 per year.<\/p>\n<p><a class=\"comparebtn\" href=\"https:\/\/cheapsslsecurity.com\/sslcompare\/compare-ssl-certificates-prices.html\">Compare SSL Certificate Price<\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>We\u2019ll break down how to convert your certificate file from one file extension to another to work with your server When working with SSL\/TLS certificates and other X.509 digital certificates, you may find yourself needing to convert files from CER &hellip; <a href=\"https:\/\/cheapsslsecurity.com\/p\/how-to-convert-cer-to-crt-in-openssl\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[84],"class_list":["post-959","post","type-post","status-publish","format-standard","hentry","category-ssl-advanced","tag-convert"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Convert CER to CRT in OpenSSL? Quick Steps<\/title>\n<meta name=\"description\" content=\"Depending on your server, you may need to convert your digital certificate from CER to CRT (.cer to crt). It&#039;s a super easy process \u2014 here&#039;s what to know.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cheapsslsecurity.com\/p\/how-to-convert-cer-to-crt-in-openssl\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Convert CER to CRT in OpenSSL? Quick Steps\" \/>\n<meta property=\"og:description\" content=\"Depending on your server, you may need to convert your digital certificate from CER to CRT (.cer to crt). It&#039;s a super easy process \u2014 here&#039;s what to know.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cheapsslsecurity.com\/p\/how-to-convert-cer-to-crt-in-openssl\/\" \/>\n<meta property=\"og:site_name\" content=\"Cheap SSL Security\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/CheapSSLSecurities\" \/>\n<meta property=\"article:published_time\" content=\"2020-01-08T15:31:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-06-19T10:51:46+00:00\" \/>\n<meta name=\"author\" content=\"casey.crane\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@sslsecurity\" \/>\n<meta name=\"twitter:site\" content=\"@sslsecurity\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"casey.crane\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/cheapsslsecurity.com\\\/p\\\/how-to-convert-cer-to-crt-in-openssl\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cheapsslsecurity.com\\\/p\\\/how-to-convert-cer-to-crt-in-openssl\\\/\"},\"author\":{\"name\":\"casey.crane\",\"@id\":\"https:\\\/\\\/cheapsslsecurity.com\\\/p\\\/#\\\/schema\\\/person\\\/d9c1744bb0931c1942814061a5aca108\"},\"headline\":\"How to Convert CER to CRT in OpenSSL\",\"datePublished\":\"2020-01-08T15:31:40+00:00\",\"dateModified\":\"2020-06-19T10:51:46+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/cheapsslsecurity.com\\\/p\\\/how-to-convert-cer-to-crt-in-openssl\\\/\"},\"wordCount\":621,\"keywords\":[\"convert\"],\"articleSection\":[\"SSL Advanced\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/cheapsslsecurity.com\\\/p\\\/how-to-convert-cer-to-crt-in-openssl\\\/\",\"url\":\"https:\\\/\\\/cheapsslsecurity.com\\\/p\\\/how-to-convert-cer-to-crt-in-openssl\\\/\",\"name\":\"How to Convert CER to CRT in OpenSSL? Quick Steps\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cheapsslsecurity.com\\\/p\\\/#website\"},\"datePublished\":\"2020-01-08T15:31:40+00:00\",\"dateModified\":\"2020-06-19T10:51:46+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/cheapsslsecurity.com\\\/p\\\/#\\\/schema\\\/person\\\/d9c1744bb0931c1942814061a5aca108\"},\"description\":\"Depending on your server, you may need to convert your digital certificate from CER to CRT (.cer to crt). It's a super easy process \u2014 here's what to know.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/cheapsslsecurity.com\\\/p\\\/how-to-convert-cer-to-crt-in-openssl\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/cheapsslsecurity.com\\\/p\\\/how-to-convert-cer-to-crt-in-openssl\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/cheapsslsecurity.com\\\/p\\\/how-to-convert-cer-to-crt-in-openssl\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"SSL Help\",\"item\":\"https:\\\/\\\/cheapsslsecurity.com\\\/p\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SSL Advanced\",\"item\":\"https:\\\/\\\/cheapsslsecurity.com\\\/p\\\/ssl-advanced\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Convert CER to CRT in OpenSSL\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/cheapsslsecurity.com\\\/p\\\/#website\",\"url\":\"https:\\\/\\\/cheapsslsecurity.com\\\/p\\\/\",\"name\":\"Cheap SSL Security\",\"description\":\"Shop for SSL Certificates at Cheap Prices\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/cheapsslsecurity.com\\\/p\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/cheapsslsecurity.com\\\/p\\\/#\\\/schema\\\/person\\\/d9c1744bb0931c1942814061a5aca108\",\"name\":\"casey.crane\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c18d819d34a1995e91a4aa7518e9048df7856f336a1ede2262a572db7b1c2506?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c18d819d34a1995e91a4aa7518e9048df7856f336a1ede2262a572db7b1c2506?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c18d819d34a1995e91a4aa7518e9048df7856f336a1ede2262a572db7b1c2506?s=96&d=mm&r=g\",\"caption\":\"casey.crane\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Convert CER to CRT in OpenSSL? Quick Steps","description":"Depending on your server, you may need to convert your digital certificate from CER to CRT (.cer to crt). It's a super easy process \u2014 here's what to know.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cheapsslsecurity.com\/p\/how-to-convert-cer-to-crt-in-openssl\/","og_locale":"en_US","og_type":"article","og_title":"How to Convert CER to CRT in OpenSSL? Quick Steps","og_description":"Depending on your server, you may need to convert your digital certificate from CER to CRT (.cer to crt). It's a super easy process \u2014 here's what to know.","og_url":"https:\/\/cheapsslsecurity.com\/p\/how-to-convert-cer-to-crt-in-openssl\/","og_site_name":"Cheap SSL Security","article_publisher":"https:\/\/www.facebook.com\/CheapSSLSecurities","article_published_time":"2020-01-08T15:31:40+00:00","article_modified_time":"2020-06-19T10:51:46+00:00","author":"casey.crane","twitter_card":"summary_large_image","twitter_creator":"@sslsecurity","twitter_site":"@sslsecurity","twitter_misc":{"Written by":"casey.crane","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/cheapsslsecurity.com\/p\/how-to-convert-cer-to-crt-in-openssl\/#article","isPartOf":{"@id":"https:\/\/cheapsslsecurity.com\/p\/how-to-convert-cer-to-crt-in-openssl\/"},"author":{"name":"casey.crane","@id":"https:\/\/cheapsslsecurity.com\/p\/#\/schema\/person\/d9c1744bb0931c1942814061a5aca108"},"headline":"How to Convert CER to CRT in OpenSSL","datePublished":"2020-01-08T15:31:40+00:00","dateModified":"2020-06-19T10:51:46+00:00","mainEntityOfPage":{"@id":"https:\/\/cheapsslsecurity.com\/p\/how-to-convert-cer-to-crt-in-openssl\/"},"wordCount":621,"keywords":["convert"],"articleSection":["SSL Advanced"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/cheapsslsecurity.com\/p\/how-to-convert-cer-to-crt-in-openssl\/","url":"https:\/\/cheapsslsecurity.com\/p\/how-to-convert-cer-to-crt-in-openssl\/","name":"How to Convert CER to CRT in OpenSSL? Quick Steps","isPartOf":{"@id":"https:\/\/cheapsslsecurity.com\/p\/#website"},"datePublished":"2020-01-08T15:31:40+00:00","dateModified":"2020-06-19T10:51:46+00:00","author":{"@id":"https:\/\/cheapsslsecurity.com\/p\/#\/schema\/person\/d9c1744bb0931c1942814061a5aca108"},"description":"Depending on your server, you may need to convert your digital certificate from CER to CRT (.cer to crt). It's a super easy process \u2014 here's what to know.","breadcrumb":{"@id":"https:\/\/cheapsslsecurity.com\/p\/how-to-convert-cer-to-crt-in-openssl\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cheapsslsecurity.com\/p\/how-to-convert-cer-to-crt-in-openssl\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cheapsslsecurity.com\/p\/how-to-convert-cer-to-crt-in-openssl\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"SSL Help","item":"https:\/\/cheapsslsecurity.com\/p\/"},{"@type":"ListItem","position":2,"name":"SSL Advanced","item":"https:\/\/cheapsslsecurity.com\/p\/ssl-advanced\/"},{"@type":"ListItem","position":3,"name":"How to Convert CER to CRT in OpenSSL"}]},{"@type":"WebSite","@id":"https:\/\/cheapsslsecurity.com\/p\/#website","url":"https:\/\/cheapsslsecurity.com\/p\/","name":"Cheap SSL Security","description":"Shop for SSL Certificates at Cheap Prices","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cheapsslsecurity.com\/p\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/cheapsslsecurity.com\/p\/#\/schema\/person\/d9c1744bb0931c1942814061a5aca108","name":"casey.crane","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/c18d819d34a1995e91a4aa7518e9048df7856f336a1ede2262a572db7b1c2506?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c18d819d34a1995e91a4aa7518e9048df7856f336a1ede2262a572db7b1c2506?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c18d819d34a1995e91a4aa7518e9048df7856f336a1ede2262a572db7b1c2506?s=96&d=mm&r=g","caption":"casey.crane"}}]}},"_links":{"self":[{"href":"https:\/\/cheapsslsecurity.com\/p\/wp-json\/wp\/v2\/posts\/959","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cheapsslsecurity.com\/p\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cheapsslsecurity.com\/p\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cheapsslsecurity.com\/p\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/cheapsslsecurity.com\/p\/wp-json\/wp\/v2\/comments?post=959"}],"version-history":[{"count":0,"href":"https:\/\/cheapsslsecurity.com\/p\/wp-json\/wp\/v2\/posts\/959\/revisions"}],"wp:attachment":[{"href":"https:\/\/cheapsslsecurity.com\/p\/wp-json\/wp\/v2\/media?parent=959"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cheapsslsecurity.com\/p\/wp-json\/wp\/v2\/categories?post=959"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cheapsslsecurity.com\/p\/wp-json\/wp\/v2\/tags?post=959"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}