{"id":1886,"date":"2019-06-21T18:11:43","date_gmt":"2019-06-21T12:41:43","guid":{"rendered":"http:\/\/blog.tenthplanet.in\/?p=1886"},"modified":"2026-03-03T10:14:13","modified_gmt":"2026-03-03T10:14:13","slug":"increase-security-in-pentaho-by-ssl-self-signed-configuration","status":"publish","type":"post","link":"https:\/\/tenthplanet.in\/blogs\/increase-security-in-pentaho-by-ssl-self-signed-configuration\/","title":{"rendered":"Increase Security in Pentaho+ by SSL self signed configuration"},"content":{"rendered":"<h3>Configuration SSL(https) in Pentaho+ User Console and Server<\/h3>\n<h3>Generate SSL Keystore using OpenSSL<\/h3>\n<p>1. Open a terminal or command prompt, enter your working directory:<\/p>\n<pre>cd $PENTAHO_HOME\/server\/pentaho-server\/<\/pre>\n<p>2. Run the keytool command to generate a self-signed certificate. You may also obtain a signed certificate from a certificate authority if you wish. Ensure that the certificate uses a hash algorithm supported by your IdP (most likely SHA1 or SHA256).<\/p>\n<pre>$ keytool -genkey -alias tomcat -keystore tomcat.keystore.jks -storepass changeit -keyalg RSA \u2013keypass changeit<\/pre>\n<h4>Notes:<\/h4>\n<ul>\n<li>(a). When prompted, fill out any information relevant to your organization<\/li>\n<li>(b). Use a password other than \u201cchangeit\u201d for \u2013storepass and \u2013keypass arguments<\/li>\n<li>(c). The keystore password (-storepass) and key password (-keypass) do not need to be the same<\/li>\n<\/ul>\n<p>3. Configure SSL certificate in tomcat<\/p>\n<pre>Use a text editor to open the Pentaho+ Tomcat \/tomcat\/conf\/server.xml file.<\/pre>\n<p>Locate the connector you want the new Keystore to secure i.e.<\/p>\n<h3>Configure SSL Certificate in Pentaho+ Server<\/h3>\n<p>1. Change to the home directory of the user account that starts the Pentaho Server and User Console processes or services. If you installed the default settings for Pentaho+, this directory will be $PENTAHO_HOME\/<\/p>\n<p>2. Execute the following command, changing the storepass (password in the example) and keypass (password in the example) accordingly<\/p>\n<pre>$ keytool -export -alias tomcat -file tomcat.cer -storepass changeit -keypass changeit -keystore $PENTAHO_HOME\/tomcat.keystore.jks<\/pre>\n<p>3. Change to the<\/p>\n<pre>$PENTAHO_JAVA_HOME\/jre\/lib\/security\/ directory\n$ cd $PENTAHO_JAVA_HOME\/jre\/lib\/security\/<\/pre>\n<p>4. Execute the following command, changing the alias (servercert in the example), the file path to the certificate (the current user&#8217;s home directory in the example), and the storepass (password in the example) accordingly<\/p>\n<pre>$ keytool -import -alias tomcat -file $PENTAHO_HOME\/tomcat.cer -keystore cacerts -storepass changeit<\/pre>\n<p>5. Execute the following command and make note of the MD5 sum for the Tomcat entry:<\/p>\n<pre>$ keytool -list -keystore cacerts<\/pre>\n<p>6. Change back to the home directory of the user account that starts the Pentaho+ Server and User Console, and run this command<\/p>\n<pre>keytool -list -keystore keystore.jks<\/pre>\n<p>7. Restart the server and then try to connect with SSL URL i.e.<\/p>\n<pre>https:\/\/localhost:port\/pentaho<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Increase Security in Pentaho by SSL self signed configuration<\/p>\n","protected":false},"author":23,"featured_media":1951,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[424],"tags":[464,465],"class_list":["post-1886","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-pentaho","tag-pentaho-security","tag-security"],"_links":{"self":[{"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/posts\/1886","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/users\/23"}],"replies":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/comments?post=1886"}],"version-history":[{"count":0,"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/posts\/1886\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/media\/1951"}],"wp:attachment":[{"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/media?parent=1886"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/categories?post=1886"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tenthplanet.in\/blogs\/wp-json\/wp\/v2\/tags?post=1886"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}