Skip to content

Commit

Permalink
Change file paths because of changed permissions (#5553)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasz-Smelcerz-SAP authored and suleymanakbas91 committed Sep 6, 2019
1 parent 49919e5 commit caa2081
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/xip-patch/certhelper.sh
Expand Up @@ -48,10 +48,10 @@ EOF

function generateCerts() {
echo "---> Generating Certs for ${DOMAIN}"
generateCertificatesForDomain "${DOMAIN}" /root/key.pem /root/cert.pem
CERT=$(base64 /root/cert.pem | tr -d '\n')
KEY=$(base64 /root/key.pem | tr -d '\n')
rm /root/key.pem /root/cert.pem
generateCertificatesForDomain "${DOMAIN}" ${HOME}/key.pem ${HOME}/cert.pem
CERT=$(base64 ${HOME}/cert.pem | tr -d '\n')
KEY=$(base64 ${HOME}/key.pem | tr -d '\n')
rm ${HOME}/key.pem ${HOME}/cert.pem
TLS_CERT_AND_KEY_YAML=$(cat << EOF
---
data:
Expand Down

0 comments on commit caa2081

Please sign in to comment.