Replace the default certificates on the remaining Global Manager nodes.
Table 1.
URLs for Replacing the Global Manager Node Certificates
NSX Manager Node |
POST URL for Certificate Replacement |
gm_node2_fqdn |
https://gm_node2_fqdn/api/v1/node/services/http?action=apply_certificate&certificate_id=gm_vip_fqdn_certificate_ID |
gm_node3_fqdn |
https://gm_node3_fqdn/api/v1/node/services/http?action=apply_certificate&certificate_id=gm_fqdn_certificate_ID |
gm_vip_fqdn |
https://gm_vip_fqdn/api/v1/cluster/api-certificate?action=set_cluster_certificate&certificate_id=gm_vip_fqdn_certificate_ID |
Procedure
- In a web browser, log in to the active Global Manager at https://gm_vip_fqdn/.
- Log in to the host that has access to your data center.
- Replace the default certificate for the second Global Manager node with the CA-signed certificate by using the first Global Manager node as a source.
- Start the Postman application in your web browser and log in.
- On the Authorization tab, configure the following settings.
Setting |
Value |
Type |
Selecr Basic Auth. |
User name |
Enter admin . |
Password |
Enter the nsx_admin_password. |
- Click Update request.
- On the Headers tab, enter the header details.
Setting |
Value to Select |
Key |
Content-Type |
Key Value |
application/xml |
- In the request pane at the top, send the URL query.
Setting |
Value |
HTTP request method |
Select POST. |
URL |
Enter https://gm_node2_fqdn/api/v1/node/services/http?action=apply_certificate&certificate_id=firstinstance_gm_vip_certificate_ID |
After the NSX Manager appliance responds, the Body tab displays a 200 OK status.
- To upload the CA-signed certificate on the third Global Manager node, repeat steps 2 to step 4 with appropriate values.
- Restart the second and third Global Manager nodes.
- Log in to vCenter Server.
- In the inventory expand
- Right-click the second and third Global Manager nodes and click .
- Verify the status of each Global Manager node.
- In a web browser, log in to the first Global Manager node at https://gm_node1_fqdn/.
- For each node, navigate to and confirm that the status is REPO_SYNC = SUCCESS.
- Assign a certificate to the Global Manager cluster.
- Start the Postman application in your web browser and log in.
- On the Authorization tab, configure the following settings.
Setting |
Value |
Type |
Select Basic Auth. |
User name |
Enter admin . |
Password |
Enter nsx_admin_password. |
- Click Update request.
- On the Headers tab, add a key as follows.
Setting |
Value |
Key |
Content-Type |
Key Value |
application/xml |
- In the request pane at the top, send the URL query.
Setting |
Value |
HTTP request method |
Select POST. |
URL |
Enter https://gm_vip_fqdn/api/v1/cluster/api-certificate?action=set_cluster_certificate&certificate_id=gm_vip_fqdn_certificate_ID |
After the NSX Global Manager sends a response, a 200 OK status is displayed on the Body tab.