Nutanix PRISM SSL certificate (PoSH script)

PRISMBased on my earlier script to import theSSL certificate for vCenter I decided to do the same for the Nutanix PRISM interface, the previous script could be easily reused with some small modifications as I had to add the port number to the URL where the certificate needs to be fetched from.

As an FYI: You can use your own certificate (either self signed or from an CA), as this is my lab environment I’m just using the default self signed certificate with the FQDN ‘prism.nutanix.local’ so I’ve tested this script using that exact FQDN.Best practise would be to change the certificate using the guidance of our Knowledge Base article: Installing an SSL Certificate (Login required).

As I was configuring the connection to my Nutanix cluster (again)I didn’t want to follow this procedure multiple times so I wrote a small PoSH script to walk you through these steps:

1) Ask you for the PRISMIP address

2) Ask you for the PRISMFQDN, the registered name in the default cert is ‘prism.nutanix.local’

3) Will check if the PRISMFQDN is reachable

4) If it is it will proceed with step 6

5) If it’s not reachable it will put the PRISM ClusterIP address and PRISMFQDN in your local HOSTS file

6) It will get the SSL Certificate from PRISM and import it into the “Trusted People” Computer store.

You can get your copy of the script here:

The following two tabs change content below.

Kees Baggerman

Kees Baggerman is a Staff Solutions Architect for End User Computing at Nutanix. Kees has driven numerous Microsoft and Citrix, and RES infrastructures functional/technical designs, migrations, implementations engagements over the years.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.