Dear pratysin ,
I don't have a chance to test it yet, but you should be able to use --clientCert <client certificate> to login.
Gateway Migration Example - CA API Gateway - 9.2 - CA Technologies Documentation
Step 3: Create common argument files
Bryan follows the best practice and creates common argument files for the target and source Gateways:
- sourceSSGcommon.properties
- targetSSGcommon.properties
Bryan includes the pkcs12 file to use for mutual authentication.
sourceSSGcommon.properties file
host=source host clientCert=sourceGateway.p12 password=B8HPvx3xsW8.GlPDkJPcmscJTtqM2wTOsA
targetSSGcommon.properties file
host=target host clientCert=targetGateway.p12 password=B6IPve3xsW4.GlLDkJPcmsomTtnM2wJOsB
NOTE: you need to create a user with same CN name and associated with the certificate (public key) of the client certificate. This user needs Administrator role.
(the example from the document is a bit weird -- with client certificate you should not need password property anymore.)
Regards,
Mark