container-test-run-certificates
default.checks.aarch64-linux.certificates
· build #311
· 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/0zgmq1mcj4cmy4rsipzd44lg43lvjs47-nixos-system-ca-test17running activation script...18setting up /etc...192: host0@if3: <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 3f2d2f94-fca4-41ef-97b8-8e64c3b249b2'36Running as unit: run-p470-i84200323.service; invocation ID: 22c6235dcc4e4ef0854d796c7c76fe9037To attach to container ca run on the same machine that runs the test:38 sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*3f2d2f94-fca4-41ef-97b8-8e64c3b249b2') --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 3f2d2f94-fca4-41ef-97b8-8e64c3b249b24243<<< NixOS Stage 2 >>>4445booting system configuration /nix/store/d1h0v70khwjvbxiphp42yd3wnbgxgpjx-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 3378b473-2ac9-451e-a719-139bd61ff2c4'65Running as unit: run-p305-i84200345.service; invocation ID: c77d3d1541ce432db17984f9f9440e7666To attach to container client run on the same machine that runs the test:67 sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*3378b473-2ac9-451e-a719-139bd61ff2c4') --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 3378b473-2ac9-451e-a719-139bd61ff2c47172<<< NixOS Stage 2 >>>7374booting system configuration /nix/store/4kzz7d8sxr0fi3in8sj6qhg6afj7hyv6-nixos-system-server-test75running activation script...76setting up /etc...772: host0@if5: <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 b0c0fd3b-a1d5-4ea7-863e-3a14bb8ae41f'94Running as unit: run-p398-i84200384.service; invocation ID: e21448e741884f459b227ecf556dc3fa95To attach to container server run on the same machine that runs the test:96 sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*b0c0fd3b-a1d5-4ea7-863e-3a14bb8ae41f') --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 b0c0fd3b-a1d5-4ea7-863e-3a14bb8ae41f100+ 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{ [111 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 11 10:07:47 2026 GMT136* expire date: Sep 10 10:07:47 2028 GMT137* issuer: CN=minica root ca 37e5d6138* 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 11 10:07:47 2026 GMT183* expire date: Sep 10 10:07:47 2028 GMT184* issuer: CN=minica root ca 37e5d6185* 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 11 10:07:47 2026 GMT230* expire date: Sep 10 10:07:47 2028 GMT231* issuer: CN=minica root ca 37e5d6232* 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{ [1009 bytes data]264* TLSv1.3 (IN), TLS handshake, CERT verify (15):265{ [111 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 11 10:07:47 2026 GMT277* expire date: Sep 10 10:07:47 2028 GMT278* issuer: CN=minica root ca 37e5d6279* Certificate level 0: Public key type EC/secp384r1 (384/192 Bits/secBits), signed using ecdsa-with-SHA384280* Certificate level 1: Public key type EC/secp384r1 (384/192 Bits/secBits), signed using ecdsa-with-SHA384281* subjectAltName: "test.foo" matches cert's "test.foo"282* OpenSSL verify result: 13283* SSL certificate OpenSSL verify result: self-signed certificate in certificate chain (19)284* closing connection #0285curl: (60) SSL certificate OpenSSL verify result: self-signed certificate in certificate chain (19)286More details here: https://curl.se/docs/sslcerts.html287288curl failed to verify the legitimacy of the server and therefore could not289establish a secure connection to it. To learn more about this situation and290how to fix it, please visit the webpage mentioned above.291+ curl -v https://test.foo292* Host test.foo:443 was resolved.293* IPv6: (none)294* IPv4: 192.168.1.3295* Trying 192.168.1.3:443...296* ALPN: curl offers h2,http/1.1297} [5 bytes data]298* TLSv1.3 (OUT), TLS handshake, Client hello (1):299} [1552 bytes data]300* SSL Trust Anchors:301* OpenSSL default paths (fallback)302{ [5 bytes data]303* TLSv1.3 (IN), TLS handshake, Server hello (2):304{ [1210 bytes data]305* TLSv1.3 (IN), TLS change cipher, Change cipher spec (1):306{ [1 bytes data]307* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):308{ [19 bytes data]309* TLSv1.3 (IN), TLS handshake, Certificate (11):310{ [929 bytes data]311* TLSv1.3 (IN), TLS handshake, CERT verify (15):312{ [80 bytes data]313* TLSv1.3 (IN), TLS handshake, Finished (20):314{ [52 bytes data]315* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):316} [1 bytes data]317* TLSv1.3 (OUT), TLS handshake, Finished (20):318} [52 bytes data]319* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / X25519MLKEM768 / id-ecPublicKey320* ALPN: server accepted h2321* Server certificate:322* subject: CN=test.foo323* start date: Aug 11 10:07:01 2026 GMT324* expire date: Nov 9 10:08:01 2026 GMT325* issuer: CN=Clan Intermediate CA326* Certificate level 0: Public key type EC/prime256v1 (256/128 Bits/secBits), signed using ecdsa-with-SHA256327* Certificate level 1: Public key type EC/prime256v1 (256/128 Bits/secBits), signed using ecdsa-with-SHA256328* Certificate level 2: Public key type EC/prime256v1 (256/128 Bits/secBits), signed using ecdsa-with-SHA256329* subjectAltName: "test.foo" matches cert's "test.foo"330* OpenSSL verify result: 0331* SSL certificate verified via OpenSSL.332* Established connection to test.foo (192.168.1.3 port 443) from 192.168.1.2 port 43520 333 % Total % Received % Xferd Average Speed Time Time Time Current334 Dload Upload Total Spent Left Speed335 0 0 0 0 0 0 0 0 0* using HTTP/2336* [HTTP/2] [1] OPENED stream for https://test.foo/337* [HTTP/2] [1] [:method: GET]338* [HTTP/2] [1] [:scheme: https]339* [HTTP/2] [1] [:authority: test.foo]340* [HTTP/2] [1] [:path: /]341* [HTTP/2] [1] [user-agent: curl/8.21.0]342* [HTTP/2] [1] [accept: */*]343} [5 bytes data]344345346347348349* Request completely sent off350{ [5 bytes data]351* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):352{ [265 bytes data]353* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):354{ [265 bytes data]355356357358359360361362{ [5 bytes data]363100 20 100 20 0 0 752 0 0364* Connection #0 to host test.foo:443 left intact365(finished: waiting for success: curl -v https://test.foo, in 4.21 seconds)366+ openssl s_client -connect test.foo:443 -servername test.foo367+ openssl x509 -text -noout368Certificate:369 Data:370 Version: 3 (0x2)371 Serial Number:372 d5:d8:9c:a9:12:73:71:cb:bc:2b:4c:48:15:28:69:81373 Signature Algorithm: ecdsa-with-SHA256374 Issuer: CN=Clan Intermediate CA375 Validity376 Not Before: Aug 11 10:07:01 2026 GMT377 Not After : Nov 9 10:08:01 2026 GMT378 Subject: CN=test.foo379 Subject Public Key Info:380 Public Key Algorithm: id-ecPublicKey381 Public-Key: (256 bit)382 pub:383 04:9e:b3:5c:35:73:84:db:44:dc:b4:bb:04:2d:d0:384 e9:ed:4a:2b:0a:28:f6:13:73:f9:03:cc:0a:4c:06:385 b0:41:2e:8e:fd:da:a9:b5:ac:1e:47:9d:e7:ee:09:386 a7:7f:ce:cc:a9:81:7d:d3:65:f6:66:10:76:ec:c1:387 57:da:2d:bd:f1388 ASN1 OID: prime256v1389 NIST CURVE: P-256390 X509v3 extensions:391 X509v3 Key Usage: critical392 Digital Signature393 X509v3 Extended Key Usage: 394 TLS Web Server Authentication, TLS Web Client Authentication395 X509v3 Subject Key Identifier: 396 37:99:EE:91:F7:E7:11:BA:1D:D4:16:1D:39:E2:32:59:AE:F9:7C:34397 X509v3 Authority Key Identifier: 398 C1:18:83:A0:CF:9B:30:7A:1F:04:DC:44:D3:2A:79:11:2C:2B:E2:CD399 X509v3 Subject Alternative Name: 400 DNS:test.foo401 1.3.6.1.4.1.37476.9000.64.1: 402 0......acme..403 Signature Algorithm: ecdsa-with-SHA256404 Signature Value:405 30:44:02:20:3a:0e:12:98:08:43:51:47:00:b6:19:99:b7:2f:406 fd:a4:6b:ae:9d:82:ec:f7:4d:63:b2:d8:46:9e:b2:db:62:fa:407 02:20:27:da:1b:d7:3c:45:49:cf:26:a2:f1:8a:9b:e8:3e:50:408 1c:39:5f:bd:fe:61:d8:4f:e8:a1:f6:db:1f:9d:4e:4f409410411