Skip to content

mk-ca-bundle.pl: Restore option for NSS repo - #23537

Closed
nuxi wants to merge 1 commit into
curl:masterfrom
nuxi:mkca-nss
Closed

nuxi wants to merge 1 commit into
curl:masterfrom
nuxi:mkca-nss

Conversation

@nuxi

@nuxi nuxi commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

The NSS repo was removed from the options when the URLs were updated to GitHub, but there are times when the NSS repo is more up to date than the Firefox source tree. This restores the NSS option and updates the docs to match the available options.

One point to discuss is whether to use the authoritative repo on Mozilla.org or the GitHub mirror. I've gone with the GitHub mirror because that matches the other URLs and someone on Reddit reported that they occasionally get blocked by the Fastly challenge page when using the official repo. I'm not sure if difficulties with the Fastly challenge were part of the reason for switching to GitHub in the first place. The downside to this choice is that I'm not sure how reliable the mirroring to GitHub is.

The NSS repo was removed from the options when the URLs were updated to
GitHub, but there are times when the NSS repo is more up to date than
the Firefox source tree. This restores the NSS option and updates the
docs to match the available options.
@vszakats

Copy link
Copy Markdown
Member

Is this really helping? I personally find the existing 3 options already
confusing, plus there are quite a bit more Mozilla repos hosting this file,
to make it potentially even more so. None actually updated NOW, when
it'd be the most important for everyone. On normal days, the certdata.txt
update commit reaches these repos several weeks after the fact, which
I think is the pressing problem here. If there is one proper source, I think
the script should be using that, not offering a bunch in the hope some of
them works.

The script can already process any file downloaded manually, therefore
it's already possible to get certdata from any preferred place and make
the script convert it.

@vszakats

vszakats commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Right, so Mozilla did actually update the certs, and they did in the NSS repo.

Is it possible this the origin repo where this file goes first every time, and it
make its way into the matching Firefox branches, much later?

If so, is there a point in using those, or perhaps the script should use the
NSS repo by default? Or is there perhaps some "process" happening
between these two, which is best to wait out?

@vszakats vszakats added the TLS label Oct 21, 2026
@nuxi

nuxi commented Oct 21, 2026

Copy link
Copy Markdown
Contributor Author

Is it possible this the origin repo where this file goes first every time, and it make its way into the matching Firefox branches, much later?

Yes, thats my understanding of the process. NSS is where the updates get applied first. New releases of NSS then trickle into Firefox through the autoland -> beta -> release sequence.

From what I can see in the Firefox repo:

  • Firefox 158 (release) is on NSS 1.130
  • Firefox 159 (beta) is on NSS 1.131
  • Firefox 160 (autoland) is on NSS 1.131 + some patches

The latesst NSS is actually 1.131.1 though.

If so, is there a point in using those, or perhaps the script should use the NSS repo by default? Or is there perhaps some "process" happening between these two, which is best to wait out?

I think the current default of release should remain the default. If we had a way of automatically selecting the latest release tag of NSS I might feel differently, but right now the only option is the development branch.

@nuxi

nuxi commented Oct 21, 2026

Copy link
Copy Markdown
Contributor Author

someone on Reddit reported that they occasionally get blocked by the Fastly challenge page when using the official repo. I'm not sure if difficulties with the Fastly challenge were part of the reason for switching to GitHub in the first place.

My own employer's IP address seems to be blocked by the Fastly challenge on hg.mozilla.org this morning, so thats a vote in favor of the GitHub mirror I guess.

@vszakats

Copy link
Copy Markdown
Member

someone on Reddit reported that they occasionally get blocked by the Fastly challenge page when using the official repo. I'm not sure if difficulties with the Fastly challenge were part of the reason for switching to GitHub in the first place.

My own employer's IP address seems to be blocked by the Fastly challenge on hg.mozilla.org this morning, so thats a vote in favor of the GitHub mirror I guess.

GitHub looks fine; we moved the URLs there when they became the
official Mozilla repo sources, via 4f055fe.

This LGTM.

@vszakats
vszakats requested a review from bagder October 21, 2026 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants