readme_v2.md 1.12 KB
Newer Older
Rene Lottes's avatar
Rene Lottes committed
1
2
3
4
# Setup
## yml anpassen (docker compose)
## ssa-config

Rene Lottes's avatar
Rene Lottes committed
5
6
7
8
9
10
11
12
## Configure POSeIDAS
To configure the POSeIDAS use the configuration-wizard. Start it with Java8: `java -jar poseidas-configuration/wizard.jar`. Open your browser at http://localhost:8080/config-wizard/ and follow the instructions.

During configuration make sure to use the default path `/opt/poseidas/database` for the database location. This path will be mounted as a volume to `./poseidas/db` for easy access to the database-file.

Save the created `POSeIDAS.xml` and `application.properties` to `./poseidas/config`. This path will be mounted as a volume to `/opt/poseidas/config`.

A emtpy database will be created at first startup. Further reading in [POSeIDAS Database](#POSeIDAS-Database)
Rene Lottes's avatar
Rene Lottes committed
13
14

## fist deployment (docker-compose up)
Rene Lottes's avatar
Rene Lottes committed
15

Rene Lottes's avatar
Rene Lottes committed
16
### EJBCA key setup script
Rene Lottes's avatar
Rene Lottes committed
17
18
19

### POSeIDAS Database
To setup the database, the docker container first must be shut down. The Database can be edited for example with [DBeaver](https://dbeaver.io/). Make sure to add the terminal certificate, private-key, sector-id and certificate-chain with the corresponding _REFID_ used in the config file (_CVCRefID_).