Skip to content

test(node): Add playnet domain and TLS certificate support for API Boundary Nodes#9613

Merged
r-birkner merged 5 commits intomasterfrom
andrew/support-api-bn-farm-domain-name
Apr 1, 2026
Merged

test(node): Add playnet domain and TLS certificate support for API Boundary Nodes#9613
r-birkner merged 5 commits intomasterfrom
andrew/support-api-bn-farm-domain-name

Conversation

@andrewbattat
Copy link
Copy Markdown
Contributor

@andrewbattat andrewbattat commented Mar 26, 2026

NODE-1921

Add support for API Boundary Nodes to obtain real DNS domains and TLS certificates via Farm's playnet infrastructure. This is needed because Cloud Engines access the IC exclusively through API BNs, and the delegation fetcher verifies TLS certificates -- the previous self-signed certs with bogus domains won't work.

@github-actions github-actions bot added the test label Mar 26, 2026
Comment thread rs/ic_os/config/tool/src/guestos/generate_ic_config.rs
Comment thread rs/tests/driver/src/driver/ic.rs
@andrewbattat andrewbattat requested a review from r-birkner March 26, 2026 22:01
Comment thread rs/tests/driver/src/driver/ic.rs
Comment thread rs/ic_os/config/tool/src/guestos/generate_ic_config.rs Outdated
Comment thread rs/ic_os/config/tool/src/guestos/generate_ic_config.rs
Comment thread rs/tests/driver/src/driver/ic.rs
@r-birkner r-birkner added this pull request to the merge queue Apr 1, 2026
Merged via the queue into master with commit b7d3ac2 Apr 1, 2026
39 checks passed
@r-birkner r-birkner deleted the andrew/support-api-bn-farm-domain-name branch April 1, 2026 09:22
github-merge-queue bot pushed a commit that referenced this pull request Apr 1, 2026
…fetch delegations (#9595)

Since non-cloud engine nodes (including nodes of the NNS subnet) deny
incoming connections from cloud engine nodes in the firewall, a few
adjustments are required.
Cloud engines' registry replicators already use API BNs instead of NNS
nodes directly. Similarly, this PR makes cloud engine nodes use API BNs
instead of NNS nodes to fetch delegations.

This PR also extends the current system test on NNS delegations to test
all endpoints on all subnet types (including the NNS, which should
effectively not return a delegation).

Note: we need to wait that #9613 reaches mainnet NNS before re-enabling
the mainnet variant of the system test for cloud engines. This is
tracked in CON-1696.

Another note concerning the introduced dependency `webpki-roots`: this
dependency was already used transitively but not directly. We have the
choice between using native certs (provided by the OS) or the
`webpki-roots` crate which contains a list of CAs maintained by Mozilla.
The decision is not new and was already [extensively
discussed](4f05450).
After discussing with Franz-Stefan, we decided that `webpki-roots` made
more sense for the sake of consistency.

---------

Co-authored-by: Andrew Battat <andrew.battat@dfinity.org>
Co-authored-by: IDX GitHub Automation <infra+github-automation@dfinity.org>
daniel-wong-dfinity-org pushed a commit that referenced this pull request Apr 1, 2026
…fetch delegations (#9595)

Since non-cloud engine nodes (including nodes of the NNS subnet) deny
incoming connections from cloud engine nodes in the firewall, a few
adjustments are required.
Cloud engines' registry replicators already use API BNs instead of NNS
nodes directly. Similarly, this PR makes cloud engine nodes use API BNs
instead of NNS nodes to fetch delegations.

This PR also extends the current system test on NNS delegations to test
all endpoints on all subnet types (including the NNS, which should
effectively not return a delegation).

Note: we need to wait that #9613 reaches mainnet NNS before re-enabling
the mainnet variant of the system test for cloud engines. This is
tracked in CON-1696.

Another note concerning the introduced dependency `webpki-roots`: this
dependency was already used transitively but not directly. We have the
choice between using native certs (provided by the OS) or the
`webpki-roots` crate which contains a list of CAs maintained by Mozilla.
The decision is not new and was already [extensively
discussed](4f05450).
After discussing with Franz-Stefan, we decided that `webpki-roots` made
more sense for the sake of consistency.

---------

Co-authored-by: Andrew Battat <andrew.battat@dfinity.org>
Co-authored-by: IDX GitHub Automation <infra+github-automation@dfinity.org>
@andrewbattat andrewbattat self-assigned this Apr 1, 2026
github-merge-queue bot pushed a commit that referenced this pull request Apr 14, 2026
…stem test for cloud engines (#9809)

#9613 has reached mainnet NNS and unblocks the mainnet variant of the
delegation system tests for cloud engines.
daniel-wong-dfinity-org pushed a commit that referenced this pull request Apr 15, 2026
…stem test for cloud engines (#9809)

#9613 has reached mainnet NNS and unblocks the mainnet variant of the
delegation system tests for cloud engines.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants