Hello,
I am currently working on establishing a secure OPC UA communication between the ctrlX OPC UA Server and a Python-based OPC UA Client.
During the connection attempt, my Python client displays an error related to the security policy configuration. I believe this issue is caused by an incorrect or missing client certificate and private key setup.
Could you please provide me with detailed step-by-step instructions on how to correctly:
Create a valid client certificate and private key for the Python OPC UA client.
Configure the security settings (including policy and mode) so that they match the ctrlX OPC UA server requirements.
Import or trust the generated certificate on the ctrlX side, if needed.
Ensure the Python script uses these files properly for a secure, successful connection.
Your guidance on generating and applying the correct certificates would be greatly appreciated, as it will help me achieve a fully functional and secure communication setup between the two systems.
Note: I am able to successfully connect and read values using the ctrlX OPC UA Test Client, which confirms that the server is functioning correctly. The issue appears to be specific to the Python client’s certificate configuration.