container-test-run-certificates
default.checks.aarch64-linux.certificates
· build #281
· 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/bqzqv5kzdhy7wn1si9w5hprij7a8v747-nixos-system-ca-test17running activation script...18setting up /etc...192: host0@if5: <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 4b5fabe6-789f-4291-b23f-c4c75017c4e2'36Running as unit: run-p469-i80852590.service; invocation ID: 7b9fd1dd126245c193998d6d3619807b37To attach to container ca run on the same machine that runs the test:38 sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*4b5fabe6-789f-4291-b23f-c4c75017c4e2') --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 4b5fabe6-789f-4291-b23f-c4c75017c4e24243<<< NixOS Stage 2 >>>4445booting system configuration /nix/store/7hy8yfhdkqjyhzi63j0l0422npfh7wcx-nixos-system-client-test46running activation script...47setting up /etc...482: host0@if4: <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 ee62513b-5052-4a61-b439-4a77f16742cb'65Running as unit: run-p305-i80852596.service; invocation ID: 1deb112cf8ab4e4e988f8f133ade5e6c66To attach to container client run on the same machine that runs the test:67 sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*ee62513b-5052-4a61-b439-4a77f16742cb') --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 ee62513b-5052-4a61-b439-4a77f16742cb7172<<< NixOS Stage 2 >>>7374booting system configuration /nix/store/d2vq2fi9fsi3mf5a8s9j7hgzz9vqdl4w-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 c6fd010b-d783-4b96-9b57-c26ec973718f'94Running as unit: run-p398-i80852601.service; invocation ID: e1452b696427459e95c8ed6f17768aac95To attach to container server run on the same machine that runs the test:96 sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*c6fd010b-d783-4b96-9b57-c26ec973718f') --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 c6fd010b-d783-4b96-9b57-c26ec973718f100+ 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{ [1009 bytes data]123* TLSv1.3 (IN), TLS handshake, CERT verify (15):124{ [110 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 9 15:06:22 2026 GMT136* expire date: Sep 8 15:06:22 2028 GMT137* issuer: CN=minica root ca 0aede4138* 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{ [1009 bytes data]170* TLSv1.3 (IN), TLS handshake, CERT verify (15):171{ [110 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 9 15:06:22 2026 GMT183* expire date: Sep 8 15:06:22 2028 GMT184* issuer: CN=minica root ca 0aede4185* 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{ [1009 bytes data]217* TLSv1.3 (IN), TLS handshake, CERT verify (15):218{ [111 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 9 15:06:22 2026 GMT230* expire date: Sep 8 15:06:22 2028 GMT231* issuer: CN=minica root ca 0aede4232* 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{ [931 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 9 15:05:36 2026 GMT277* expire date: Nov 7 15:06:36 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 32936 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 700 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 d4:eb:b6:56:65:2d:2e:48:f0:ec:1f:58:4a:b8:f8:ff326 Signature Algorithm: ecdsa-with-SHA256327 Issuer: CN=Clan Intermediate CA328 Validity329 Not Before: Aug 9 15:05:36 2026 GMT330 Not After : Nov 7 15:06:36 2026 GMT331 Subject: CN=test.foo332 Subject Public Key Info:333 Public Key Algorithm: id-ecPublicKey334 Public-Key: (256 bit)335 pub:336 04:8c:29:94:6b:e1:0c:d5:e1:f3:53:23:7a:f5:44:337 44:1c:5a:01:85:3b:01:bd:7c:e3:6c:b4:f2:2c:b3:338 62:bf:86:75:86:c3:f7:15:0e:a5:8e:9b:09:ac:62:339 23:f9:c2:41:ec:16:83:45:66:6a:79:a3:e9:33:8a:340 29:9b:6e:f9:7b341 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 E6:D5:AE:35:1C:9F:20:88:33:B9:A6:2F:CE:F8:65:C6:9B:53:61:9E350 X509v3 Authority Key Identifier: 351 28:54:B1:E5:31:AA:B3:9B:28:82:28:77:EA:6C:D5:25:71:5F:69:1C352 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:44:02:20:78:05:4d:44:ad:03:c5:4e:02:1d:6c:6b:4f:7d:359 66:a5:df:5c:17:7c:98:12:c3:46:e6:b7:f7:e1:b4:16:de:ec:360 02:20:71:07:e9:0e:15:6b:e0:58:74:e3:03:70:8c:b5:c2:c4:361 0f:be:3b:08:2f:a4:92:8a:e3:e5:ec:60:4b:86:46:bc362363364