Mitm Setup Java #61
This file contains 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
name: Mitm Setup Java | |
on: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
# env: | |
# SSL_CERT_DIR: "/home/mitmproxyuser/.mitmproxy/" | |
jobs: | |
mitm-setup-java: | |
name: mitm setup java | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: h0x0er/harden-runner@mitm-int | |
with: | |
egress-policy: audit | |
# - run: ps aux | |
- run: dig dns.google | |
- run: dig cloudflare-dns.com | |
- run: dig int.api.stepsecurity.io | |
# - run: sudo update-ca-certificates | |
# - run: wget https://cdn.azul.com/zulu/bin/zulu17.44.17-ca-crac-jdk17.0.8-linux_x64.tar.gz | |
- run: cat /etc/ca-certificates.conf | |
- run: sudo ls /usr/local/share/ca-certificates | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: 17 |