{"id":140,"date":"2019-07-09T07:03:01","date_gmt":"2019-07-09T07:03:01","guid":{"rendered":"https:\/\/www.ssls.com\/knowledgebase\/?p=140"},"modified":"2019-08-02T14:16:04","modified_gmt":"2019-08-02T14:16:04","slug":"how-to-generate-a-csr-code-on-aws-possible-options","status":"publish","type":"post","link":"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-aws-possible-options\/","title":{"rendered":"How to generate a CSR code on AWS: possible options"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">A Certificate Signing Request (CSR) is a block of code with encrypted information about your company and domain name. This code will be required for <\/span><a href=\"https:\/\/www.ssls.com\/knowledgebase\/okay-so-i-ordered-an-ssl-how-do-i-get-it-to-work-on-my-domain\"><strong>activation<\/strong><\/a><span style=\"font-weight: 400;\"> of an SSL certificate.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">There are certain requirements for CSR fields:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Common Name: a Fully Qualified Domain Name (e.g., example.com, www.example.com or *.example.com for Wildcard SSL certificates);<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Country: a <\/span><a href=\"https:\/\/en.wikipedia.org\/wiki\/ISO_3166-1_alpha-2#Officially_assigned_code_elements\"><strong>two-letter code<\/strong><\/a><span style=\"font-weight: 400;\"> (e.g., US);<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">State (or province);<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Locality (or city);<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Organization (you can enter \u201cNA\u201d if you do not have one);<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Organizational Unit (you can enter \u201cNA\u201d if you do not have one);<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">E-mail address.<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">* Only alphanumeric characters should be used when filling out the aforementioned fields. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">It is recommended to generate a CSR code specifically on the server where the certificate is to be installed. Alternatively, you may use this <\/span><a href=\"https:\/\/decoder.link\/csr_generator\"><strong>online tool<\/strong><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><strong>NB<\/strong><span style=\"font-weight: 400;\">: Using online CSR generation tools is the least preferable option. However, if you use such a tool, please make sure to back up the private key.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">There are a few possible options depending on the exact Amazon service you are using:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">If you have a Linux Instance with the <\/span><strong>Apache\/Nginx <\/strong><span style=\"font-weight: 400;\">web server installed, please refer to <\/span><a href=\"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-apache-nginx-using-openssl\"><strong>this guide<\/strong><\/a><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">If you have a Windows Instance with Internet Information Services (IIS) web server unlocked, you can follow this <\/span><a href=\"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-iis8\"><strong>illustrated guide<\/strong><\/a><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\"><a href=\"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-tomcat-using-keytool\"><strong>Here<\/strong><\/a><span style=\"font-weight: 400;\"> you can find the guide for the <\/span><strong>Tomcat <\/strong><span style=\"font-weight: 400;\">server.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">If you need an SSL certificate for <\/span><strong>Load Balancer<\/strong><span style=\"font-weight: 400;\">, you can generate a CSR code and upload your certificate to AWS with the help of the <\/span><a href=\"http:\/\/docs.aws.amazon.com\/IAM\/latest\/UserGuide\/server-certs_manage_create.html#certs-install-openssl\"><strong>OpenSSL<\/strong><\/a><span style=\"font-weight: 400;\"> tool:<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">The command to generate a private key and a CSR code is the following:<\/span><\/p>\n<p><strong>openssl req -new -newkey rsa:2048 -nodes -keyout example.key -out example.csr<\/strong><\/p>\n<p><span style=\"font-weight: 400;\">* You can replace \u201c<\/span><strong>example<\/strong><span style=\"font-weight: 400;\">\u201d with the domain name the certificate will be issued for in order to easily identify the files later during installation.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">* 2048- and 4096-bit are the standard key sizes, it should be not less than 2048-bit key size. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">Once a CSR is generated, you will get a block of code with the following tags: <\/span><span style=\"font-weight: 400;\">&#8212;&#8211;BEGIN CERTIFICATE REQUEST&#8212;- and &#8212;&#8211;END CERTIFICATE REQUEST&#8212;-<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Please use this code to <\/span><a href=\"https:\/\/www.ssls.com\/knowledgebase\/okay-so-i-ordered-an-ssl-how-do-i-get-it-to-work-on-my-domain\"><strong>activate<\/strong><\/a> <span style=\"font-weight: 400;\">your SSL certificate. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">* To avoid any CSR-related errors during activation, we recommend that you check your CSR code at <\/span><a href=\"https:\/\/decoder.link\/\"><span style=\"font-weight: 400;\">https:\/\/decoder.link<\/span><\/a><span style=\"font-weight: 400;\"> before proceeding.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A Certificate Signing Request (CSR) is a block of code with encrypted information about your company and domain name. This code will be required for activation of an SSL certificate. There are certain requirements for CSR fields: Common Name: a Fully Qualified Domain Name (e.g., example.com, www.example.com or *.example.com for Wildcard SSL certificates); Country: a ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-aws-possible-options\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-140","post","type-post","status-publish","format-standard","hentry","category-csr-generation-instructions"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to generate a CSR code on AWS: possible options \u2013 HelpDesk | SSLs.com<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-aws-possible-options\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to generate a CSR code on AWS: possible options \u2013 HelpDesk | SSLs.com\" \/>\n<meta property=\"og:description\" content=\"A Certificate Signing Request (CSR) is a block of code with encrypted information about your company and domain name. This code will be required for activation of an SSL certificate. There are certain requirements for CSR fields: Common Name: a Fully Qualified Domain Name (e.g., example.com, www.example.com or *.example.com for Wildcard SSL certificates); Country: a ..Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-aws-possible-options\/\" \/>\n<meta property=\"og:site_name\" content=\"SSL Certificate Knowledgebase | SSLs.com\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/SSLsCom\" \/>\n<meta property=\"article:published_time\" content=\"2019-07-09T07:03:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-08-02T14:16:04+00:00\" \/>\n<meta name=\"author\" content=\"sslbizdev\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@SSLscom\" \/>\n<meta name=\"twitter:site\" content=\"@SSLscom\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"sslbizdev\" \/>\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:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-aws-possible-options\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-aws-possible-options\/\"},\"author\":{\"name\":\"sslbizdev\",\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/#\/schema\/person\/7e29a188929740c7a59d9a1c15c18806\"},\"headline\":\"How to generate a CSR code on AWS: possible options\",\"datePublished\":\"2019-07-09T07:03:01+00:00\",\"dateModified\":\"2019-08-02T14:16:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-aws-possible-options\/\"},\"wordCount\":382,\"publisher\":{\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/#organization\"},\"articleSection\":[\"CSR generation instructions\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-aws-possible-options\/\",\"url\":\"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-aws-possible-options\/\",\"name\":\"How to generate a CSR code on AWS: possible options \u2013 HelpDesk | SSLs.com\",\"isPartOf\":{\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/#website\"},\"datePublished\":\"2019-07-09T07:03:01+00:00\",\"dateModified\":\"2019-08-02T14:16:04+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-aws-possible-options\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-aws-possible-options\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-aws-possible-options\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.ssls.com\/knowledgebase\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to generate a CSR code on AWS: possible options\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/#website\",\"url\":\"https:\/\/www.ssls.com\/knowledgebase\/\",\"name\":\"SSL Certificate Knowledgebase | SSLs.com\",\"description\":\"SSL Knowledgebase | SSLs.com\",\"publisher\":{\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.ssls.com\/knowledgebase\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/#organization\",\"name\":\"SSLs.com\",\"url\":\"https:\/\/www.ssls.com\/knowledgebase\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.ssls.com\/knowledgebase\/wp-content\/uploads\/2019\/07\/8WCg7Uph_400x400-1.png\",\"contentUrl\":\"https:\/\/www.ssls.com\/knowledgebase\/wp-content\/uploads\/2019\/07\/8WCg7Uph_400x400-1.png\",\"width\":400,\"height\":400,\"caption\":\"SSLs.com\"},\"image\":{\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/SSLsCom\",\"https:\/\/x.com\/SSLscom\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/#\/schema\/person\/7e29a188929740c7a59d9a1c15c18806\",\"name\":\"sslbizdev\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/b43c2e48b8cf4c353e91aa8232dac0c56e490f3f1eff58a7652c7d9a866e3f66?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b43c2e48b8cf4c353e91aa8232dac0c56e490f3f1eff58a7652c7d9a866e3f66?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b43c2e48b8cf4c353e91aa8232dac0c56e490f3f1eff58a7652c7d9a866e3f66?s=96&d=mm&r=g\",\"caption\":\"sslbizdev\"},\"url\":\"https:\/\/www.ssls.com\/knowledgebase\/author\/sslbizdev\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to generate a CSR code on AWS: possible options \u2013 HelpDesk | SSLs.com","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:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-aws-possible-options\/","og_locale":"en_US","og_type":"article","og_title":"How to generate a CSR code on AWS: possible options \u2013 HelpDesk | SSLs.com","og_description":"A Certificate Signing Request (CSR) is a block of code with encrypted information about your company and domain name. This code will be required for activation of an SSL certificate. There are certain requirements for CSR fields: Common Name: a Fully Qualified Domain Name (e.g., example.com, www.example.com or *.example.com for Wildcard SSL certificates); Country: a ..Read more","og_url":"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-aws-possible-options\/","og_site_name":"SSL Certificate Knowledgebase | SSLs.com","article_publisher":"https:\/\/www.facebook.com\/SSLsCom","article_published_time":"2019-07-09T07:03:01+00:00","article_modified_time":"2019-08-02T14:16:04+00:00","author":"sslbizdev","twitter_card":"summary_large_image","twitter_creator":"@SSLscom","twitter_site":"@SSLscom","twitter_misc":{"Written by":"sslbizdev","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-aws-possible-options\/#article","isPartOf":{"@id":"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-aws-possible-options\/"},"author":{"name":"sslbizdev","@id":"https:\/\/www.ssls.com\/knowledgebase\/#\/schema\/person\/7e29a188929740c7a59d9a1c15c18806"},"headline":"How to generate a CSR code on AWS: possible options","datePublished":"2019-07-09T07:03:01+00:00","dateModified":"2019-08-02T14:16:04+00:00","mainEntityOfPage":{"@id":"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-aws-possible-options\/"},"wordCount":382,"publisher":{"@id":"https:\/\/www.ssls.com\/knowledgebase\/#organization"},"articleSection":["CSR generation instructions"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-aws-possible-options\/","url":"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-aws-possible-options\/","name":"How to generate a CSR code on AWS: possible options \u2013 HelpDesk | SSLs.com","isPartOf":{"@id":"https:\/\/www.ssls.com\/knowledgebase\/#website"},"datePublished":"2019-07-09T07:03:01+00:00","dateModified":"2019-08-02T14:16:04+00:00","breadcrumb":{"@id":"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-aws-possible-options\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-aws-possible-options\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-aws-possible-options\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.ssls.com\/knowledgebase\/"},{"@type":"ListItem","position":2,"name":"How to generate a CSR code on AWS: possible options"}]},{"@type":"WebSite","@id":"https:\/\/www.ssls.com\/knowledgebase\/#website","url":"https:\/\/www.ssls.com\/knowledgebase\/","name":"SSL Certificate Knowledgebase | SSLs.com","description":"SSL Knowledgebase | SSLs.com","publisher":{"@id":"https:\/\/www.ssls.com\/knowledgebase\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.ssls.com\/knowledgebase\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.ssls.com\/knowledgebase\/#organization","name":"SSLs.com","url":"https:\/\/www.ssls.com\/knowledgebase\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.ssls.com\/knowledgebase\/#\/schema\/logo\/image\/","url":"https:\/\/www.ssls.com\/knowledgebase\/wp-content\/uploads\/2019\/07\/8WCg7Uph_400x400-1.png","contentUrl":"https:\/\/www.ssls.com\/knowledgebase\/wp-content\/uploads\/2019\/07\/8WCg7Uph_400x400-1.png","width":400,"height":400,"caption":"SSLs.com"},"image":{"@id":"https:\/\/www.ssls.com\/knowledgebase\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/SSLsCom","https:\/\/x.com\/SSLscom"]},{"@type":"Person","@id":"https:\/\/www.ssls.com\/knowledgebase\/#\/schema\/person\/7e29a188929740c7a59d9a1c15c18806","name":"sslbizdev","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/b43c2e48b8cf4c353e91aa8232dac0c56e490f3f1eff58a7652c7d9a866e3f66?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b43c2e48b8cf4c353e91aa8232dac0c56e490f3f1eff58a7652c7d9a866e3f66?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b43c2e48b8cf4c353e91aa8232dac0c56e490f3f1eff58a7652c7d9a866e3f66?s=96&d=mm&r=g","caption":"sslbizdev"},"url":"https:\/\/www.ssls.com\/knowledgebase\/author\/sslbizdev\/"}]}},"publishpress_future_action":{"enabled":false,"date":"2026-05-14 18:49:34","action":"change-status","newStatus":"draft","terms":[],"taxonomy":"category","extraData":[]},"publishpress_future_workflow_manual_trigger":{"enabledWorkflows":[]},"_links":{"self":[{"href":"https:\/\/www.ssls.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/140","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ssls.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ssls.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ssls.com\/knowledgebase\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ssls.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=140"}],"version-history":[{"count":5,"href":"https:\/\/www.ssls.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/140\/revisions"}],"predecessor-version":[{"id":1658,"href":"https:\/\/www.ssls.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/140\/revisions\/1658"}],"wp:attachment":[{"href":"https:\/\/www.ssls.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=140"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ssls.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=140"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ssls.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}