readme.md 1.39 KB
Newer Older
1
2
3
4
# Setup
## yml anpassen (docker compose)
## ssa-config

Rene Lottes's avatar
Rene Lottes committed
5
## Configure POSeIDAS
Rene Lottes's avatar
Rene Lottes committed
6
### Use the configuration-wizard
Rene Lottes's avatar
Rene Lottes committed
7
8
9
10
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.

Rene Lottes's avatar
Rene Lottes committed
11
Save the created `POSeIDAS.xml` and `application.properties` to `./poseidas/config`. This path will be mounted as a volume to `/opt/poseidas/config`. The `eidasmiddleware.properties` is not needed.
Rene Lottes's avatar
Rene Lottes committed
12

Rene Lottes's avatar
Rene Lottes committed
13
14
15
16
### Use the pre configured template
In `./poseidas/config` is a pre configured template for testing purposes. It uses self-signed certificates as trust-anchors.

### Add terminal certificates
Rene Lottes's avatar
Rene Lottes committed
17
18
19
A emtpy database will be created at first startup. Further reading in [POSeIDAS Database](#POSeIDAS-Database)

## fist deployment (docker-compose up)
20
21

### EJBCA key setup script
Rene Lottes's avatar
Rene Lottes committed
22
23
24

### 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_).