Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
wdecoste committed Oct 13, 2017
1 parent cf5a648 commit 9c6e3bc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion os-amq-launch/added/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,13 @@ function configureSSL() {
keyStorePath="$sslDir/$keyStoreFile"
trustStorePath="$sslDir/$trustStoreFile"

if [ -n "$AMQ_KEY_PASSWORD" ]; then
keyPassword="keyStoreKeyPassword=\"$AMQ_KEY_PASSWORD\""
fi

sslElement="<sslContext>\n\
<sslContext keyStore=\"file:$keyStorePath\"\n\
keyStorePassword=\"$keyStorePassword\"\n\
keyStorePassword=\"$keyStorePassword\" $keyPassword \n\
trustStore=\"file:$trustStorePath\"\n\
trustStorePassword=\"$trustStorePassword\" />\n\
</sslContext>"
Expand Down

0 comments on commit 9c6e3bc

Please sign in to comment.