{"id":579,"date":"2023-04-07T06:48:45","date_gmt":"2023-04-07T06:48:45","guid":{"rendered":"https:\/\/certerassl.com\/kb\/?p=579"},"modified":"2024-10-10T08:33:48","modified_gmt":"2024-10-10T08:33:48","slug":"how-to-generate-csr-on-centos","status":"publish","type":"post","link":"https:\/\/certera.com\/kb\/how-to-generate-csr-on-centos\/","title":{"rendered":"How to Generate CSR on CentOS?"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Steps to Generate CSR on CentOS<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This guide will show you how to generate Certificate Signing Request in CentOS Server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>You have two options to generate CSR.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Automatic CSR Generation Tool<\/strong>: Using our <a href=\"https:\/\/certera.com\/ssl-tools\/csr-generator\" target=\"_blank\" rel=\"noreferrer noopener\">free CSR generation tool<\/a>, generating CSR on CentOS is easy and quick. You need to provide some basic details like Common Name (CN), Organization (O), Locality (L), etc., and the tool will automatically generate CSR for you.<\/li>\n\n\n\n<li><strong>Use OpenSSL Command:<\/strong> If you want more granular control over the CSR generation process, you can use OpenSSL commands. Check for the below steps.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">CSR Generation Steps on CentOS using OpenSSL Command<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open the\u00a0OpenSSL configuration\u00a0file. This file contains the OpenSSL configuration settings. <strong>Run this command:<\/strong><\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>nano \/etc\/openssl.cnf<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In the file, locate the <strong>section [req]<\/strong> and uncomment the line req_extensions = v3_req.<\/li>\n\n\n\n<li>This enables the&nbsp;standard X.509v3 extensions in the CSR.<\/li>\n\n\n\n<li>Save the file by pressing Ctrl+O in nano.<\/li>\n\n\n\n<li>Generate a new private key. This will be used to generate the CSR. <strong>Run this command:<\/strong><\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>openssl genrsa -des3 -out privatekey.pem 2048<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>This will prompt you to enter a&nbsp;passphrase&nbsp;to encrypt the private key.<\/li>\n\n\n\n<li>Generate the CSR using the private key. <strong>Use the following command:<\/strong><\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>openssl req\u00a0-new -out CSR.csr -key privatekey.pem -config \/etc\/openssl.cnf<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>This will prompt you for details to include in the CSR like Common Name, Organization, etc.<\/li>\n\n\n\n<li>Your&nbsp;CSR file&nbsp;CSR.csr will be generated in the same directory.<\/li>\n\n\n\n<li>Submit this CSR.csr file to a certificate authority to obtain an&nbsp;SSL certificate.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Once you receive the SSL certificate, you can <strong><a href=\"https:\/\/certera.com\/kb\/how-to-install-ssl-certificate-on-centos\/\">install SSL Certificate on CentOS<\/a> <\/strong>server to enable HTTPS.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Steps to Generate CSR on CentOS This guide will show you how to generate Certificate Signing Request in CentOS Server. You have two options to generate CSR. CSR Generation Steps on CentOS using OpenSSL Command Once you receive the SSL certificate, you can install SSL Certificate on CentOS server to enable HTTPS.<\/p>\n","protected":false},"author":1,"featured_media":581,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[50],"tags":[20,51,52],"class_list":["post-579","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-generate-csr","tag-centos","tag-csr","tag-csr-generation","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Generate CSR on CentOS in Minutes? - CerteraSSL<\/title>\n<meta name=\"description\" content=\"Learn how to generate CSR on CentOS (Certificate Signing Request) quickly and easily with our step-by-step guide.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/certera.com\/kb\/how-to-generate-csr-on-centos\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Generate CSR on CentOS in Minutes? - CerteraSSL\" \/>\n<meta property=\"og:description\" content=\"Learn how to generate CSR on CentOS (Certificate Signing Request) quickly and easily with our step-by-step guide.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/certera.com\/kb\/how-to-generate-csr-on-centos\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowledge Base - Certera.com\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/certeraLLC\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-07T06:48:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-10T08:33:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/certera.com\/kb\/wp-content\/uploads\/2023\/04\/step-to-generate-csr-in-centos-jpg.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"960\" \/>\n\t<meta property=\"og:image:height\" content=\"620\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"certerakbdbuser\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@certera_llc\" \/>\n<meta name=\"twitter:site\" content=\"@certera_llc\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"certerakbdbuser\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/certera.com\\\/kb\\\/how-to-generate-csr-on-centos\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/certera.com\\\/kb\\\/how-to-generate-csr-on-centos\\\/\"},\"author\":{\"name\":\"certerakbdbuser\",\"@id\":\"https:\\\/\\\/certera.com\\\/kb\\\/#\\\/schema\\\/person\\\/c25e1519e333a817f30c805384cba014\"},\"headline\":\"How to Generate CSR on CentOS?\",\"datePublished\":\"2023-04-07T06:48:45+00:00\",\"dateModified\":\"2024-10-10T08:33:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/certera.com\\\/kb\\\/how-to-generate-csr-on-centos\\\/\"},\"wordCount\":262,\"publisher\":{\"@id\":\"https:\\\/\\\/certera.com\\\/kb\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/certera.com\\\/kb\\\/how-to-generate-csr-on-centos\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/certera.com\\\/kb\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/step-to-generate-csr-in-centos-jpg.webp\",\"keywords\":[\"CentOS\",\"CSR\",\"CSR Generation\"],\"articleSection\":[\"Generate CSR\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/certera.com\\\/kb\\\/how-to-generate-csr-on-centos\\\/\",\"url\":\"https:\\\/\\\/certera.com\\\/kb\\\/how-to-generate-csr-on-centos\\\/\",\"name\":\"How to Generate CSR on CentOS in Minutes? - CerteraSSL\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/certera.com\\\/kb\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/certera.com\\\/kb\\\/how-to-generate-csr-on-centos\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/certera.com\\\/kb\\\/how-to-generate-csr-on-centos\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/certera.com\\\/kb\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/step-to-generate-csr-in-centos-jpg.webp\",\"datePublished\":\"2023-04-07T06:48:45+00:00\",\"dateModified\":\"2024-10-10T08:33:48+00:00\",\"description\":\"Learn how to generate CSR on CentOS (Certificate Signing Request) quickly and easily with our step-by-step guide.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/certera.com\\\/kb\\\/how-to-generate-csr-on-centos\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/certera.com\\\/kb\\\/how-to-generate-csr-on-centos\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/certera.com\\\/kb\\\/how-to-generate-csr-on-centos\\\/#primaryimage\",\"url\":\"https:\\\/\\\/certera.com\\\/kb\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/step-to-generate-csr-in-centos-jpg.webp\",\"contentUrl\":\"https:\\\/\\\/certera.com\\\/kb\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/step-to-generate-csr-in-centos-jpg.webp\",\"width\":960,\"height\":620,\"caption\":\"Generate CSR on CentOS\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/certera.com\\\/kb\\\/how-to-generate-csr-on-centos\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/certera.com\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Generate CSR on CentOS?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/certera.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/certera.com\\\/kb\\\/\",\"name\":\"Knowledge Base - Certera.com\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/certera.com\\\/kb\\\/#organization\"},\"alternateName\":\"Certera Knowledgebase\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/certera.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/certera.com\\\/kb\\\/#organization\",\"name\":\"Certera\",\"url\":\"https:\\\/\\\/certera.com\\\/kb\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/certera.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/certera.com\\\/kb\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/brand-certera.svg\",\"contentUrl\":\"https:\\\/\\\/certera.com\\\/kb\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/brand-certera.svg\",\"caption\":\"Certera\"},\"image\":{\"@id\":\"https:\\\/\\\/certera.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/certeraLLC\\\/\",\"https:\\\/\\\/x.com\\\/certera_llc\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/certera-llc\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/certera.com\\\/kb\\\/#\\\/schema\\\/person\\\/c25e1519e333a817f30c805384cba014\",\"name\":\"certerakbdbuser\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1fba817ef81065f1393461fc3a0d85c40f2cc826919819ea4df4b12d76566e62?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1fba817ef81065f1393461fc3a0d85c40f2cc826919819ea4df4b12d76566e62?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1fba817ef81065f1393461fc3a0d85c40f2cc826919819ea4df4b12d76566e62?s=96&d=mm&r=g\",\"caption\":\"certerakbdbuser\"},\"sameAs\":[\"https:\\\/\\\/certerakb.ssltoolsonline.com\"],\"url\":\"https:\\\/\\\/certera.com\\\/kb\\\/author\\\/certerakbdbuser\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Generate CSR on CentOS in Minutes? - CerteraSSL","description":"Learn how to generate CSR on CentOS (Certificate Signing Request) quickly and easily with our step-by-step guide.","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:\/\/certera.com\/kb\/how-to-generate-csr-on-centos\/","og_locale":"en_US","og_type":"article","og_title":"How to Generate CSR on CentOS in Minutes? - CerteraSSL","og_description":"Learn how to generate CSR on CentOS (Certificate Signing Request) quickly and easily with our step-by-step guide.","og_url":"https:\/\/certera.com\/kb\/how-to-generate-csr-on-centos\/","og_site_name":"Knowledge Base - Certera.com","article_publisher":"https:\/\/www.facebook.com\/certeraLLC\/","article_published_time":"2023-04-07T06:48:45+00:00","article_modified_time":"2024-10-10T08:33:48+00:00","og_image":[{"width":960,"height":620,"url":"https:\/\/certera.com\/kb\/wp-content\/uploads\/2023\/04\/step-to-generate-csr-in-centos-jpg.webp","type":"image\/jpeg"}],"author":"certerakbdbuser","twitter_card":"summary_large_image","twitter_creator":"@certera_llc","twitter_site":"@certera_llc","twitter_misc":{"Written by":"certerakbdbuser","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/certera.com\/kb\/how-to-generate-csr-on-centos\/#article","isPartOf":{"@id":"https:\/\/certera.com\/kb\/how-to-generate-csr-on-centos\/"},"author":{"name":"certerakbdbuser","@id":"https:\/\/certera.com\/kb\/#\/schema\/person\/c25e1519e333a817f30c805384cba014"},"headline":"How to Generate CSR on CentOS?","datePublished":"2023-04-07T06:48:45+00:00","dateModified":"2024-10-10T08:33:48+00:00","mainEntityOfPage":{"@id":"https:\/\/certera.com\/kb\/how-to-generate-csr-on-centos\/"},"wordCount":262,"publisher":{"@id":"https:\/\/certera.com\/kb\/#organization"},"image":{"@id":"https:\/\/certera.com\/kb\/how-to-generate-csr-on-centos\/#primaryimage"},"thumbnailUrl":"https:\/\/certera.com\/kb\/wp-content\/uploads\/2023\/04\/step-to-generate-csr-in-centos-jpg.webp","keywords":["CentOS","CSR","CSR Generation"],"articleSection":["Generate CSR"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/certera.com\/kb\/how-to-generate-csr-on-centos\/","url":"https:\/\/certera.com\/kb\/how-to-generate-csr-on-centos\/","name":"How to Generate CSR on CentOS in Minutes? - CerteraSSL","isPartOf":{"@id":"https:\/\/certera.com\/kb\/#website"},"primaryImageOfPage":{"@id":"https:\/\/certera.com\/kb\/how-to-generate-csr-on-centos\/#primaryimage"},"image":{"@id":"https:\/\/certera.com\/kb\/how-to-generate-csr-on-centos\/#primaryimage"},"thumbnailUrl":"https:\/\/certera.com\/kb\/wp-content\/uploads\/2023\/04\/step-to-generate-csr-in-centos-jpg.webp","datePublished":"2023-04-07T06:48:45+00:00","dateModified":"2024-10-10T08:33:48+00:00","description":"Learn how to generate CSR on CentOS (Certificate Signing Request) quickly and easily with our step-by-step guide.","breadcrumb":{"@id":"https:\/\/certera.com\/kb\/how-to-generate-csr-on-centos\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/certera.com\/kb\/how-to-generate-csr-on-centos\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/certera.com\/kb\/how-to-generate-csr-on-centos\/#primaryimage","url":"https:\/\/certera.com\/kb\/wp-content\/uploads\/2023\/04\/step-to-generate-csr-in-centos-jpg.webp","contentUrl":"https:\/\/certera.com\/kb\/wp-content\/uploads\/2023\/04\/step-to-generate-csr-in-centos-jpg.webp","width":960,"height":620,"caption":"Generate CSR on CentOS"},{"@type":"BreadcrumbList","@id":"https:\/\/certera.com\/kb\/how-to-generate-csr-on-centos\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/certera.com\/kb\/"},{"@type":"ListItem","position":2,"name":"How to Generate CSR on CentOS?"}]},{"@type":"WebSite","@id":"https:\/\/certera.com\/kb\/#website","url":"https:\/\/certera.com\/kb\/","name":"Knowledge Base - Certera.com","description":"","publisher":{"@id":"https:\/\/certera.com\/kb\/#organization"},"alternateName":"Certera Knowledgebase","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/certera.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/certera.com\/kb\/#organization","name":"Certera","url":"https:\/\/certera.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/certera.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/certera.com\/kb\/wp-content\/uploads\/2023\/01\/brand-certera.svg","contentUrl":"https:\/\/certera.com\/kb\/wp-content\/uploads\/2023\/01\/brand-certera.svg","caption":"Certera"},"image":{"@id":"https:\/\/certera.com\/kb\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/certeraLLC\/","https:\/\/x.com\/certera_llc","https:\/\/www.linkedin.com\/company\/certera-llc\/"]},{"@type":"Person","@id":"https:\/\/certera.com\/kb\/#\/schema\/person\/c25e1519e333a817f30c805384cba014","name":"certerakbdbuser","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/1fba817ef81065f1393461fc3a0d85c40f2cc826919819ea4df4b12d76566e62?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/1fba817ef81065f1393461fc3a0d85c40f2cc826919819ea4df4b12d76566e62?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1fba817ef81065f1393461fc3a0d85c40f2cc826919819ea4df4b12d76566e62?s=96&d=mm&r=g","caption":"certerakbdbuser"},"sameAs":["https:\/\/certerakb.ssltoolsonline.com"],"url":"https:\/\/certera.com\/kb\/author\/certerakbdbuser\/"}]}},"_links":{"self":[{"href":"https:\/\/certera.com\/kb\/wp-json\/wp\/v2\/posts\/579","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/certera.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/certera.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/certera.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/certera.com\/kb\/wp-json\/wp\/v2\/comments?post=579"}],"version-history":[{"count":8,"href":"https:\/\/certera.com\/kb\/wp-json\/wp\/v2\/posts\/579\/revisions"}],"predecessor-version":[{"id":2481,"href":"https:\/\/certera.com\/kb\/wp-json\/wp\/v2\/posts\/579\/revisions\/2481"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/certera.com\/kb\/wp-json\/wp\/v2\/media\/581"}],"wp:attachment":[{"href":"https:\/\/certera.com\/kb\/wp-json\/wp\/v2\/media?parent=579"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/certera.com\/kb\/wp-json\/wp\/v2\/categories?post=579"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/certera.com\/kb\/wp-json\/wp\/v2\/tags?post=579"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}