Created
August 25, 2022 19:14
-
-
Save compustar/ef0bf50e2ec1176f5c81499073de2ddd to your computer and use it in GitHub Desktop.
TLS Bumping for Java 6 AppDynamics Agent Instrumentation with NGINX
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen ${NGINX_PORT}; | |
server_name ${NGINX_HOST}; | |
location / { | |
proxy_pass https://${APPD_ACCOUNT_NAME}.saas.appdynamics.com:443; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.4' | |
services: | |
proxy: | |
image: mitm_proxy:v0.8 | |
container_name: mitm_proxy | |
environment: | |
- NGINX_HOST=mitm_proxy | |
- NGINX_PORT=80 | |
- APPD_ACCOUNT_NAME=<AppDynamics Account Name> # Update this value with the account name and it will subsitute to the variable in default.conf.template | |
app: | |
image: appd_jdk6:v0.12 | |
container_name: jboss6 | |
depends_on: | |
- proxy | |
ports: | |
- "8888:8080" | |
environment: | |
- APPDYNAMICS_CONTROLLER_HOST_NAME=mitm_proxy | |
- APPDYNAMICS_CONTROLLER_PORT=80 | |
- APPDYNAMICS_CONTROLLER_SSL_ENABLED=false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM yannart/jboss-5.1.0.ga-jdk6 | |
# Download the agent and configure the controller-info.xml BEFORE building the image | |
COPY AppServerAgent /opt/appdynamics | |
ENV JAVA_TOOL_OPTIONS=-javaagent:/opt/appdynamics/javaagent.jar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM nginx | |
COPY default.conf.template /etc/nginx/templates/default.conf.template | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment