Client authentication in a CLI tool
Use client authentication in a FairCom CLI tool
Create a client certificate file and client private key file for each user you want to authenticate. Ensure it is signed by the same CA certificate that signed the server certificate.
Copy each client certificate file and client private key file to the
<faircom>/toolsfolder.Set two environment variables to identify the user you want to be authenticated:
set CTSSL_CLIENT_CERTIFICATE=my_user.pemset CTSSL_CLIENT_KEY=my_user.keyOptionally set another environment variable to log SSL errors to a log file of your choosing:
set CTSSL_DEBUG_LOG=my_tls.logRun the FairCom command line utility program with
nonein place of the username and password:ctadmn none none "" "FCEDGEMQ@localhost^fssltcp"