container-test-run-certificates
checks.aarch64-linux.certificates
· build #1137
· raw
1build01: building ci1p4a8mzi8nynqi7fhavir0ijbyf8ic-container-test-run-certificates.drv2additionally exposed symbols:3 ca, client, server,4 start_all, machines, driver, Machine, wait_for_signal5Starting ca6Starting client7Starting server8░ Spawning container ca on /build/tmpcbgn17lh/ca.9░ Spawning container server on /build/tmpcbgn17lh/server.10░ Spawning container client on /build/tmpcbgn17lh/client.1112<<< NixOS Stage 2 >>>1314booting system configuration /nix/store/dgb4rh54p9idm7yygv7v67qdd910ymfa-nixos-system-ca-test15running activation script...16setting up /etc...172: host0@if3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 100018 link/ether 42:06:76:42:a9:8d brd ff:ff:ff:ff:ff:ff link-netnsid 019setting up age secrets...20starting systemd...21systemd 260.5 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)22Detected virtualization systemd-nspawn.23Detected architecture arm64.24Detected first boot.25Initializing machine ID from container UUID.26Applying preset policy.27Populated /etc with preset unit settings.28Queued start job for default target Multi-User System.29303132<<< Welcome to NixOS test (aarch64) - console >>>33+ systemd-run /bin/sh -c '/nix/store/f2jmqpvrz2d2m3iw9i9zjkggh4na5jcs-coreutils-9.11/bin/sleep 999999999 && echo feb4e986-5908-42b9-9cac-6297e78b57b8'34Running as unit: run-p400-i12457064.service; invocation ID: 1b33c6e117164f4eaa46a006d920f4a235To attach to container ca run on the same machine that runs the test:36 sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*feb4e986-5908-42b9-9cac-6297e78b57b8') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash 3738To inject external network and continue test, run:39sudo /nix/store/vilynzly1pyhawy04ljmrp7n9ffr24qy-python3-3.13.17/bin/python3.13 /nix/store/n7n0z60amrdw29gw8wzyhkxwd9ibcjs3-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py feb4e986-5908-42b9-9cac-6297e78b57b84041<<< NixOS Stage 2 >>>4243booting system configuration /nix/store/38fnyp9clipswfks1s7jhq3wy4aw5v93-nixos-system-client-test44running activation script...45setting up /etc...462: host0@if5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 100047 link/ether 2a:42:35:28:b1:2f brd ff:ff:ff:ff:ff:ff link-netnsid 048setting up age secrets...49starting systemd...50systemd 260.5 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)51Detected virtualization systemd-nspawn.52Detected architecture arm64.53Detected first boot.54Initializing machine ID from container UUID.55Applying preset policy.56Populated /etc with preset unit settings.57Queued start job for default target Multi-User System.58596061<<< Welcome to NixOS test (aarch64) - console >>>62+ systemd-run /bin/sh -c '/nix/store/f2jmqpvrz2d2m3iw9i9zjkggh4na5jcs-coreutils-9.11/bin/sleep 999999999 && echo 780d3db3-b21c-41f3-b533-86a3c259b2ac'63Running as unit: run-p304-i12457075.service; invocation ID: 1185151b962142d18132a89b635fd95164To attach to container client run on the same machine that runs the test:65 sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*780d3db3-b21c-41f3-b533-86a3c259b2ac') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash 6667To inject external network and continue test, run:68sudo /nix/store/vilynzly1pyhawy04ljmrp7n9ffr24qy-python3-3.13.17/bin/python3.13 /nix/store/n7n0z60amrdw29gw8wzyhkxwd9ibcjs3-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py 780d3db3-b21c-41f3-b533-86a3c259b2ac6970<<< NixOS Stage 2 >>>7172booting system configuration /nix/store/x6x422id83vyy7d7f03qkqqhqlgp3lal-nixos-system-server-test73running activation script...74setting up /etc...752: host0@if4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 100076 link/ether be:aa:dd:39:86:e7 brd ff:ff:ff:ff:ff:ff link-netnsid 077setting up age secrets...78starting systemd...79systemd 260.5 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)80Detected virtualization systemd-nspawn.81Detected architecture arm64.82Detected first boot.83Initializing machine ID from container UUID.84Applying preset policy.85Populated /etc with preset unit settings.86Queued start job for default target Multi-User System.87888990<<< Welcome to NixOS test (aarch64) - console >>>91+ systemd-run /bin/sh -c '/nix/store/f2jmqpvrz2d2m3iw9i9zjkggh4na5jcs-coreutils-9.11/bin/sleep 999999999 && echo 417aaa89-a57c-404b-92d4-4fd541c57013'92Running as unit: run-p363-i12457098.service; invocation ID: 7e0b5430941d4be7a83089f89e7bdae393To attach to container server run on the same machine that runs the test:94 sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*417aaa89-a57c-404b-92d4-4fd541c57013') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash 9596To inject external network and continue test, run:97sudo /nix/store/vilynzly1pyhawy04ljmrp7n9ffr24qy-python3-3.13.17/bin/python3.13 /nix/store/n7n0z60amrdw29gw8wzyhkxwd9ibcjs3-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py 417aaa89-a57c-404b-92d4-4fd541c5701398+ systemctl restart acme-order-renew-ca.foo.service99+ systemctl restart acme-test.foo.service100client: waiting for success: curl -v https://test.foo101+ curl -v https://test.foo102* Host test.foo:443 was resolved.103* IPv6: (none)104* IPv4: 192.168.1.3105* Trying 192.168.1.3:443...106* ALPN: curl offers h2,http/1.1107} [5 bytes data]108* TLSv1.3 (OUT), TLS handshake, Client hello (1):109} [1552 bytes data]110* SSL Trust Anchors:111* OpenSSL default paths (fallback)112{ [5 bytes data]113* TLSv1.3 (IN), TLS handshake, Server hello (2):114{ [1210 bytes data]115* TLSv1.3 (IN), TLS change cipher, Change cipher spec (1):116{ [1 bytes data]117* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):118{ [19 bytes data]119* TLSv1.3 (IN), TLS handshake, Certificate (11):120{ [1009 bytes data]121* TLSv1.3 (IN), TLS handshake, CERT verify (15):122{ [111 bytes data]123* TLSv1.3 (IN), TLS handshake, Finished (20):124{ [52 bytes data]125* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):126} [1 bytes data]127* TLSv1.3 (OUT), TLS handshake, Finished (20):128} [52 bytes data]129* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / X25519MLKEM768 / id-ecPublicKey130* ALPN: server accepted h2131* Server certificate:132* subject: CN=test.foo133* start date: Oct 29 00:17:54 2026 GMT134* expire date: Nov 28 00:17:54 2028 GMT135* issuer: CN=minica root ca 05412a136* Certificate level 0: Public key type EC/secp384r1 (384/192 Bits/secBits), signed using ecdsa-with-SHA384137* Certificate level 1: Public key type EC/secp384r1 (384/192 Bits/secBits), signed using ecdsa-with-SHA384138* subjectAltName: "test.foo" matches cert's "test.foo"139* OpenSSL verify result: 13140* SSL certificate OpenSSL verify result: self-signed certificate in certificate chain (19)141* closing connection #0142curl: (60) SSL certificate OpenSSL verify result: self-signed certificate in certificate chain (19)143More details here: https://curl.se/docs/sslcerts.html144145curl failed to verify the legitimacy of the server and therefore could not146establish a secure connection to it. To learn more about this situation and147how to fix it, please visit the webpage mentioned above.148+ curl -v https://test.foo149* Host test.foo:443 was resolved.150* IPv6: (none)151* IPv4: 192.168.1.3152* Trying 192.168.1.3:443...153* ALPN: curl offers h2,http/1.1154} [5 bytes data]155* TLSv1.3 (OUT), TLS handshake, Client hello (1):156} [1552 bytes data]157* SSL Trust Anchors:158* OpenSSL default paths (fallback)159{ [5 bytes data]160* TLSv1.3 (IN), TLS handshake, Server hello (2):161{ [1210 bytes data]162* TLSv1.3 (IN), TLS change cipher, Change cipher spec (1):163{ [1 bytes data]164* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):165{ [19 bytes data]166* TLSv1.3 (IN), TLS handshake, Certificate (11):167{ [1009 bytes data]168* TLSv1.3 (IN), TLS handshake, CERT verify (15):169{ [111 bytes data]170* TLSv1.3 (IN), TLS handshake, Finished (20):171{ [52 bytes data]172* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):173} [1 bytes data]174* TLSv1.3 (OUT), TLS handshake, Finished (20):175} [52 bytes data]176* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / X25519MLKEM768 / id-ecPublicKey177* ALPN: server accepted h2178* Server certificate:179* subject: CN=test.foo180* start date: Oct 29 00:17:54 2026 GMT181* expire date: Nov 28 00:17:54 2028 GMT182* issuer: CN=minica root ca 05412a183* Certificate level 0: Public key type EC/secp384r1 (384/192 Bits/secBits), signed using ecdsa-with-SHA384184* Certificate level 1: Public key type EC/secp384r1 (384/192 Bits/secBits), signed using ecdsa-with-SHA384185* subjectAltName: "test.foo" matches cert's "test.foo"186* OpenSSL verify result: 13187* SSL certificate OpenSSL verify result: self-signed certificate in certificate chain (19)188* closing connection #0189curl: (60) SSL certificate OpenSSL verify result: self-signed certificate in certificate chain (19)190More details here: https://curl.se/docs/sslcerts.html191192curl failed to verify the legitimacy of the server and therefore could not193establish a secure connection to it. To learn more about this situation and194how to fix it, please visit the webpage mentioned above.195+ curl -v https://test.foo196* Host test.foo:443 was resolved.197* IPv6: (none)198* IPv4: 192.168.1.3199* Trying 192.168.1.3:443...200* ALPN: curl offers h2,http/1.1201} [5 bytes data]202* TLSv1.3 (OUT), TLS handshake, Client hello (1):203} [1552 bytes data]204* SSL Trust Anchors:205* OpenSSL default paths (fallback)206{ [5 bytes data]207* TLSv1.3 (IN), TLS handshake, Server hello (2):208{ [1210 bytes data]209* TLSv1.3 (IN), TLS change cipher, Change cipher spec (1):210{ [1 bytes data]211* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):212{ [19 bytes data]213* TLSv1.3 (IN), TLS handshake, Certificate (11):214{ [1009 bytes data]215* TLSv1.3 (IN), TLS handshake, CERT verify (15):216{ [112 bytes data]217* TLSv1.3 (IN), TLS handshake, Finished (20):218{ [52 bytes data]219* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):220} [1 bytes data]221* TLSv1.3 (OUT), TLS handshake, Finished (20):222} [52 bytes data]223* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / X25519MLKEM768 / id-ecPublicKey224* ALPN: server accepted h2225* Server certificate:226* subject: CN=test.foo227* start date: Oct 29 00:17:54 2026 GMT228* expire date: Nov 28 00:17:54 2028 GMT229* issuer: CN=minica root ca 05412a230* Certificate level 0: Public key type EC/secp384r1 (384/192 Bits/secBits), signed using ecdsa-with-SHA384231* Certificate level 1: Public key type EC/secp384r1 (384/192 Bits/secBits), signed using ecdsa-with-SHA384232* subjectAltName: "test.foo" matches cert's "test.foo"233* OpenSSL verify result: 13234* SSL certificate OpenSSL verify result: self-signed certificate in certificate chain (19)235* closing connection #0236curl: (60) SSL certificate OpenSSL verify result: self-signed certificate in certificate chain (19)237More details here: https://curl.se/docs/sslcerts.html238239curl failed to verify the legitimacy of the server and therefore could not240establish a secure connection to it. To learn more about this situation and241how to fix it, please visit the webpage mentioned above.242+ curl -v https://test.foo243* Host test.foo:443 was resolved.244* IPv6: (none)245* IPv4: 192.168.1.3246* Trying 192.168.1.3:443...247* ALPN: curl offers h2,http/1.1248} [5 bytes data]249* TLSv1.3 (OUT), TLS handshake, Client hello (1):250} [1552 bytes data]251* SSL Trust Anchors:252* OpenSSL default paths (fallback)253{ [5 bytes data]254* TLSv1.3 (IN), TLS handshake, Server hello (2):255{ [1210 bytes data]256* TLSv1.3 (IN), TLS change cipher, Change cipher spec (1):257{ [1 bytes data]258* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):259{ [19 bytes data]260* TLSv1.3 (IN), TLS handshake, Certificate (11):261{ [1009 bytes data]262* TLSv1.3 (IN), TLS handshake, CERT verify (15):263{ [112 bytes data]264* TLSv1.3 (IN), TLS handshake, Finished (20):265{ [52 bytes data]266* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):267} [1 bytes data]268* TLSv1.3 (OUT), TLS handshake, Finished (20):269} [52 bytes data]270* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / X25519MLKEM768 / id-ecPublicKey271* ALPN: server accepted h2272* Server certificate:273* subject: CN=test.foo274* start date: Oct 29 00:17:54 2026 GMT275* expire date: Nov 28 00:17:54 2028 GMT276* issuer: CN=minica root ca 05412a277* Certificate level 0: Public key type EC/secp384r1 (384/192 Bits/secBits), signed using ecdsa-with-SHA384278* Certificate level 1: Public key type EC/secp384r1 (384/192 Bits/secBits), signed using ecdsa-with-SHA384279* subjectAltName: "test.foo" matches cert's "test.foo"280* OpenSSL verify result: 13281* SSL certificate OpenSSL verify result: self-signed certificate in certificate chain (19)282* closing connection #0283curl: (60) SSL certificate OpenSSL verify result: self-signed certificate in certificate chain (19)284More details here: https://curl.se/docs/sslcerts.html285286curl failed to verify the legitimacy of the server and therefore could not287establish a secure connection to it. To learn more about this situation and288how to fix it, please visit the webpage mentioned above.289+ curl -v https://test.foo290* Host test.foo:443 was resolved.291* IPv6: (none)292* IPv4: 192.168.1.3293* Trying 192.168.1.3:443...294* ALPN: curl offers h2,http/1.1295} [5 bytes data]296* TLSv1.3 (OUT), TLS handshake, Client hello (1):297} [1552 bytes data]298* SSL Trust Anchors:299* OpenSSL default paths (fallback)300{ [5 bytes data]301* TLSv1.3 (IN), TLS handshake, Server hello (2):302{ [1210 bytes data]303* TLSv1.3 (IN), TLS change cipher, Change cipher spec (1):304{ [1 bytes data]305* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):306{ [19 bytes data]307* TLSv1.3 (IN), TLS handshake, Certificate (11):308{ [931 bytes data]309* TLSv1.3 (IN), TLS handshake, CERT verify (15):310{ [80 bytes data]311* TLSv1.3 (IN), TLS handshake, Finished (20):312{ [52 bytes data]313* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):314} [1 bytes data]315* TLSv1.3 (OUT), TLS handshake, Finished (20):316} [52 bytes data]317* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / X25519MLKEM768 / id-ecPublicKey318* ALPN: server accepted h2319* Server certificate:320* subject: CN=test.foo321* start date: Oct 29 00:17:08 2026 GMT322* expire date: Jan 27 00:18:08 2027 GMT323* issuer: CN=Clan Intermediate CA324* Certificate level 0: Public key type EC/prime256v1 (256/128 Bits/secBits), signed using ecdsa-with-SHA256325* Certificate level 1: Public key type EC/prime256v1 (256/128 Bits/secBits), signed using ecdsa-with-SHA256326* Certificate level 2: Public key type EC/prime256v1 (256/128 Bits/secBits), signed using ecdsa-with-SHA256327* subjectAltName: "test.foo" matches cert's "test.foo"328* OpenSSL verify result: 0329* SSL certificate verified via OpenSSL.330* Established connection to test.foo (192.168.1.3 port 443) from 192.168.1.2 port 32822 331 % Total % Received % Xferd Average Speed Time Time Time Current332 Dload Upload Total Spent Left Speed333 0 0 0 0 0 0 0 0 0* using HTTP/2334* [HTTP/2] [1] OPENED stream for https://test.foo/335* [HTTP/2] [1] [:method: GET]336* [HTTP/2] [1] [:scheme: https]337* [HTTP/2] [1] [:authority: test.foo]338* [HTTP/2] [1] [:path: /]339* [HTTP/2] [1] [user-agent: curl/8.23.0]340* [HTTP/2] [1] [accept: */*]341} [5 bytes data]342> GET / HTTP/2343> Host: test.foo344> User-Agent: curl/8.23.0345> Accept: */*346> 347* Request completely sent off348{ [5 bytes data]349* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):350{ [265 bytes data]351* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):352{ [265 bytes data]353< HTTP/2 200 354< server: nginx355< date: Thu, 29 Oct 2026 00:18:12 GMT356< content-type: application/octet-stream357< content-length: 20358< content-type: text/plain359< 360{ [5 bytes data]361100 20 100 20 0 0 846 0 0362* Connection #0 to host test.foo:443 left intact363(finished: waiting for success: curl -v https://test.foo, in 4.21 seconds)364+ openssl s_client -connect test.foo:443 -servername test.foo365+ openssl x509 -text -noout366Certificate:367 Data:368 Version: 3 (0x2)369 Serial Number:370 2c:28:d4:a6:c3:50:51:2b:69:68:08:e2:a9:43:2c:d5371 Signature Algorithm: ecdsa-with-SHA256372 Issuer: CN=Clan Intermediate CA373 Validity374 Not Before: Oct 29 00:17:08 2026 GMT375 Not After : Jan 27 00:18:08 2027 GMT376 Subject: CN=test.foo377 Subject Public Key Info:378 Public Key Algorithm: id-ecPublicKey379 Public-Key: (256 bit)380 pub:381 04:ee:3c:56:0e:7b:00:f7:64:79:63:29:64:fc:77:382 63:db:d3:89:ce:0e:5f:e6:48:07:dc:04:36:ec:79:383 78:f3:7a:a5:41:70:c6:81:7c:da:0d:80:e7:e8:62:384 61:4d:40:71:1a:71:58:9b:58:70:20:44:59:8f:8e:385 cf:78:32:88:04386 ASN1 OID: prime256v1387 NIST CURVE: P-256388 X509v3 extensions:389 X509v3 Key Usage: critical390 Digital Signature391 X509v3 Extended Key Usage: 392 TLS Web Server Authentication, TLS Web Client Authentication393 X509v3 Subject Key Identifier: 394 80:CB:23:8B:D1:2B:27:EB:96:E7:E9:F1:18:B0:68:B1:F8:2F:4F:25395 X509v3 Authority Key Identifier: 396 2B:A2:2D:4D:6B:EA:4F:AC:70:25:B6:86:D5:10:DA:13:B8:00:B8:1F397 X509v3 Subject Alternative Name: 398 DNS:test.foo399 1.3.6.1.4.1.37476.9000.64.1: 400 0......acme..401 Signature Algorithm: ecdsa-with-SHA256402 Signature Value:403 30:46:02:21:00:a3:39:b8:a5:25:62:41:c1:7b:e9:0d:e8:2b:404 8a:d5:1b:7d:a8:a7:ec:57:58:5f:74:18:5e:d4:2a:99:62:33:405 e1:02:21:00:9d:f4:58:83:b7:02:c8:64:59:07:37:3b:f6:72:406 d2:8f:2c:4b:d1:f4:06:67:41:e9:43:ea:3e:35:0b:60:6d:bf407Container ca terminated by signal KILL.408Container client terminated by signal KILL.409Container server terminated by signal KILL.