Skip to content

Commit

Permalink
refactor: linting of readme for certgen
Browse files Browse the repository at this point in the history
Signed-off-by: Goetz Goerisch <[email protected]>
  • Loading branch information
GoetzGoerisch committed Dec 6, 2024
1 parent 4fc5df1 commit c02715c
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions tools/certGen/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ This is a basic self sign certificate generator for an OPC UA Server.

## Usage

Create a Python virtual enviroment using `python -m venv venv` and activate it with `source 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>`. Copy `server_key.der` and `server_cert.der` in the directory of the server executable.
- Create a Python virtual enviroment using `python -m venv venv` and activate it with `source 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>`. Copy `server_key.der` and `server_cert.der` in the directory of the server executable.

0 comments on commit c02715c

Please sign in to comment.