mirror of https://github.com/samply/bridgehead.git
Merge pull request #79 from samply/fix/openssl
Replace deprecated openssl command
This commit is contained in:
commit
11c3103968
|
@ -6,7 +6,7 @@ function idManagementSetup() {
|
||||||
OVERRIDE+=" -f ./$PROJECT/modules/id-management-compose.yml"
|
OVERRIDE+=" -f ./$PROJECT/modules/id-management-compose.yml"
|
||||||
|
|
||||||
# Auto Generate local Passwords
|
# Auto Generate local Passwords
|
||||||
PATIENTLIST_POSTGRES_PASSWORD="$(echo \"id-management-module-db-password-salt\" | openssl rsautl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 30)"
|
PATIENTLIST_POSTGRES_PASSWORD="$(echo \"id-management-module-db-password-salt\" | openssl pkeyutl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 30)"
|
||||||
IDMANAGER_LOCAL_PATIENTLIST_APIKEY="$(cat /proc/sys/kernel/random/uuid | sed 's/[-]//g' | head -c 20)"
|
IDMANAGER_LOCAL_PATIENTLIST_APIKEY="$(cat /proc/sys/kernel/random/uuid | sed 's/[-]//g' | head -c 20)"
|
||||||
|
|
||||||
# Transform Seeds Configuration to pass it to the Mainzelliste Container
|
# Transform Seeds Configuration to pass it to the Mainzelliste Container
|
||||||
|
|
Loading…
Reference in New Issue