You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if all certificates located in ${WARDEN_SSL_DIR}/rootca/certs would be installed when starting a container. I recently wanted to sniff outbound traffic from an application using Charles and needed to install the Charles root cert in the php-fpm containers. I did this by directly mounting the root cert with
This worked fine along with setting the proxy env variables for the php and php debug services. It got me wondering if we could modify the entrypoint script to install all certificates located in /etc/ssl/warden-rootca-cert/ instead of just /etc/ssl/warden-rootca-cert/ca.cert.pem. It's probably not a common use case and I'm struggling to think of a case where I would install more than one additional cert.
This discussion was converted from issue #276 on February 23, 2023 14:59.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
It would be nice if all certificates located in
${WARDEN_SSL_DIR}/rootca/certs
would be installed when starting a container. I recently wanted to sniff outbound traffic from an application using Charles and needed to install the Charles root cert in the php-fpm containers. I did this by directly mounting the root cert withThis worked fine along with setting the proxy env variables for the php and php debug services. It got me wondering if we could modify the entrypoint script to install all certificates located in
/etc/ssl/warden-rootca-cert/
instead of just/etc/ssl/warden-rootca-cert/ca.cert.pem
. It's probably not a common use case and I'm struggling to think of a case where I would install more than one additional cert.https://github.com/davidalger/warden/blob/bb4df49822e48c922af30428df339d85274be329/images/php-fpm/context/docker-entrypoint#L9-L12
Beta Was this translation helpful? Give feedback.
All reactions