Skip to content
Snippets Groups Projects
Verified Commit c2cb19ec authored by Timm Fitschen's avatar Timm Fitschen
Browse files

WIP: pipeline

parent 656391eb
Branches
Tags
No related merge requests found
Pipeline #9482 passed
...@@ -40,9 +40,6 @@ function cert() { ...@@ -40,9 +40,6 @@ function cert() {
# NOTE: KEYPW and KEYSTOREPW are the same, due to Java limitations. # NOTE: KEYPW and KEYSTOREPW are the same, due to Java limitations.
KEYPW="${KEYPW}" openssl genrsa -aes256 -out caosdb.key.pem \ KEYPW="${KEYPW}" openssl genrsa -aes256 -out caosdb.key.pem \
-passout env:KEYPW 2048 -passout env:KEYPW 2048
# also store in pkcs format
KEYPW="${KEYPW}" openssl pkcs8 -topk8 -in caosdb.key.pem \
-out caosdb.key.pk8 -passin env:KEYPW -passout env:KEYPW
# Certificate is for localhost # Certificate is for localhost
KEYPW="${KEYPW}" openssl req -new -x509 -key caosdb.key.pem \ KEYPW="${KEYPW}" openssl req -new -x509 -key caosdb.key.pem \
-out caosdb.cert.pem -passin env:KEYPW \ -out caosdb.cert.pem -passin env:KEYPW \
......
...@@ -35,9 +35,8 @@ services: ...@@ -35,9 +35,8 @@ services:
environment: environment:
DEBUG: 1 DEBUG: 1
CAOSDB_CONFIG_AUTHTOKEN_CONFIG: "conf/core/authtoken.example.yaml" CAOSDB_CONFIG_AUTHTOKEN_CONFIG: "conf/core/authtoken.example.yaml"
CAOSDB_CONFIG_GRPC_SERVER_CA_PUB_PEM: /opt/caosdb/cert/caosdb.cert.pem CAOSDB_CONFIG_GRPC_SERVER_PORT_HTTPS: 8443
CAOSDB_CONFIG_GRPC_SERVER_CA_PRIV_PEM: /opt/caosdb/cert/caosdb.key.pk8 CAOSDB_CONFIG_GRPC_SERVER_PORT_HTTP: 8080
CAOSDB_CONFIG_GRPC_SERVER_CA_PW: CaosDBSecret
volumes: volumes:
scripting: scripting:
extroot: extroot:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment