Client authentication in a CLI tool
Use client authentication in a FairCom CLI tool
Abstract
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>/tools
folder.Set two environment variables to identify the user you want to be authenticated:
set CTSSL_CLIENT_CERTIFICATE=my_user.pem
set CTSSL_CLIENT_KEY=my_user.key
Optionally set another environment variable to log SSL errors to a log file of your choosing:
set CTSSL_DEBUG_LOG=my_tls.log
Run the FairCom command line utility program with
none
in place of the username and password:ctadmn none none "" "FCEDGEMQ@localhost^fssltcp"