{"id":417,"date":"2017-02-09T11:15:12","date_gmt":"2017-02-09T11:15:12","guid":{"rendered":"https:\/\/www.thesslstore.com\/knowledgebase\/?post_type=ht_kb&#038;p=417"},"modified":"2017-09-26T10:37:57","modified_gmt":"2017-09-26T10:37:57","slug":"csr-generation-guide-for-jetty-java","status":"publish","type":"ht_kb","link":"https:\/\/www.thesslstore.com\/knowledgebase\/ssl-generate\/csr-generation-guide-for-jetty-java\/","title":{"rendered":"How to Generate a CSR for Jetty Java HTTPS Servlet Web Server"},"content":{"rendered":"<p>The following instructions will guide you through the CSR generation process on Jetty Java HTTP Servlet Web Server. To learn more about CSRs and the importance of your private key, reference our <a href=\"\/knowledgebase\/ssl-generate\/cetificate-signing-request-overview\/\">Overview of Certificate Signing Request<\/a> article. If you already generated the CSR and received your trusted SSL certificate, reference our <a href=\"https:\/\/www.thesslstore.com\/knowledgebase\/ssl-install\/jetty-java-http-servlet-webserver-ssl-installation\/\">SSL Installation Instructions<\/a> and disregard the steps below.<\/p>\n<h2>1. Run private key generation command<\/h2>\n<p>Generate a <strong>keystore<\/strong> and <strong>private key<\/strong> by running the following command:<\/p>\n<pre>keytool -genkey -alias [enter_alias_name] -keyalg RSA -keystore [enter_keystore_name] -keysize 2048<\/pre>\n<h2>2. Create a password<\/h2>\n<p>Enter a <strong>keystore password.<\/strong><\/p>\n<p><strong><em>Note:<\/em><\/strong><em> Java servers will use a default password unless you decide to change it by specifying a customer password in the server.xml configuration file. <\/em><\/p>\n<h2>3. Enter the\u00a0CSR details when prompted:<\/h2>\n<ul>\n<li><strong>Common Name (CN):<\/strong> The FQDN (fully-qualified domain name) you want to secure with the certificate such as www.google.com, secure.website.org, *.domain.net, etc.<\/li>\n<li><strong>Organization Name (ON):<\/strong>\u00a0The full legal name of your organization including the corporate identifier.<\/li>\n<li><strong>Organizational Unit (OU): <\/strong>Your department such as &#8216;Information Technology&#8217; or \u2018Website Security.\u2019<\/li>\n<li><strong>Locality or City (L): <\/strong>The locality or city where your organization is legally incorporated. Do not abbreviate.<\/li>\n<li><strong>State or Province (S): <\/strong>The state or province where your organization is legally incorporated. Do not abbreviate.<\/li>\n<li><strong>Country Name (C):<\/strong>\u00a0The official two-letter country code (i.e. US, CH) where your organization is legally incorporated.<\/li>\n<\/ul>\n<h2>4. Select Enter when prompted for the private key alias password.<\/h2>\n<p><strong><em>Note:<\/em><\/strong><em> This will set the private key password to the same password used for the keystore from Step 2. Please save the private key and keystore password. If lost, they cannot be retrieved and you\u2019ll have to start over.<\/em><\/p>\n<h2><strong>5. Backup the keystore file<\/strong><\/h2>\n<p>After creating the Keyentry, by accessing the following directory and saving the file somewhere safe in case of a system crash or failure.<\/p>\n<pre>C:\\WINNT\\Profiles\\Administrator\\.keystore<\/pre>\n<p>Or<\/p>\n<pre>C:\\Documents and Settings\\your name\\.keystore<\/pre>\n<h2>6. Run the CSR generation command<\/h2>\n<p><strong>Generate a CSR<\/strong> off the Keyentry by running the following command:<\/p>\n<pre>keytool -certreq -alias [alias_name] -file certreq.csr -keystore [keystore_name]<\/pre>\n<p>Locate and open the newly created CSR in a text editor such as Notepad and copy all the text including:<\/p>\n<pre>-----BEGIN CERTIFICATE REQUEST-----\r\nAnd\r\n-----END CERTIFICATE REQUEST-----<\/pre>\n<h2>7. Generate the order<\/h2>\n<p>Return to the <strong>Generation Form<\/strong> on our website and paste the entire CSR into the blank text box and continue with completing the generation process.<\/p>\n<p>Upon generating your CSR, your order will enter the validation process with the issuing Certificate Authority (CA) and require the certificate requester to complete some form of validation depending on the certificate purchased. For information regarding the different levels of the validation process and how to satisfy the industry requirements, reference our <a href=\"\/knowledgebase\/ssl-validation\/\">validation articles<\/a>.<\/p>\n<p>After you complete the validation process and receive the trusted SSL Certificate from the issuing Certificate Authority (CA), proceed with the next step using our <a href=\"https:\/\/www.thesslstore.com\/knowledgebase\/ssl-install\/jetty-java-http-servlet-webserver-ssl-installation\/\">SSL Installation Instructions for Jetty Java HTTP Servlet Web Server.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The following instructions will guide you through the CSR generation process on Jetty Java HTTP Servlet Web Server. To learn more about CSRs and the importance of your private key, reference our Overview of Certificate Signing Request article. If you already generated the CSR and received your trusted SSL certificate,&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"ht-kb-category":[23],"ht-kb-tag":[],"class_list":["post-417","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-ssl-generate"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Generate a Certificate Signing Request (CSR) for Jetty Java HTTPS Servlet Web Server - The SSL Store\u2122<\/title>\n<meta name=\"description\" content=\"Learn about how to generate a Certificate Signing Request (CSR) for Jetty Java HTTPS Servlet Web Server. The following instructions will guide you through the CSR generation process on Jetty Java HTTPS Servlet Web Server.\" \/>\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.thesslstore.com\/knowledgebase\/ssl-generate\/csr-generation-guide-for-jetty-java\/\" \/>\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 Certificate Signing Request (CSR) for Jetty Java HTTPS Servlet Web Server - The SSL Store\u2122\" \/>\n<meta property=\"og:description\" content=\"Learn about how to generate a Certificate Signing Request (CSR) for Jetty Java HTTPS Servlet Web Server. The following instructions will guide you through the CSR generation process on Jetty Java HTTPS Servlet Web Server.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.thesslstore.com\/knowledgebase\/ssl-generate\/csr-generation-guide-for-jetty-java\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowledge Base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/thesslstoredotcom\" \/>\n<meta property=\"article:modified_time\" content=\"2017-09-26T10:37:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.thesslstore.com\/knowledgebase\/wp-content\/uploads\/2017\/04\/thesslstore.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"300\" \/>\n\t<meta property=\"og:image:height\" content=\"300\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How to Generate a Certificate Signing Request (CSR) for Jetty Java HTTPS Servlet Web Server - The SSL Store\u2122\" \/>\n<meta name=\"twitter:description\" content=\"Learn about how to generate a Certificate Signing Request (CSR) for Jetty Java HTTPS Servlet Web Server. The following instructions will guide you through the CSR generation process on Jetty Java HTTPS Servlet Web Server.\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.thesslstore.com\/knowledgebase\/wp-content\/uploads\/2017\/04\/thesslstore.jpg\" \/>\n<meta name=\"twitter:site\" content=\"@thesslstore\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Generate a Certificate Signing Request (CSR) for Jetty Java HTTPS Servlet Web Server - The SSL Store\u2122","description":"Learn about how to generate a Certificate Signing Request (CSR) for Jetty Java HTTPS Servlet Web Server. The following instructions will guide you through the CSR generation process on Jetty Java HTTPS Servlet Web Server.","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.thesslstore.com\/knowledgebase\/ssl-generate\/csr-generation-guide-for-jetty-java\/","og_locale":"en_US","og_type":"article","og_title":"How to Generate a Certificate Signing Request (CSR) for Jetty Java HTTPS Servlet Web Server - The SSL Store\u2122","og_description":"Learn about how to generate a Certificate Signing Request (CSR) for Jetty Java HTTPS Servlet Web Server. The following instructions will guide you through the CSR generation process on Jetty Java HTTPS Servlet Web Server.","og_url":"https:\/\/www.thesslstore.com\/knowledgebase\/ssl-generate\/csr-generation-guide-for-jetty-java\/","og_site_name":"Knowledge Base","article_publisher":"https:\/\/www.facebook.com\/thesslstoredotcom","article_modified_time":"2017-09-26T10:37:57+00:00","og_image":[{"width":300,"height":300,"url":"https:\/\/www.thesslstore.com\/knowledgebase\/wp-content\/uploads\/2017\/04\/thesslstore.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_title":"How to Generate a Certificate Signing Request (CSR) for Jetty Java HTTPS Servlet Web Server - The SSL Store\u2122","twitter_description":"Learn about how to generate a Certificate Signing Request (CSR) for Jetty Java HTTPS Servlet Web Server. The following instructions will guide you through the CSR generation process on Jetty Java HTTPS Servlet Web Server.","twitter_image":"https:\/\/www.thesslstore.com\/knowledgebase\/wp-content\/uploads\/2017\/04\/thesslstore.jpg","twitter_site":"@thesslstore","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.thesslstore.com\/knowledgebase\/ssl-generate\/csr-generation-guide-for-jetty-java\/","url":"https:\/\/www.thesslstore.com\/knowledgebase\/ssl-generate\/csr-generation-guide-for-jetty-java\/","name":"How to Generate a Certificate Signing Request (CSR) for Jetty Java HTTPS Servlet Web Server - The SSL Store\u2122","isPartOf":{"@id":"https:\/\/www.thesslstore.com\/knowledgebase\/#website"},"datePublished":"2017-02-09T11:15:12+00:00","dateModified":"2017-09-26T10:37:57+00:00","description":"Learn about how to generate a Certificate Signing Request (CSR) for Jetty Java HTTPS Servlet Web Server. The following instructions will guide you through the CSR generation process on Jetty Java HTTPS Servlet Web Server.","breadcrumb":{"@id":"https:\/\/www.thesslstore.com\/knowledgebase\/ssl-generate\/csr-generation-guide-for-jetty-java\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.thesslstore.com\/knowledgebase\/ssl-generate\/csr-generation-guide-for-jetty-java\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.thesslstore.com\/knowledgebase\/ssl-generate\/csr-generation-guide-for-jetty-java\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.thesslstore.com\/knowledgebase\/"},{"@type":"ListItem","position":2,"name":"How to Generate a CSR for Jetty Java HTTPS Servlet Web Server"}]},{"@type":"WebSite","@id":"https:\/\/www.thesslstore.com\/knowledgebase\/#website","url":"https:\/\/www.thesslstore.com\/knowledgebase\/","name":"Knowledge Base","description":"TheSSLstore","publisher":{"@id":"https:\/\/www.thesslstore.com\/knowledgebase\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.thesslstore.com\/knowledgebase\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.thesslstore.com\/knowledgebase\/#organization","name":"The SSL Store\u2122","url":"https:\/\/www.thesslstore.com\/knowledgebase\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.thesslstore.com\/knowledgebase\/#\/schema\/logo\/image\/","url":"https:\/\/www.thesslstore.com\/knowledgebase\/wp-content\/uploads\/2017\/04\/thesslstore.jpg","contentUrl":"https:\/\/www.thesslstore.com\/knowledgebase\/wp-content\/uploads\/2017\/04\/thesslstore.jpg","width":300,"height":300,"caption":"The SSL Store\u2122"},"image":{"@id":"https:\/\/www.thesslstore.com\/knowledgebase\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/thesslstoredotcom","https:\/\/x.com\/thesslstore","https:\/\/www.linkedin.com\/company\/the-ssl-store","https:\/\/www.youtube.com\/user\/thesslstore"]}]}},"_links":{"self":[{"href":"https:\/\/www.thesslstore.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb\/417","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thesslstore.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.thesslstore.com\/knowledgebase\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.thesslstore.com\/knowledgebase\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thesslstore.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=417"}],"version-history":[{"count":0,"href":"https:\/\/www.thesslstore.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb\/417\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.thesslstore.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=417"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.thesslstore.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb-category?post=417"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.thesslstore.com\/knowledgebase\/wp-json\/wp\/v2\/ht-kb-tag?post=417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}