Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQUEST]: Document PGP key download from Fleet Server API in air-gapped envs #980

Open
lucabelluccini opened this issue Mar 19, 2024 · 3 comments · May be fixed by #984
Open

[REQUEST]: Document PGP key download from Fleet Server API in air-gapped envs #980

lucabelluccini opened this issue Mar 19, 2024 · 3 comments · May be fixed by #984
Assignees

Comments

@lucabelluccini
Copy link
Contributor

Description

Elastic Agent attempts to download the PGP/GPG key to validate the binaries.
We had an unfortunate bug where the PGP/GPG key was downloaded even if it wasn't necessary.
The bug was particularly unfortunate for air-gapped environments.

For air-gapped environments we need provide instructions to explain how to use a functionality introduced in 8.10.4 which allow Elastic Agents to download the PGP/GPG key from the Fleet Server.
In particular, we need to explain how to customize the server.pgp.upstream_url in Fleet Serve settings in order to benefit from this new feature.

I've not tested using server.pgp.upstream_url and in particular I do not know the behavior when:

  • The URL is HTTPS and the CA cert is not in the trusted certs of the EA running as Fleet Server (does Fleet Server use the proxy_url of the Source URI? or we're obliged to use the HTTP_PROXY/HTTPS_PROXY/NO_PROXY)?
  • The URL is HTTP (Fleet Server will download it even if exposed via HTTP)?
  • Elastic Agent will reuse the same CA cert used to connect to Fleet Server for control plane also to trust the Fleet Server PGP API download endpoint?

Resources

https://support.elastic.dev/knowledge/view/5b5df063 (focus on Option I)

Collaboration

TBD. The docs and product team will work together to determine the best path forward.

Point of contact.

Main contact: @jlind23 / @pierrehilbert to delegate to the engineers who worked on the feature

Stakeholders: @lucabelluccini

@lucabelluccini
Copy link
Contributor Author

Hello @kilfoyle - it is not urgent, but I think we need to add this for air-gapped envs.

@kilfoyle kilfoyle self-assigned this Mar 19, 2024
@jlind23
Copy link
Contributor

jlind23 commented Mar 20, 2024

@michalpristas / @michel-laterman are the ones who worked on this feature.

@kilfoyle
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants