container-test-run-certificates
default.checks.aarch64-linux.certificates
· build #285
· raw
1additionally exposed symbols:2 ca, client, server,3 start_all, machines, driver, Machine, wait_for_signal4Starting ca5Starting client6Starting server7891011121314<<< NixOS Stage 2 >>>1516booting system configuration /nix/store/9qiz86v2flvd5sh148hzngcmgfgh9qcp-nixos-system-ca-test17running activation script...18setting up /etc...192: host0@if4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 100020 link/ether 42:06:76:42:a9:8d brd ff:ff:ff:ff:ff:ff link-netnsid 021setting up age secrets...22starting systemd...23systemd 261.1 running in system mode (+PAM +AUDIT -SELINUX +APPARMOR +IMA +IPE +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK -BTF -XKBCOMMON +UTMP +LIBARCHIVE)24Detected virtualization systemd-nspawn.25Detected architecture arm64.26Detected first boot.27Initializing machine ID from container UUID.28Applying preset policy.29Populated /etc with preset unit settings.30Queued start job for default target Multi-User System.31323334<<< Welcome to NixOS test (aarch64) - console >>>35+ systemd-run /bin/sh -c '/nix/store/p79fmimbb698sv4c135kbdwlhjcqpd3p-coreutils-9.11/bin/sleep 999999999 && echo 6161576d-4422-46f8-b4d6-0224a8590f7a'36Running as unit: run-p471-i81946915.service; invocation ID: 98c5df9bbcc843c9ada055005c978d3e37To attach to container ca run on the same machine that runs the test:38 sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*6161576d-4422-46f8-b4d6-0224a8590f7a') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash 3940To inject external network and continue test, run:41sudo /nix/store/41m77i1296n33p6liin8ynr6wh3h6b7m-python3-3.14.6/bin/python3.14 /nix/store/5kaq06rm8h6acj0ggm4f0dswwr131zib-test-driver-0.0.1/lib/python3.14/site-packages/test_driver/inject_network.py 6161576d-4422-46f8-b4d6-0224a8590f7a4243<<< NixOS Stage 2 >>>4445booting system configuration /nix/store/qbq7f71fp96l14hshxrw9rkznlc03m5h-nixos-system-client-test46running activation script...47setting up /etc...482: host0@if5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 100049 link/ether 2a:42:35:28:b1:2f brd ff:ff:ff:ff:ff:ff link-netnsid 050setting up age secrets...51starting systemd...52systemd 261.1 running in system mode (+PAM +AUDIT -SELINUX +APPARMOR +IMA +IPE +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK -BTF -XKBCOMMON +UTMP +LIBARCHIVE)53Detected virtualization systemd-nspawn.54Detected architecture arm64.55Detected first boot.56Initializing machine ID from container UUID.57Applying preset policy.58Populated /etc with preset unit settings.59Queued start job for default target Multi-User System.60616263<<< Welcome to NixOS test (aarch64) - console >>>64+ systemd-run /bin/sh -c '/nix/store/p79fmimbb698sv4c135kbdwlhjcqpd3p-coreutils-9.11/bin/sleep 999999999 && echo 1560086b-894c-40e9-b5f1-476fa2bacc86'65Running as unit: run-p305-i81946921.service; invocation ID: 8b8bb51f776244d4aae9c136704e882b66To attach to container client run on the same machine that runs the test:67 sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*1560086b-894c-40e9-b5f1-476fa2bacc86') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash 6869To inject external network and continue test, run:70sudo /nix/store/41m77i1296n33p6liin8ynr6wh3h6b7m-python3-3.14.6/bin/python3.14 /nix/store/5kaq06rm8h6acj0ggm4f0dswwr131zib-test-driver-0.0.1/lib/python3.14/site-packages/test_driver/inject_network.py 1560086b-894c-40e9-b5f1-476fa2bacc867172<<< NixOS Stage 2 >>>7374booting system configuration /nix/store/lmics0v8znp8p82497li90fy63jcl74j-nixos-system-server-test75running activation script...76setting up /etc...772: host0@if3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 100078 link/ether be:aa:dd:39:86:e7 brd ff:ff:ff:ff:ff:ff link-netnsid 079setting up age secrets...80starting systemd...81systemd 261.1 running in system mode (+PAM +AUDIT -SELINUX +APPARMOR +IMA +IPE +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK -BTF -XKBCOMMON +UTMP +LIBARCHIVE)82Detected virtualization systemd-nspawn.83Detected architecture arm64.84Detected first boot.85Initializing machine ID from container UUID.86Applying preset policy.87Populated /etc with preset unit settings.88Queued start job for default target Multi-User System.89909192<<< Welcome to NixOS test (aarch64) - console >>>93+ systemd-run /bin/sh -c '/nix/store/p79fmimbb698sv4c135kbdwlhjcqpd3p-coreutils-9.11/bin/sleep 999999999 && echo 3d0b1dff-3e33-404c-8e55-db82fcba3cd6'94Running as unit: run-p399-i81946960.service; invocation ID: bb3d87055fca4c2bb9d671fee833053495To attach to container server run on the same machine that runs the test:96 sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*3d0b1dff-3e33-404c-8e55-db82fcba3cd6') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash 9798To inject external network and continue test, run:99sudo /nix/store/41m77i1296n33p6liin8ynr6wh3h6b7m-python3-3.14.6/bin/python3.14 /nix/store/5kaq06rm8h6acj0ggm4f0dswwr131zib-test-driver-0.0.1/lib/python3.14/site-packages/test_driver/inject_network.py 3d0b1dff-3e33-404c-8e55-db82fcba3cd6100+ systemctl restart acme-order-renew-ca.foo.service101+ systemctl restart acme-test.foo.service102client: waiting for success: curl -v https://test.foo103+ curl -v https://test.foo104* Host test.foo:443 was resolved.105* IPv6: (none)106* IPv4: 192.168.1.3107* Trying 192.168.1.3:443...108* ALPN: curl offers h2,http/1.1109} [5 bytes data]110* TLSv1.3 (OUT), TLS handshake, Client hello (1):111} [1552 bytes data]112* SSL Trust Anchors:113* OpenSSL default paths (fallback)114{ [5 bytes data]115* TLSv1.3 (IN), TLS handshake, Server hello (2):116{ [1210 bytes data]117* TLSv1.3 (IN), TLS change cipher, Change cipher spec (1):118{ [1 bytes data]119* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):120{ [19 bytes data]121* TLSv1.3 (IN), TLS handshake, Certificate (11):122{ [1008 bytes data]123* TLSv1.3 (IN), TLS handshake, CERT verify (15):124{ [112 bytes data]125* TLSv1.3 (IN), TLS handshake, Finished (20):126{ [52 bytes data]127* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):128} [1 bytes data]129* TLSv1.3 (OUT), TLS handshake, Finished (20):130} [52 bytes data]131* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / X25519MLKEM768 / id-ecPublicKey132* ALPN: server accepted h2133* Server certificate:134* subject: CN=test.foo135* start date: Aug 10 10:14:43 2026 GMT136* expire date: Sep 9 10:14:43 2028 GMT137* issuer: CN=minica root ca 144d18138* Certificate level 0: Public key type EC/secp384r1 (384/192 Bits/secBits), signed using ecdsa-with-SHA384139* Certificate level 1: Public key type EC/secp384r1 (384/192 Bits/secBits), signed using ecdsa-with-SHA384140* subjectAltName: "test.foo" matches cert's "test.foo"141* OpenSSL verify result: 13142* SSL certificate OpenSSL verify result: self-signed certificate in certificate chain (19)143* closing connection #0144curl: (60) SSL certificate OpenSSL verify result: self-signed certificate in certificate chain (19)145More details here: https://curl.se/docs/sslcerts.html146147curl failed to verify the legitimacy of the server and therefore could not148establish a secure connection to it. To learn more about this situation and149how to fix it, please visit the webpage mentioned above.150+ curl -v https://test.foo151* Host test.foo:443 was resolved.152* IPv6: (none)153* IPv4: 192.168.1.3154* Trying 192.168.1.3:443...155* ALPN: curl offers h2,http/1.1156} [5 bytes data]157* TLSv1.3 (OUT), TLS handshake, Client hello (1):158} [1552 bytes data]159* SSL Trust Anchors:160* OpenSSL default paths (fallback)161{ [5 bytes data]162* TLSv1.3 (IN), TLS handshake, Server hello (2):163{ [1210 bytes data]164* TLSv1.3 (IN), TLS change cipher, Change cipher spec (1):165{ [1 bytes data]166* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):167{ [19 bytes data]168* TLSv1.3 (IN), TLS handshake, Certificate (11):169{ [1008 bytes data]170* TLSv1.3 (IN), TLS handshake, CERT verify (15):171{ [111 bytes data]172* TLSv1.3 (IN), TLS handshake, Finished (20):173{ [52 bytes data]174* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):175} [1 bytes data]176* TLSv1.3 (OUT), TLS handshake, Finished (20):177} [52 bytes data]178* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / X25519MLKEM768 / id-ecPublicKey179* ALPN: server accepted h2180* Server certificate:181* subject: CN=test.foo182* start date: Aug 10 10:14:43 2026 GMT183* expire date: Sep 9 10:14:43 2028 GMT184* issuer: CN=minica root ca 144d18185* Certificate level 0: Public key type EC/secp384r1 (384/192 Bits/secBits), signed using ecdsa-with-SHA384186* Certificate level 1: Public key type EC/secp384r1 (384/192 Bits/secBits), signed using ecdsa-with-SHA384187* subjectAltName: "test.foo" matches cert's "test.foo"188* OpenSSL verify result: 13189* SSL certificate OpenSSL verify result: self-signed certificate in certificate chain (19)190* closing connection #0191curl: (60) SSL certificate OpenSSL verify result: self-signed certificate in certificate chain (19)192More details here: https://curl.se/docs/sslcerts.html193194curl failed to verify the legitimacy of the server and therefore could not195establish a secure connection to it. To learn more about this situation and196how to fix it, please visit the webpage mentioned above.197+ curl -v https://test.foo198* Host test.foo:443 was resolved.199* IPv6: (none)200* IPv4: 192.168.1.3201* Trying 192.168.1.3:443...202* ALPN: curl offers h2,http/1.1203} [5 bytes data]204* TLSv1.3 (OUT), TLS handshake, Client hello (1):205} [1552 bytes data]206* SSL Trust Anchors:207* OpenSSL default paths (fallback)208{ [5 bytes data]209* TLSv1.3 (IN), TLS handshake, Server hello (2):210{ [1210 bytes data]211* TLSv1.3 (IN), TLS change cipher, Change cipher spec (1):212{ [1 bytes data]213* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):214{ [19 bytes data]215* TLSv1.3 (IN), TLS handshake, Certificate (11):216{ [1008 bytes data]217* TLSv1.3 (IN), TLS handshake, CERT verify (15):218{ [110 bytes data]219* TLSv1.3 (IN), TLS handshake, Finished (20):220{ [52 bytes data]221* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):222} [1 bytes data]223* TLSv1.3 (OUT), TLS handshake, Finished (20):224} [52 bytes data]225* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / X25519MLKEM768 / id-ecPublicKey226* ALPN: server accepted h2227* Server certificate:228* subject: CN=test.foo229* start date: Aug 10 10:14:43 2026 GMT230* expire date: Sep 9 10:14:43 2028 GMT231* issuer: CN=minica root ca 144d18232* Certificate level 0: Public key type EC/secp384r1 (384/192 Bits/secBits), signed using ecdsa-with-SHA384233* Certificate level 1: Public key type EC/secp384r1 (384/192 Bits/secBits), signed using ecdsa-with-SHA384234* subjectAltName: "test.foo" matches cert's "test.foo"235* OpenSSL verify result: 13236* SSL certificate OpenSSL verify result: self-signed certificate in certificate chain (19)237* closing connection #0238curl: (60) SSL certificate OpenSSL verify result: self-signed certificate in certificate chain (19)239More details here: https://curl.se/docs/sslcerts.html240241curl failed to verify the legitimacy of the server and therefore could not242establish a secure connection to it. To learn more about this situation and243how to fix it, please visit the webpage mentioned above.244+ curl -v https://test.foo245* Host test.foo:443 was resolved.246* IPv6: (none)247* IPv4: 192.168.1.3248* Trying 192.168.1.3:443...249* ALPN: curl offers h2,http/1.1250} [5 bytes data]251* TLSv1.3 (OUT), TLS handshake, Client hello (1):252} [1552 bytes data]253* SSL Trust Anchors:254* OpenSSL default paths (fallback)255{ [5 bytes data]256* TLSv1.3 (IN), TLS handshake, Server hello (2):257{ [1210 bytes data]258* TLSv1.3 (IN), TLS change cipher, Change cipher spec (1):259{ [1 bytes data]260* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):261{ [19 bytes data]262* TLSv1.3 (IN), TLS handshake, Certificate (11):263{ [929 bytes data]264* TLSv1.3 (IN), TLS handshake, CERT verify (15):265{ [78 bytes data]266* TLSv1.3 (IN), TLS handshake, Finished (20):267{ [52 bytes data]268* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):269} [1 bytes data]270* TLSv1.3 (OUT), TLS handshake, Finished (20):271} [52 bytes data]272* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / X25519MLKEM768 / id-ecPublicKey273* ALPN: server accepted h2274* Server certificate:275* subject: CN=test.foo276* start date: Aug 10 10:13:57 2026 GMT277* expire date: Nov 8 10:14:57 2026 GMT278* issuer: CN=Clan Intermediate CA279* Certificate level 0: Public key type EC/prime256v1 (256/128 Bits/secBits), signed using ecdsa-with-SHA256280* Certificate level 1: Public key type EC/prime256v1 (256/128 Bits/secBits), signed using ecdsa-with-SHA256281* Certificate level 2: Public key type EC/prime256v1 (256/128 Bits/secBits), signed using ecdsa-with-SHA256282* subjectAltName: "test.foo" matches cert's "test.foo"283* OpenSSL verify result: 0284* SSL certificate verified via OpenSSL.285* Established connection to test.foo (192.168.1.3 port 443) from 192.168.1.2 port 59472 286 % Total % Received % Xferd Average Speed Time Time Time Current287 Dload Upload Total Spent Left Speed288 0 0 0 0 0 0 0 0 0* using HTTP/2289* [HTTP/2] [1] OPENED stream for https://test.foo/290* [HTTP/2] [1] [:method: GET]291* [HTTP/2] [1] [:scheme: https]292* [HTTP/2] [1] [:authority: test.foo]293* [HTTP/2] [1] [:path: /]294* [HTTP/2] [1] [user-agent: curl/8.21.0]295* [HTTP/2] [1] [accept: */*]296} [5 bytes data]297298299300301302* Request completely sent off303{ [5 bytes data]304* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):305{ [265 bytes data]306* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):307{ [265 bytes data]308309310311312313314315{ [5 bytes data]316100 20 100 20 0 0 708 0 0317* Connection #0 to host test.foo:443 left intact318(finished: waiting for success: curl -v https://test.foo, in 3.18 seconds)319+ openssl s_client -connect test.foo:443 -servername test.foo320+ openssl x509 -text -noout321Certificate:322 Data:323 Version: 3 (0x2)324 Serial Number:325 30:e6:38:b9:d8:1b:28:f8:85:42:a4:d0:ee:ae:78:0e326 Signature Algorithm: ecdsa-with-SHA256327 Issuer: CN=Clan Intermediate CA328 Validity329 Not Before: Aug 10 10:13:57 2026 GMT330 Not After : Nov 8 10:14:57 2026 GMT331 Subject: CN=test.foo332 Subject Public Key Info:333 Public Key Algorithm: id-ecPublicKey334 Public-Key: (256 bit)335 pub:336 04:67:56:75:0e:fc:85:60:4c:98:8d:b4:2b:3c:ad:337 e8:a1:bc:c9:12:b0:5f:29:3f:fb:b9:8d:32:bb:6e:338 63:e5:40:11:39:67:7d:fe:84:8a:c6:73:ec:94:57:339 47:4c:50:a4:c5:f4:ff:d6:ed:5f:42:42:cd:5d:ff:340 56:74:bd:45:6b341 ASN1 OID: prime256v1342 NIST CURVE: P-256343 X509v3 extensions:344 X509v3 Key Usage: critical345 Digital Signature346 X509v3 Extended Key Usage: 347 TLS Web Server Authentication, TLS Web Client Authentication348 X509v3 Subject Key Identifier: 349 FE:D3:41:96:8B:5B:23:B5:9A:05:1A:C8:D2:95:B7:BD:5A:FA:0E:A5350 X509v3 Authority Key Identifier: 351 C1:18:83:A0:CF:9B:30:7A:1F:04:DC:44:D3:2A:79:11:2C:2B:E2:CD352 X509v3 Subject Alternative Name: 353 DNS:test.foo354 1.3.6.1.4.1.37476.9000.64.1: 355 0......acme..356 Signature Algorithm: ecdsa-with-SHA256357 Signature Value:358 30:45:02:21:00:96:f5:50:a7:07:ca:93:60:89:88:00:4d:8c:359 20:00:9f:01:a4:4f:33:69:fb:a1:a4:37:b4:2e:68:f6:ab:50:360 7c:02:20:38:28:0e:22:ff:db:8d:29:ea:46:51:9e:94:af:5d:361 95:2e:4c:75:1a:3a:0a:59:b4:62:b2:fc:14:4d:3f:c8:d1362363364