This is a basic self sign certificate generator for an OPC UA Server.
-
Create a Python virtual enviroment using
python -m venv venv
and activate it withsource venv/bin/activate
. -
Install the required packages
pip install -r requirements.txt
. -
Make a copy of
settings.template.json
and name it<env>.json
(<env>
is the name of your enviroment). Adapt your hostname(s) and IP adresses. -
Call
python createCertificate.py <env>
. -
All certificates are stored created in a folder named
<env>
. Copyserver_key.der
andserver_cert.der
in the directory of the server executable.