<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Changing SSL Certificate on the MineMeld Docker container in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/changing-ssl-certificate-on-the-minemeld-docker-container/m-p/190562#M99448</link>
    <description>&lt;P&gt;Team,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone have some guidance on changing out the SSL certificates on the MineMeld Docker container? Should we modify the dockerfile to include a COPY command? Is there a way to just shunt it in via mapping an additional VOLUME during the "docker run"?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks again for an awesome tool!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Nasir&lt;/P&gt;</description>
    <pubDate>Thu, 07 Dec 2017 05:45:20 GMT</pubDate>
    <dc:creator>nbilal</dc:creator>
    <dc:date>2017-12-07T05:45:20Z</dc:date>
    <item>
      <title>Changing SSL Certificate on the MineMeld Docker container</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/changing-ssl-certificate-on-the-minemeld-docker-container/m-p/190562#M99448</link>
      <description>&lt;P&gt;Team,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone have some guidance on changing out the SSL certificates on the MineMeld Docker container? Should we modify the dockerfile to include a COPY command? Is there a way to just shunt it in via mapping an additional VOLUME during the "docker run"?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks again for an awesome tool!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Nasir&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 05:45:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/changing-ssl-certificate-on-the-minemeld-docker-container/m-p/190562#M99448</guid>
      <dc:creator>nbilal</dc:creator>
      <dc:date>2017-12-07T05:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: Changing SSL Certificate on the MineMeld Docker container</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/changing-ssl-certificate-on-the-minemeld-docker-container/m-p/190578#M99449</link>
      <description>&lt;P&gt;Hi &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/18892"&gt;@nbilal&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I just build a new docker image based on the jtschichold/minemeld one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create a new folder and place there the certificate components (minemeld.cer, minemeld.pem). In that same folder create a file named 'Dockerfile' with the following contents:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;FROM jtschichold/minemeld
ADD minemeld.cer /etc/nginx
ADD minemeld.pem /etc/nginx
&lt;/PRE&gt;
&lt;P&gt;Then run the command '&lt;FONT face="andale mono,times"&gt;docker build -t myminemeld .&lt;/FONT&gt;' in that folder. A new docker image called 'myminemeld' will be created with your certificates in it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 08:01:13 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/changing-ssl-certificate-on-the-minemeld-docker-container/m-p/190578#M99449</guid>
      <dc:creator>xhoms</dc:creator>
      <dc:date>2017-12-07T08:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Changing SSL Certificate on the MineMeld Docker container</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/changing-ssl-certificate-on-the-minemeld-docker-container/m-p/190596#M99450</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/6710"&gt;@xhoms&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This worked perfectly. I didn't realize playing with the container filesystem was so&amp;nbsp;easy! For reference for others, here's the process I went through to get the new certs on, build the new container, and launch it with the appropriate options:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;# SCP THE PKCS12 BSTAR WILDCARD CERT TO DOCKER HOST (docker host is 10.1.1.1)&lt;/STRONG&gt;&lt;BR /&gt;scp wildcard.domain.com.p12 user@10.1.1.1:~/&lt;SPAN&gt;wildcard.domain&lt;/SPAN&gt;.com.p12&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;# EXTRACT KEY AND CERT FILES FROM THE PKCS12 (assuming that it’s password-protected with ‘paloalto')&lt;/STRONG&gt;&lt;BR /&gt;openssl pkcs12 -in &lt;SPAN&gt;wildcard.domain&lt;/SPAN&gt;.com.p12 -out minemeld.cer -clcerts -nokeys -passin pass:paloalto&lt;BR /&gt;openssl pkcs12 -in &lt;SPAN&gt;wildcard.domain&lt;/SPAN&gt;.com.p12 -out minemeld.pem -nocerts -nodes -passin pass:paloalto&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;# CREATE A DOCKERFILE TO REBUILD MINEMELD CONTAINER WITH THE NEW CERT INCLUDED&lt;/STRONG&gt;&lt;BR /&gt;vi Dockerfile&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FROM jtschichold/minemeld&lt;BR /&gt;ADD minemeld.cer /etc/nginx&lt;BR /&gt;ADD minemeld.pem /etc/nginx&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;# BUILD THE NEW DOCKER CONTAINER&lt;/STRONG&gt;&lt;BR /&gt;docker build -t my_minemeld .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;# RUN THE NEW DOCKER CONTAINER&lt;/STRONG&gt;&lt;BR /&gt;docker run -dit --name mm_01 --restart unless-stopped --tmpfs /run -v /opt/minemeld-docker/:/opt/minemeld/local -p 443:443/tcp my_minemeld&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 17:31:55 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/changing-ssl-certificate-on-the-minemeld-docker-container/m-p/190596#M99450</guid>
      <dc:creator>nbilal</dc:creator>
      <dc:date>2017-12-07T17:31:55Z</dc:date>
    </item>
  </channel>
</rss>

