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
fix: use original user's home directory for CA certificate storage
When running under sudo, the CA certificate was being stored in root's
home directory (/root/.config/boundary/) but the subprocess running as
the original user couldn't access it, causing certificate verification
errors.
Now GetConfigDir() detects sudo execution and uses the original user's
home directory, so the CA certificate is stored in a location accessible
to the subprocess.
Fixes curl errors like:
'error setting certificate verify locations: CAfile: /Users/user/.config/boundary/ca-cert.pem'
Co-authored-by: f0ssel <[email protected]>
0 commit comments