Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TLS support in Tomcat Script #105

Merged
merged 4 commits into from Nov 6, 2017
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Merge branch 'master' into TLS-Support-Tomcat

  • Loading branch information
Shwetajain148
Shwetajain148 committed Nov 1, 2017
commit 69fb2612604bf48e9670f0a64c944a31300892e5
@@ -606,6 +606,7 @@ if \$programname == 'tomcat-access' then ~
fi

imfileStrNonTls=$commonContent"
#parameterized token here.......
#Add a tag for tomcat events
\$template LogglyFormatTomcat,\"<%pri%>%protocol-version% %timestamp:::date-rfc3339% %HOSTNAME% %app-name% %procid% %msgid% [$LOGGLY_AUTH_TOKEN@41058 $TAG] %msg%\n\"
@@ -687,13 +688,13 @@ if \$programname == 'tomcat-access' then ~
"
fi

if [ $TLS_SENDING == "false" ];
if [ $TLS_SENDING == "false" ];
then
imfileStr=$imfileStrNonTls
fi

#change the tomcat-21 file to variable from above and also take the directory of the tomcat log file.
sudo cat << EOIPFW >> $TOMCAT_SYSLOG_CONFFILE
#change the tomcat-21 file to variable from above and also take the directory of the tomcat log file.
sudo cat <<EOIPFW >>$TOMCAT_SYSLOG_CONFFILE
$imfileStr
EOIPFW

@@ -888,4 +889,4 @@ else
usage
fi

########## Get Inputs from User - End ##########
########## Get Inputs from User - End ##########
You are viewing a condensed version of this merge commit. You can view the full changes here.
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.