Commit d7b84933 authored by Tobias Assmann's avatar Tobias Assmann
Browse files

Merge branch 'develop' into 'master'

Merge develop to master

See merge request oec/reqesidta-prototype/eid-server!8
parents 615d2566 b071ef07
......@@ -52,4 +52,25 @@ docker exec reqesidta_ejbca /usr/local/bin/ejbca-config.sh && \
```
### POSeIDAS Database
To setup the database, the docker container first must be stopped. 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_).
To make changes in the database, the docker container first must be stopped.
The Database can be edited for example with [DBeaver](https://dbeaver.io/).
If the preconfigured database is used please look up the credentials for openingn in the file `/poseidas/config/application.properties`. If the database is configured by yourself, you have set the credentials via the [configuration-wizard](#use-the-configuration-wizard).
You need to add the following data into the database:
* terminal certificate
* private-key
* sector-id (only relevant if the client is using PersoSim)
* certificate-chain
This data must be inserted using the key _REFID_. The value of _REFID_ must match the value in the poseidas config file under the key _CVCRefID_.
Use the following tables for adding the data:
* TERMINALPERMISSION
* _CVC_: terminal certificate
* _CVCPRIVATEKEY_: private-key
* _SECTORID_: sector-id
* _CVCDESCRIPTION_: terminal description
* CERTINCHAIN
* every certificate of the certificate-chain
* starting with the root certitifcate use the value '0' for _POSINCHAIN_ and put the certificate in _DATA_
* if intermediate certificates exist, increase the value for _POSINCHAIN_ and put the certificate in _DATA_
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment