{"id":47,"date":"2012-05-29T19:26:48","date_gmt":"2012-05-29T19:26:48","guid":{"rendered":"https:\/\/sysadminnightmare.com\/?p=47"},"modified":"2012-05-29T19:26:48","modified_gmt":"2012-05-29T19:26:48","slug":"how-to-transfer-a-wildcard-to-tomcat","status":"publish","type":"post","link":"https:\/\/sysadminnightmare.com\/index.php\/2012\/05\/29\/how-to-transfer-a-wildcard-to-tomcat\/","title":{"rendered":"How to transfer a Wildcard to Tomcat"},"content":{"rendered":"<p>So I have a wildcard certificate which I talk about earlier on how to transfer it to different servers (we have several different IIS \/ Web Servers in the environment). But we also have 1 Apache Tomcat Server which had a certificate applied to it which was getting ready to expire.<\/p>\n<p>I wanted to change that certificate to the wildcard that was being used by all the other sites. I did a quick google search and found a bunch of different examples of how to do this.. but they all seem very complicated with mulitple steps and cuts and hacks .. blahhhh.<\/p>\n<p>Finally I pieced together the below steps and it worked, so here it is<\/p>\n<p>1. Export PFX file as you would for any other transfer (see earlier blog Post)<br \/>\n2. Copy the PFX file to your C:Program Files (x86)Javajre1.6.0_03bin Library (or the same play you had the tomcat.Keystore) from your previous certificate<br \/>\n3. Change the Tomcat.Keystore Text in Tomcat55confServer.xml file to your domain.pfx file name<br \/>\n4. Change the Password in keystonePassword that you created in your export<br \/>\n5. Add keystone type following your keystonePassword entry on the same line\u00a0as follows: keystoreType=&#8221;PKCS12&#8243; and Save<br \/>\n6. Restart the Apache Tomcat Service<br \/>\n7. Test<\/p>\n<p>That is it, really simple.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So I have a wildcard certificate which I talk about earlier on how to transfer it to different servers (we have several different IIS \/ Web Servers in the environment). But we also have 1 Apache Tomcat Server which had a certificate applied to it which was getting ready to&#8230; <a class=\"continue-reading-link\" href=\"https:\/\/sysadminnightmare.com\/index.php\/2012\/05\/29\/how-to-transfer-a-wildcard-to-tomcat\/\"> Continue reading <span class=\"meta-nav\">&rarr; <\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[2,9],"tags":[43,46,54],"class_list":["post-47","post","type-post","status-publish","format-standard","hentry","category-admin","category-web","tag-ssl-certificates","tag-tomcat-5","tag-wildcard-certificate"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2bgeE-L","_links":{"self":[{"href":"https:\/\/sysadminnightmare.com\/index.php\/wp-json\/wp\/v2\/posts\/47","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sysadminnightmare.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sysadminnightmare.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sysadminnightmare.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sysadminnightmare.com\/index.php\/wp-json\/wp\/v2\/comments?post=47"}],"version-history":[{"count":0,"href":"https:\/\/sysadminnightmare.com\/index.php\/wp-json\/wp\/v2\/posts\/47\/revisions"}],"wp:attachment":[{"href":"https:\/\/sysadminnightmare.com\/index.php\/wp-json\/wp\/v2\/media?parent=47"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sysadminnightmare.com\/index.php\/wp-json\/wp\/v2\/categories?post=47"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sysadminnightmare.com\/index.php\/wp-json\/wp\/v2\/tags?post=47"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}