<?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 Re: How to replace the Vault self-signed certificate with a Internal CA / External CA certificate. in PAM Self-Hosted Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-to-replace-the-vault-self-signed-certificate-with-a-internal/m-p/1297101#M1262</link>
    <description>&lt;P&gt;Out of curiosity, why would you sign the request so it becomes a subordinate CA? That certificate template allows the Vault to sign certificate requests directly and those certificates would be trusted by anything that trusts the Root CA. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a specific EKU that the Vault needs? Usually in these types of applications the Server Authentication EKU is sufficient.&lt;/P&gt;</description>
    <pubDate>Mon, 17 Dec 2018 21:03:03 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2018-12-17T21:03:03Z</dc:date>
    <item>
      <title>How to replace the Vault self-signed certificate with a Internal CA / External CA certificate.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-to-replace-the-vault-self-signed-certificate-with-a-internal/m-p/1297098#M1259</link>
      <description>&lt;P&gt;Create the Vault.csr (Certificate Request)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the Vault run:&lt;/P&gt;&lt;P&gt;CACert.exe request /ReqOutFile Vault.csr /CommonName "WIN-4SLA3N5U1V6.localdomain.local" /SubjAlt "DNS:WIN-4SLA3N5U1V6.localdomain.local, IP:10.10.1.24"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will replace the certificate in your ServerPrivateKey=&amp;nbsp;location specified in the dbparm.ini. It is a good idea to backup and also temporarily change the location just to generate the CSR.&lt;/P&gt;&lt;P&gt;Don't forget to change back the location after you have generated the request.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To create the certificate, copy the Vault.csr to the CA&amp;nbsp;(Certificate Authority).&lt;/P&gt;&lt;P&gt;On the CA server run:&lt;/P&gt;&lt;P&gt;certreq -submit -attrib "CertificateTemplate:SubCA" Vault.csr Vault.cer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Download the root certificate and the&amp;nbsp;Vault.cer to the Vault server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create a location where the root certificate needs will be installed (Example C:\Root\)&lt;/P&gt;&lt;P&gt;Add the location to the TrustedCAPath in the dbparm.ini (TrustedCAPath=C:\Root\root.cer)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Install the root certificate&lt;/P&gt;&lt;P&gt;c:\Program Files (x86)\PrivateArk\Server&amp;gt;CACert.exe setca /Add root.cer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Install the Vault.cert:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CACert.exe install /CertFileName Vault.cer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Replace the old Server.pvk with the new Server.pvk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Restart the Vault&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2018 02:12:16 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-to-replace-the-vault-self-signed-certificate-with-a-internal/m-p/1297098#M1259</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2018-10-30T02:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace the Vault self-signed certificate with a Internal CA / External CA certificate.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-to-replace-the-vault-self-signed-certificate-with-a-internal/m-p/1297099#M1260</link>
      <description>&lt;P&gt;Good idea to have this here &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The next steps would be to use this certificate. In all components, edit the Vault.ini , specify the FQDN of the Vault in ADDRESS and uncomment/set the two parameters.&lt;/P&gt;&lt;CODE&gt;ADDRESS=WIN-4SLA3N5U1V6.localdomain.local
PORT=1858
PREAUTHSECUREDSESSION=Yes
TRUSTSSC=No&lt;/CODE&gt;&lt;P&gt;Finally restart the right service to reload the vault.ini.&lt;/P&gt;&lt;P&gt;This way, each component will verify that the Vault it is connecting to is the right one by verifying the Vault's certificate. Of course, each component needs to trust the CA chain the certificate comes from.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Last thing, add a reminder to all vault admins' calendar so you don't forget to renew certificate before it expires otherwise you'll end up with a complete production mess.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2018 15:38:35 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-to-replace-the-vault-self-signed-certificate-with-a-internal/m-p/1297099#M1260</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2018-10-30T15:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace the Vault self-signed certificate with a Internal CA / External CA certificate.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-to-replace-the-vault-self-signed-certificate-with-a-internal/m-p/1297100#M1261</link>
      <description>&lt;P&gt;@Sebastien Siegl​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks! And thank you for your addition too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Oct 2018 02:31:17 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-to-replace-the-vault-self-signed-certificate-with-a-internal/m-p/1297100#M1261</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2018-10-31T02:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace the Vault self-signed certificate with a Internal CA / External CA certificate.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-to-replace-the-vault-self-signed-certificate-with-a-internal/m-p/1297101#M1262</link>
      <description>&lt;P&gt;Out of curiosity, why would you sign the request so it becomes a subordinate CA? That certificate template allows the Vault to sign certificate requests directly and those certificates would be trusted by anything that trusts the Root CA. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a specific EKU that the Vault needs? Usually in these types of applications the Server Authentication EKU is sufficient.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2018 21:03:03 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-to-replace-the-vault-self-signed-certificate-with-a-internal/m-p/1297101#M1262</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2018-12-17T21:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace the Vault self-signed certificate with a Internal CA / External CA certificate.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-to-replace-the-vault-self-signed-certificate-with-a-internal/m-p/1297102#M1263</link>
      <description>&lt;P&gt;I am pretty sure that he used the SubCA template just because it was handy.  I have just run through this and used a version of the standard "Computer" template furnished with Windows Server 2008 and that appears to work fine.  I am also reasonably sure that you don't want your vault to moonlight as a SubCA.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2019 14:31:28 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-to-replace-the-vault-self-signed-certificate-with-a-internal/m-p/1297102#M1263</guid>
      <dc:creator>jeff_degan</dc:creator>
      <dc:date>2019-04-02T14:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace the Vault self-signed certificate with a Internal CA / External CA certificate.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-to-replace-the-vault-self-signed-certificate-with-a-internal/m-p/1297103#M1264</link>
      <description>&lt;P&gt;The option "PREAUTHSECUREDSESSION=Yes" seems to have prevented my PVWA from starting.  Left it off and it works fine with "TRUSTSSC=no"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2019 16:10:50 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-to-replace-the-vault-self-signed-certificate-with-a-internal/m-p/1297103#M1264</guid>
      <dc:creator>jeff_degan</dc:creator>
      <dc:date>2019-04-02T16:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace the Vault self-signed certificate with a Internal CA / External CA certificate.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-to-replace-the-vault-self-signed-certificate-with-a-internal/m-p/1297104#M1265</link>
      <description>&lt;P&gt;Thanks Jeff. I was able to place a standard Web Server (Server Auth with Signing) template certificate on the vault and it has functioned without a problem. We have a multi-tiered CA so I had to bundle the root and intermediate into a single cer file. (If you arent familiar with bundling root and intermediates this is a concise link &lt;A alt="https://support.globalsign.com/customer/en/portal/articles/1224583-root-intermediate-certificate-bundles" href="https://support.globalsign.com/customer/en/portal/articles/1224583-root-intermediate-certificate-bundles" target="_blank"&gt;https://support.globalsign.com/customer/en/portal/articles/1224583-root-intermediate-certificate-bundles&lt;/A&gt;) For those that are interested it here is the procedure:&lt;/P&gt;&lt;P&gt;For the full parameter options for the CACert tool, please refer to the Privileged Account Security Implementation Guide under section "CACert". &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before making any changes, you will want to backup your existing certificate files according to the following parameters in the DBParm.ini: &lt;/P&gt;&lt;P&gt;- ServerCertificateFile &lt;/P&gt;&lt;P&gt;- TrustedCAPath &lt;/P&gt;&lt;P&gt;If any troubles arise, you can then restore these files. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can find the CACert executable in the PrivateArk Server install directory, \Program Files (x86)\PrivateArk\Server. &lt;/P&gt;&lt;P&gt;In addition, backup the output of "cacert show" and "cacert setca /list" commands to a text file for later reference. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before beginning please stop the vault service. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From an elevated command prompt, you can run something like the following: &lt;/P&gt;&lt;P&gt;CACert.exe Request /ReqOutFile Vault.csr /CommonName "&lt;A alt="http://vault.example.com/" href="http://vault.example.com/" target="_blank"&gt;vault.example.com&lt;/A&gt;" /SubjAlt "DNS:&lt;A alt="http://alsovault.example.com/" href="http://alsovault.example.com/" target="_blank"&gt;alsovault.example.com&lt;/A&gt;, IP:192.0.2.1" &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that after you run this the Vault will not be able to start, as it will not have a valid certificate that matches. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then you can take the Vault.csr file to your CA to get the certificate. When you have the certificate, run the following to import it: &lt;/P&gt;&lt;P&gt;CACert.exe Install /CertFileName Vault.crt&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 14:53:04 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-to-replace-the-vault-self-signed-certificate-with-a-internal/m-p/1297104#M1265</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2019-04-23T14:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace the Vault self-signed certificate with a Internal CA / External CA certificate.</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-to-replace-the-vault-self-signed-certificate-with-a-internal/m-p/1297105#M1266</link>
      <description>&lt;P&gt;Does this work when the vault has been hardened or is this done as a prerequisite ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 17:46:45 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-to-replace-the-vault-self-signed-certificate-with-a-internal/m-p/1297105#M1266</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2020-02-24T17:46:45Z</dc:date>
    </item>
  </channel>
</rss>

