Text of github.com › curl › curl › issues › 24020 as Styx crawled it on Nov 18, 2026. The page may have changed since. Only its words are kept, without pictures or layout.

Open the live page

License information of generated cacert.pem not included in the file itself · Issue #24020 · curl/curl · GitHub

Skip to content 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 License information of generated cacert.pem not included in the file itself #24020 New issue Copy link New issue Copy link Closed Closed License information of generated cacert.pem not included in the file itself #24020 Copy link Assignees Labels documentation Description NoNameForMee opened on Nov 17, 2026 Issue body actions Specify which documentation you found a problem with According to https://curl.se/docs/caextract.html under section "CA certificate store license", the by mk-ca-bundle.pl generated cacert.pem file should have the same "MPL 2.0" license as the original Mozilla source file.

The problem The explicit license information, "Mozilla Public License Version 2.0", found in the source file used ( https://github.com/mozilla-firefox/firefox/blob/77bdc2893ade1d2e9029d11fc4fe261fc310fe54/security/nss/lib/ckfw/builtins/certdata.txt#L2-L4 ) is lost in the output file. Perhaps simply adding some more comment lines in the header output section of the mk-ca-bundle.pl script, somewhere around the lines: curl/scripts/mk-ca-bundle.pl Lines 426 to 432 in d999cc6 ## Find updated versions here: https://curl.se/docs/caextract.html ## ## This is a bundle of X.509 certificates of public Certificate Authorities ## (CA).

These were automatically extracted from Mozilla's root certificates ## file (certdata.txt). This file can be found in the mozilla source tree: ## ${url} ## like for instance: # # This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. # # If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/ or simply: # # SPDX-License-Identifier: MPL-2.0 should be sufficient.

Activity NoNameForMee added documentation on Nov 17, 2026 bagder self-assigned this on Nov 17, 2026 bagder added 2 commits that reference this issue on Nov 17, 2026 mk-ca-bundle.pl: add license info to output This issue will close once commit f1dc43b is merged into the 'master' branch. f1dc43b mk-ca-bundle.pl: add license info to output This issue will close once commit 643a7c3 is merged into the 'master' branch. 643a7c3 bagder closed this as completed in 789f12c on Nov 17, 2026 opensource-fork-sync added a commit that references this issue on Nov 18, 2026 mk-ca-bundle.pl: add license info to output This issue will close once commit 789f12c is merged into the 'master' branch.

789f12c Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment Metadata Metadata Assignees bagder Labels documentation Type No type Projects No projects Milestone No milestone Relationships None yet Development No branches or pull requests Issue actions You can’t perform that action at this time.