Add mitm certs to jwtproxy
This commit is contained in:
parent
9e7a501dae
commit
118f2d0ce5
3 changed files with 6 additions and 0 deletions
|
@ -4,5 +4,6 @@ echo 'Starting jwtproxy'
|
||||||
|
|
||||||
cd /
|
cd /
|
||||||
/binary_dependencies/jwtproxy --config conf/jwtproxy_conf.yaml --log-level debug
|
/binary_dependencies/jwtproxy --config conf/jwtproxy_conf.yaml --log-level debug
|
||||||
|
rm /tmp/jwtproxy_secscan.sock
|
||||||
|
|
||||||
echo 'Jwtproxy exited'
|
echo 'Jwtproxy exited'
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
sudo update-ca-certificates --fresh
|
||||||
|
|
||||||
/venv/bin/python /boot.py
|
/venv/bin/python /boot.py
|
||||||
|
|
|
@ -2,6 +2,9 @@ jwtproxy:
|
||||||
signer_proxy:
|
signer_proxy:
|
||||||
enabled: true
|
enabled: true
|
||||||
listen_addr: :8080
|
listen_addr: :8080
|
||||||
|
ca_key_file: /conf/stack/mitm.key
|
||||||
|
ca_crt_file: /conf/stack/mitm.cert
|
||||||
|
|
||||||
signer:
|
signer:
|
||||||
issuer: quay
|
issuer: quay
|
||||||
expiration_time: 5m
|
expiration_time: 5m
|
||||||
|
|
Reference in a new issue