Generating sample CA certificates for XCOM for Windows & private key is not being generated
book
Article ID: 32415
calendar_today
Updated On:
Products
XCOM Data TransportXCOM Data Transport - Windows
Issue/Introduction
Trying to generate sample CA certificates and the private key is not being generated. Also getting error message 'Unable to load config info' when trying to execute the scripts again.
Environment
XCOM™ Data Transport® for Windows
Cause
The command prompt was not started as administrator when running makeca, makeclient and makeserver. You can get the message ‘Unable to load config info’ if you attempt to run makeca, makeclient and makeserver without removing the current certificates.
Resolution
Remove the certificates that were already generated, if any, by deleting the CERTS & PRIVATE subdirectories that are in the SSL subdirectory under the XCOM install directory and the following files:
all index.* files in the SSL subdirectory
all serial.* files in the SSL subdirectory
The random.pem file in the SSL subdirectory
Go to the Start menu and right click on the command prompt and select run as administrator.
Change into the SSL subdirectory under the XCOM install directory
Then run makeca, makeclient and makeserver.
Additional Information
Sample certificates should not be used in production. They are for testing.