Add mitm certs to jwtproxy

This commit is contained in:
Evan Cordell 2016-04-22 20:27:47 -05:00 committed by Jimmy Zelinskie
parent 9e7a501dae
commit 118f2d0ce5
3 changed files with 6 additions and 0 deletions

View file

@ -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'

View file

@ -1,3 +1,5 @@
#!/bin/bash #!/bin/bash
sudo update-ca-certificates --fresh
/venv/bin/python /boot.py /venv/bin/python /boot.py

View file

@ -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