It looks like this was easier than expected. The process isn't well documented: all that's needed is add a line to server-locations.txt _then_ run `./mach python build/pgo/genpgocert.py` like mentioned in https://firefox-source-docs.mozilla.org/build/buildsystem/test_certificates.html (but there's no need to add a `certspec` file! if all you need is adding a new host to the default certificate). Note: I _think_ the [mochitest entry is server-locations.txt](https://searchfox.org/mozilla-central/rev/380b8fd795e7d96d8a5a3e6ec2b50a9f2b65854a/build/pgo/server-locations.txt#393) is broken, at least for "normal" http requests, as the served request doesn't seem to have a certificate that includes this DNS name. I filed Bug 1958854 for this.
Bug 1803607 Comment 25 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
It looks like this was easier than expected. The process isn't well documented: all that's needed is add a line to server-locations.txt _then_ run `./mach python build/pgo/genpgocert.py` like mentioned in https://firefox-source-docs.mozilla.org/build/buildsystem/test_certificates.html (but there's no need to add a `certspec` file! if all you need is adding a new host to the default certificate). => Bug 1958861 Note: I _think_ the [mochitest entry is server-locations.txt](https://searchfox.org/mozilla-central/rev/380b8fd795e7d96d8a5a3e6ec2b50a9f2b65854a/build/pgo/server-locations.txt#393) is broken, at least for "normal" http requests, as the served request doesn't seem to have a certificate that includes this DNS name. I filed Bug 1958854 for this.