"Two-way SSL mutual authentication with REST plug-in"
search cancel

"Two-way SSL mutual authentication with REST plug-in"

book

Article ID: 394204

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

How to use SSL certificates for authentication inside scripts code.

Resolution

Procedure:

 

  1. (Optional) Create a dedicated keystore for storing certificates private keys by executing the  "Create a Keystore" workflow.
  2. Add the certificate private key to the keystore using the "Add key" workflow.
  3. Add the rest host using client authentication.
  4. Specify the authentication as None and select the private key from the inventory. If you do it from the scripting specify the id by using the internal orchestrator id for the element. For example :
    keystore://<keystore_ID>/<key_name>
  5. Use stored privateKeyId in the script for authentication.