Skip to content

osquery: use cacert for the default TLS server certs - #576516

Merged
LeSuisse merged 1 commit into
NixOS:masterfrom
zimbatm:cacert-osquery
Oct 20, 2026
Merged

LeSuisse merged 1 commit into
NixOS:masterfrom
zimbatm:cacert-osquery

Conversation

@zimbatm

@zimbatm zimbatm commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

osquery shipped a vendored certs.pem bundle. It trusted AAA Certificate Services and emSign ECC Root CA - G3, so cacert updates did not apply. Replace it with a symlink to the cacert bundle. Point the default --tls_server_certs to that file instead of /opt/osquery.

Related to: #576485
Related to: #576541

Assisted-by: Claude Code (claude-opus-5)

Things done

osquery shipped a vendored certs.pem bundle. It trusted AAA Certificate
Services and emSign ECC Root CA - G3, so cacert updates did not apply.
Replace it with a symlink to the cacert bundle. Point the default
--tls_server_certs to that file instead of /opt/osquery.

Assisted-by: Claude Code (claude-opus-5)
@nixpkgs-ci
nixpkgs-ci Bot requested review from LeSuisse, nlewo and znewman01 October 20, 2026 19:27
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". llm-assisted Contributions that include code generation with LLMs labels Oct 20, 2026

@LeSuisse LeSuisse left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

I hate the vendored stuff in OSQuery.

@LeSuisse
LeSuisse added this pull request to the merge queue Oct 20, 2026
@LeSuisse LeSuisse added the backport release-26.05 Backport PR automatically label Oct 20, 2026
@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels Oct 20, 2026
@zimbatm zimbatm mentioned this pull request Oct 20, 2026
66 of 95 tasks
Merged via the queue into NixOS:master with commit c546f25 Oct 20, 2026
40 checks passed
@nixpkgs-ci

nixpkgs-ci Bot commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

Successfully created backport PR for release-26.05:

@github-actions github-actions Bot added the 8.has: port to stable This PR already has a backport to the stable release. label Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". 8.has: port to stable This PR already has a backport to the stable release. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. backport release-26.05 Backport PR automatically llm-assisted Contributions that include code generation with LLMs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants