fix
This commit is contained in:
parent
5e13209afa
commit
02f1bdce6e
@ -19,17 +19,17 @@ spec:
|
|||||||
sed -i '/^ssl\.keystore\.certificate\.chain=/d' /config/server.properties
|
sed -i '/^ssl\.keystore\.certificate\.chain=/d' /config/server.properties
|
||||||
sed -i '/^ssl\.truststore\.certificates=/d' /config/server.properties
|
sed -i '/^ssl\.truststore\.certificates=/d' /config/server.properties
|
||||||
|
|
||||||
openssl pkcs8 -topk8 -nocrypt -in /certs/tls.key -out /tmp/tls.key.pk8
|
openssl pkcs8 -topk8 -nocrypt -in /mounted-certs/tls.key -out /tmp/tls.key.pk8
|
||||||
|
|
||||||
{
|
{
|
||||||
printf '\nssl.keystore.key='
|
printf '\nssl.keystore.key='
|
||||||
awk '{ sub(/\r$/, ""); printf "%s\\n", $0 }' /tmp/tls.key.pk8
|
awk '{ sub(/\r$/, ""); printf "%s\\\\n", $0 }' /tmp/tls.key.pk8
|
||||||
printf '\n'
|
printf '\n'
|
||||||
printf 'ssl.keystore.certificate.chain='
|
printf 'ssl.keystore.certificate.chain='
|
||||||
awk '{ sub(/\r$/, ""); printf "%s\\n", $0 }' /certs/tls.crt
|
awk '{ sub(/\r$/, ""); printf "%s\\\\n", $0 }' /mounted-certs/tls.crt
|
||||||
printf '\n'
|
printf '\n'
|
||||||
printf 'ssl.truststore.certificates='
|
printf 'ssl.truststore.certificates='
|
||||||
awk '{ sub(/\r$/, ""); printf "%s\\n", $0 }' /certs/ca.crt
|
awk '{ sub(/\r$/, ""); printf "%s\\\\n", $0 }' /mounted-certs/ca.crt
|
||||||
printf '\n'
|
printf '\n'
|
||||||
} >> /config/server.properties
|
} >> /config/server.properties
|
||||||
global:
|
global:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user