Part three: Configuring JMP
After completing the JMP setup, we now need to set up time synchronization between the JMP server and Horizon View connection servers, configure SSL for the JMP server and export the SSL certificates from App Volumes, Horizon View and Active Directory for the JMP server to establish secure connections between all components.
Time Synchronization
Time synchronization needs to be configured on the JMP server and all of the Horizon View Connection servers in your environment. I’m assuming you already have time synchronization set up on your ESXi hosts, if not click here.
- Log in to a virtual machine.
- Open CMD.
- Enter cd C:Program FilesVMwareVMware Tools
- Enter VMwareToolboxCmd.exe timesync enable
- Repeat these steps on all servers.
Set up SSL for the JMP server
Now time synchronization is set up, we need to request/import a SSL certificate for the JMP server, convert it and edit the “nginx.conf” file.
- Log in to the JMP server.
- Open MMC.exe > select Add/Remove snap in.. > select Certificates > select Computer account.
- Right click Personal and request or import a new certificate. Because I have a CA set up in my environment, I request a new certificate.
- When the JMP server has it’s SSL installed, select the certificate and click Export.
- Make sure you select the option “Make private key exportable”.
- Now it’s time to convert the .pfx file into a .crt and .key file, which you need to replace the VMware self signed certificate. I use OpenSSL for the conversion.
Open a CMD a enter the following command to convert the .pfx to a .crt file:
OpenSSL pkcs12 -in “locationname.pfx” -clcerts -nokeys -out “locationname.crt”To create the .key file, use the command below:
OpenSSL pkcs12 -in “locationname.pfx” -clcerts -out “locationname.key”
Enter Password: …
Enter PEM pass phrase…
Enter PEM pass phrase again…
OpenSSL rsa -in “locationname.key” -outform PEM -out “locationname-pem.key” - Stop the “JMP” services in the following order
- VMware JMP API Service
- VMware JMP File Share Service
- VMware JMP Platform Services
- Copy the <filename.crt> and the <filename-pem.key> files to:
“C:Program Files (x86)VMwareJMPcomXMSnginxconf” - Open the “nginx.conf” file located in “C:Program Files (x86)VMwareJMPcomXMSnginxconf”
- Search for “ssl_certificate” and “ssl_certificate_key” and replace the names with the new .crt and .key filenames.
- Start the “JMP” services in the following order
- VMware JMP API Service
- VMware JMP File Share Service
- VMware JMP Platform Services
- Verify if you can reach the JMP server on https.
Secure connections with AD, App Volumes and Horizon View
Next up we need to export the SSL certificates from the Domain Controller, App Volumes and Horizon View Connection servers to secure our connections with the JMP server.
- Log in the Domain Controller
- Open MMC.exe > select Add/Remove snap in.. > select Certificates > select Computer account.
- Open Trusted Root Certification Authorities > Certificates.
- Select the root certificate and export it.
- In the Certificate Export Wizard, select Base-64 encoded X.509 (.CER), and click Next.
- Name it adCA.pem, and click Next and Finish.
- Be aware! By default the certificate is saved as a .cer file, enable the File name extensions check box in windows explorer and remove the .cer extension on the adCA.pem.cer file
- Copy the adCA.pem file to the config folder on the JMP server:
“C:Program Files (x86)VMwareJMPcomXMSConfig”
App Volumes
- Open a browser session to the App Volumes Manager.
- Depending on the browser, click the small lock icon before the URL and view the certificate.
- Export the certificate and name it av-selfsigned.cert.pem
- Copy the file to the com folder on the JMP server:
“C:Program Files (x86)VMwareJMPcom”
Horizon View
- Log in to the Horizon View Connection server.
- Open MMC.exe > select Add/Remove snap in.. > select Certificates > select Computer account.
- Open Personal > Certificates.
- Select the certificate with the friendly name “vdm” and export it.
- Select No, do not export the private key.
- In the Certificate Export Wizard, select Base-64 encoded X.509 (.CER), and click Next.
- Name it horizon.cert.pem, click Next and Finish.
- Be aware! By default the certificate is saved as a .cer file, enable the File name extensions check box in windows explorer and remove the .cer extension on the horizon.cert.pem.cer file
- Copy the horizon.cert.pem file to the com folder on the JMP server:
“C:Program Files (x86)VMwareJMPcom”
With SSL and Time Synchronization all set up the JMP server can now properly communicate with all other components that need to be configured in the management console. In the next part of this series I’ll explain how to do this.
JMP: Installing and Configuring – Part One
JMP: Installing and Configuring – Part two
JMP: Installing and Configuring – Part three
JMP: Installing and Configuring – Part four
JMP: Installing and Configuring – Part five
Het bericht JMP: Installing and Configuring – Part three verscheen voor het eerst op Age Roskam.
The original article was posted on: ageroskam.nl