{"id":593,"date":"2018-10-23T15:04:00","date_gmt":"2018-10-23T13:04:00","guid":{"rendered":"http:\/\/www.ume.li\/blog\/?p=593"},"modified":"2018-10-23T15:05:29","modified_gmt":"2018-10-23T13:05:29","slug":"ibm-connections-component-pack-6-0-0-6-reveal-the-elasticsearch-secret","status":"publish","type":"post","link":"https:\/\/www.ume.li\/blog\/2018\/10\/23\/ibm-connections-component-pack-6-0-0-6-reveal-the-elasticsearch-secret\/","title":{"rendered":"IBM Connections Component Pack 6.0.0.6 &#8211; reveal the elasticsearch secret"},"content":{"rendered":"<p>In order to combine elasticsearch and Connections you need some of the elasticsearch certificates. With version &lt; 6.0.0.6 those certificates could be found in \/opt\/certs. With the latest release, they are created directly into your kubernetes cluster.<\/p>\n<p>With this simple line, created by Toni Feric, you can export the certs<\/p>\n<p><code><br \/>\nkubectl -n connections get secret elasticsearch-secret -o json | egrep '\\.txt|\\.p12|\\.key|\\.pem' | sed -e 's\/^ *\/\/' -e 's\/,$\/\/' -e 's\/\"\/\/g' | awk -F':' '{print \"echo\"$2\" | base64 -d &gt;\"$1}' | bash<\/code><\/p>\n<p>The result should look like this:<br \/>\n<a href=\"http:\/\/www.ume.li\/blog\/2018\/10\/23\/ibm-connections-component-pack-6-0-0-6-reveal-the-elasticsearch-secret\/auswahl_005-2\/\" rel=\"attachment wp-att-600\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.ume.li\/blog\/wp-content\/uploads\/2018\/10\/Auswahl_005.png\" alt=\"\" width=\"739\" height=\"375\" class=\"alignleft size-full wp-image-600\" srcset=\"https:\/\/www.ume.li\/blog\/wp-content\/uploads\/2018\/10\/Auswahl_005.png 739w, https:\/\/www.ume.li\/blog\/wp-content\/uploads\/2018\/10\/Auswahl_005-300x152.png 300w, https:\/\/www.ume.li\/blog\/wp-content\/uploads\/2018\/10\/Auswahl_005-100x51.png 100w, https:\/\/www.ume.li\/blog\/wp-content\/uploads\/2018\/10\/Auswahl_005-150x76.png 150w, https:\/\/www.ume.li\/blog\/wp-content\/uploads\/2018\/10\/Auswahl_005-200x101.png 200w, https:\/\/www.ume.li\/blog\/wp-content\/uploads\/2018\/10\/Auswahl_005-450x228.png 450w, https:\/\/www.ume.li\/blog\/wp-content\/uploads\/2018\/10\/Auswahl_005-600x304.png 600w\" sizes=\"auto, (max-width: 739px) 100vw, 739px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In order to combine elasticsearch and Connections you need some of the elasticsearch certificates. With version &lt; 6.0.0.6 those certificates<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[54,23,53],"tags":[],"class_list":["post-593","post","type-post","status-publish","format-standard","hentry","category-component-pack","category-connections","category-pink"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/posts\/593","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/comments?post=593"}],"version-history":[{"count":6,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/posts\/593\/revisions"}],"predecessor-version":[{"id":602,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/posts\/593\/revisions\/602"}],"wp:attachment":[{"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/media?parent=593"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/categories?post=593"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/tags?post=593"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}