{"id":801,"date":"2015-03-30T08:52:26","date_gmt":"2015-03-30T08:52:26","guid":{"rendered":"https:\/\/www.rapidsslonline.com\/blog\/?p=801"},"modified":"2025-06-05T12:05:32","modified_gmt":"2025-06-05T17:35:32","slug":"install-an-ssl-certificate-on-a-tomcat-web-server","status":"publish","type":"post","link":"https:\/\/www.rapidsslonline.com\/blog\/install-an-ssl-certificate-on-a-tomcat-web-server\/","title":{"rendered":"Install an SSL certificate on a Tomcat Web Server"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">A Quick Guide for Installing an SSL Certificate on a Tomcat Web Server<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Installing an SSL Certificate on a Tomcat web server is a two step process. First, you must import the SSL certificate file into the Keystore and then you will need to configure the SSL Connector.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p class=\"wp-block-paragraph\">After getting the SSL certificate files from RapidSSLOnline.com, extract all files on your local drive or on your Tomcat server directory. Make sure the directory location is the same as the Keystore file you have generated during the CSR creation process.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. Import the SSL certificate into the Tomcat Keystore<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">You will need to add the Keystore password each time you import the SSL certificate into the Keystore.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>To import the <strong>Root certificate<\/strong> into the Keystore, type the following code:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\">keytool -import -trustcacerts -alias root -file RootCertName.crt -keystore keystore.key\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> If it alerts as &#8220;Certificate already exists in system-wide CA keystore under alias &lt;&#8230;&gt; Do you still want to add it to your own keystore? [no]:\u201d, Then press Y or Yes.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>To import the <strong>Intermediate certificate<\/strong> into the Keystore, type the following code:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\">keytool -import -trustcacerts -alias intermediate -file IntermediateCertName.crt -keystore keystore.key<\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>To import the <strong>Primary certificate<\/strong> into the Keystore, type the following code:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\">keytool -import -trustcacerts -alias tomcat -file PrimaryCertName.crt -keystore keystore.key\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If this command executes successfully, it will alert you with <strong>&#8220;Certificate reply was installed in keystore&#8221;.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. Configure SSL Connector<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">As tomcat only accepts a secure connection, you must configure the <strong>SSL Connector<\/strong>.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open the Tomcat <strong>Sever.xml<\/strong> file using any text editor (Notepad, WordPad, etc\u2026)<\/li>\n\n\n\n<li>Locate the connector which you wish to use to secure the new keystore. The default connector port is 443 or 8443.<\/li>\n\n\n\n<li>Add the correct Keystore filename and password in your connector configuration. It should look something like this:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;Connector port=\"8443\" protocol=\"org.apache.coyote.http11.Http11NioProtocol\"\n           maxThreads=\"150\" SSLEnabled=\"true\" scheme=\"https\" secure=\"true\"\n           clientAuth=\"false\" sslProtocol=\"TLS\"\n           keystoreFile=\"conf\/keystore.key\" keystorePass=\"your_password\" \/><\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Save your tomcat <strong>Server.xml<\/strong> file and restart your Tomcat Server.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The SSL connector is now configured and the SSL certificate is installed on your Tomcat Server. Woohoo!<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Useful Resources:<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a title=\"Tomcat SSL Configuration\" href=\"http:\/\/tomcat.apache.org\/tomcat-6.0-doc\/ssl-howto.html\" target=\"_blank\" rel=\"noopener\">Tomcat SSL Configuration<\/a><\/li>\n\n\n\n<li><a title=\"SSL Certificate Checker\" href=\"https:\/\/www.rapidsslonline.com\/ssl-tools\/ssl-checker.php\" target=\"_blank\" rel=\"noopener\">SSL Certificate installation checker<\/a><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A Quick Guide for Installing an SSL Certificate on a Tomcat Web Server Installing an SSL Certificate on a Tomcat web server is a two step process. First, you must &hellip; <span class=\"d-flex justify-content-end\"><a href=\"https:\/\/www.rapidsslonline.com\/blog\/install-an-ssl-certificate-on-a-tomcat-web-server\/\" class=\"btn btn-blue\">Read More <span class=\"screen-reader-text\">Install an SSL certificate on a Tomcat Web Server<\/span><\/a><\/span><\/p>\n","protected":false},"author":10,"featured_media":805,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[14],"tags":[],"class_list":["post-801","post","type-post","status-publish","format-standard","has-post-thumbnail","category-ssl-certificate"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Install an SSL certificate on a Tomcat Web Server<\/title>\n<meta name=\"description\" content=\"A Quick Guide for Installing an SSL Certificate on a Tomcat Web Server from the most trusted SSL certificate provider RapidSSLOnline.com\" \/>\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.rapidsslonline.com\/blog\/install-an-ssl-certificate-on-a-tomcat-web-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Install an SSL certificate on a Tomcat Web Server\" \/>\n<meta property=\"og:description\" content=\"A Quick Guide for Installing an SSL Certificate on a Tomcat Web Server from the most trusted SSL certificate provider RapidSSLOnline.com\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rapidsslonline.com\/blog\/install-an-ssl-certificate-on-a-tomcat-web-server\/\" \/>\n<meta property=\"og:site_name\" content=\"RapidSSLOnline Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/rsosslcertificates\/\" \/>\n<meta property=\"article:published_time\" content=\"2015-03-30T08:52:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-05T17:35:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rapidsslonline.com\/blog\/wp-content\/uploads\/2015\/03\/tomcat-web-server.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"192\" \/>\n\t<meta property=\"og:image:height\" content=\"192\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Adam Thompson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rsossl\" \/>\n<meta name=\"twitter:site\" content=\"@rsossl\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Adam Thompson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Install an SSL certificate on a Tomcat Web Server","description":"A Quick Guide for Installing an SSL Certificate on a Tomcat Web Server from the most trusted SSL certificate provider RapidSSLOnline.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.rapidsslonline.com\/blog\/install-an-ssl-certificate-on-a-tomcat-web-server\/","og_locale":"en_US","og_type":"article","og_title":"Install an SSL certificate on a Tomcat Web Server","og_description":"A Quick Guide for Installing an SSL Certificate on a Tomcat Web Server from the most trusted SSL certificate provider RapidSSLOnline.com","og_url":"https:\/\/www.rapidsslonline.com\/blog\/install-an-ssl-certificate-on-a-tomcat-web-server\/","og_site_name":"RapidSSLOnline Blog","article_publisher":"https:\/\/www.facebook.com\/rsosslcertificates\/","article_published_time":"2015-03-30T08:52:26+00:00","article_modified_time":"2025-06-05T17:35:32+00:00","og_image":[{"width":192,"height":192,"url":"https:\/\/www.rapidsslonline.com\/blog\/wp-content\/uploads\/2015\/03\/tomcat-web-server.jpg","type":"image\/jpeg"}],"author":"Adam Thompson","twitter_card":"summary_large_image","twitter_creator":"@rsossl","twitter_site":"@rsossl","twitter_misc":{"Written by":"Adam Thompson","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rapidsslonline.com\/blog\/install-an-ssl-certificate-on-a-tomcat-web-server\/#article","isPartOf":{"@id":"https:\/\/www.rapidsslonline.com\/blog\/install-an-ssl-certificate-on-a-tomcat-web-server\/"},"author":{"name":"Adam Thompson","@id":"https:\/\/www.rapidsslonline.com\/blog\/#\/schema\/person\/ab1f810704e5f52f23e62cf0a309fd56"},"headline":"Install an SSL certificate on a Tomcat Web Server","datePublished":"2015-03-30T08:52:26+00:00","dateModified":"2025-06-05T17:35:32+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rapidsslonline.com\/blog\/install-an-ssl-certificate-on-a-tomcat-web-server\/"},"wordCount":313,"image":{"@id":"https:\/\/www.rapidsslonline.com\/blog\/install-an-ssl-certificate-on-a-tomcat-web-server\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rapidsslonline.com\/blog\/wp-content\/uploads\/2015\/03\/tomcat-web-server.jpg","articleSection":["SSL Certificate"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.rapidsslonline.com\/blog\/install-an-ssl-certificate-on-a-tomcat-web-server\/","url":"https:\/\/www.rapidsslonline.com\/blog\/install-an-ssl-certificate-on-a-tomcat-web-server\/","name":"Install an SSL certificate on a Tomcat Web Server","isPartOf":{"@id":"https:\/\/www.rapidsslonline.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rapidsslonline.com\/blog\/install-an-ssl-certificate-on-a-tomcat-web-server\/#primaryimage"},"image":{"@id":"https:\/\/www.rapidsslonline.com\/blog\/install-an-ssl-certificate-on-a-tomcat-web-server\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rapidsslonline.com\/blog\/wp-content\/uploads\/2015\/03\/tomcat-web-server.jpg","datePublished":"2015-03-30T08:52:26+00:00","dateModified":"2025-06-05T17:35:32+00:00","author":{"@id":"https:\/\/www.rapidsslonline.com\/blog\/#\/schema\/person\/ab1f810704e5f52f23e62cf0a309fd56"},"description":"A Quick Guide for Installing an SSL Certificate on a Tomcat Web Server from the most trusted SSL certificate provider RapidSSLOnline.com","breadcrumb":{"@id":"https:\/\/www.rapidsslonline.com\/blog\/install-an-ssl-certificate-on-a-tomcat-web-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rapidsslonline.com\/blog\/install-an-ssl-certificate-on-a-tomcat-web-server\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rapidsslonline.com\/blog\/install-an-ssl-certificate-on-a-tomcat-web-server\/#primaryimage","url":"https:\/\/www.rapidsslonline.com\/blog\/wp-content\/uploads\/2015\/03\/tomcat-web-server.jpg","contentUrl":"https:\/\/www.rapidsslonline.com\/blog\/wp-content\/uploads\/2015\/03\/tomcat-web-server.jpg","width":192,"height":192,"caption":"tomcat web server"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rapidsslonline.com\/blog\/install-an-ssl-certificate-on-a-tomcat-web-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rapidsslonline.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Install an SSL certificate on a Tomcat Web Server"}]},{"@type":"WebSite","@id":"https:\/\/www.rapidsslonline.com\/blog\/#website","url":"https:\/\/www.rapidsslonline.com\/blog\/","name":"RapidSSLOnline Blog","description":"SSL Best Practices for Secure Website","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rapidsslonline.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.rapidsslonline.com\/blog\/#\/schema\/person\/ab1f810704e5f52f23e62cf0a309fd56","name":"Adam Thompson","sameAs":["http:\/\/rapidsslonline.com"],"url":"https:\/\/www.rapidsslonline.com\/blog\/author\/adam-thompson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rapidsslonline.com\/blog\/wp-json\/wp\/v2\/posts\/801","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rapidsslonline.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rapidsslonline.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rapidsslonline.com\/blog\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rapidsslonline.com\/blog\/wp-json\/wp\/v2\/comments?post=801"}],"version-history":[{"count":0,"href":"https:\/\/www.rapidsslonline.com\/blog\/wp-json\/wp\/v2\/posts\/801\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rapidsslonline.com\/blog\/wp-json\/wp\/v2\/media\/805"}],"wp:attachment":[{"href":"https:\/\/www.rapidsslonline.com\/blog\/wp-json\/wp\/v2\/media?parent=801"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rapidsslonline.com\/blog\/wp-json\/wp\/v2\/categories?post=801"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rapidsslonline.com\/blog\/wp-json\/wp\/v2\/tags?post=801"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}