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
{{ message }}
Repository navigation
✨ Specify Buildkit TLS certificates to connect to remote Buildkit #2227
With Dagger now having secrets, it would be nice to have them encrypted over-wire. We're thinking to maintain a single Dagger-engine cluster(with TLS) for Dagger and other projects that use Buildkit. We're able to run Dagger engine with certs, that seems to come up fine, so I assume we just need the SDK to accept client-side TLS certs and pass it over to Buildkit/Dagger engine?
Activity
marcosnils commentedon Apr 19, 2022
I don't think this is supported yet. Labeling to add visibility.
gerhard commentedon Apr 3, 2023
As far as I know, this is still not supported today.
As a workaround, I would peer the hosts using WireGuard. I have been doing this successfully with Tailscale & Fly.io private (WireGuard) connection. I even do it in GitHub Actions: https://github.com/thechangelog/changelog.com/blob/be5234b5e55230438a7dfffc49952bff54ef35f0/.github/workflows/ship_it.yml#L19-L27
Hope that helps!
I answered this via https://discord.com/channels/707636530424053791/1003718839739105300/1092422859089006672
cc @sipsma @aluzzardi
RealHarshThakur commentedon Apr 5, 2023
With Dagger now having secrets, it would be nice to have them encrypted over-wire. We're thinking to maintain a single Dagger-engine cluster(with TLS) for Dagger and other projects that use Buildkit. We're able to run Dagger engine with certs, that seems to come up fine, so I assume we just need the SDK to accept client-side TLS certs and pass it over to Buildkit/Dagger engine?
gerhard commentedon Apr 5, 2023
Yes, that makes sense. cc @dolanor for secrets.
marcosnils commentedon Sep 8, 2025
closing since buildkit is not exposed anymore when using Dagger.