container-test-run-certificates
default.checks.aarch64-linux.certificates
· build #258
· raw
1additionally exposed symbols:2 ca, client, server,3 start_all, machines, driver, Machine, wait_for_signal4Starting ca5Starting client6Starting server7891011<<< NixOS Stage 2 >>>1213booting system configuration /nix/store/gzc447lh9b73filpxa0qz2bl2a0m3lzz-nixos-system-ca-test14running activation script...15setting up /etc...162: host0@if4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 100017 link/ether 42:06:76:42:a9:8d brd ff:ff:ff:ff:ff:ff link-netnsid 018setting up age secrets...19starting systemd...20systemd 260.2 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)21Detected virtualization systemd-nspawn.22Detected architecture arm64.23Detected first boot.24Initializing machine ID from container UUID.25Applying preset policy.26Populated /etc with preset unit settings.27Queued start job for default target Multi-User System.28293031<<< Welcome to NixOS test (aarch64) - console >>>32+ systemd-run /bin/sh -c '/nix/store/fz6id67gqf07rkbpmab99wmxspx2f9j5-coreutils-9.11/bin/sleep 999999999 && echo c9b59c73-b127-40c8-a336-86be179f9299'33Running as unit: run-p470-i78290106.service; invocation ID: a6394a5c205e41b5a2cd36aa5eb6660f34To attach to container ca run on the same machine that runs the test:35 sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*c9b59c73-b127-40c8-a336-86be179f9299') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash 3637To inject external network and continue test, run:38sudo /nix/store/db760w7nmr0a45hlfq8392a474f403aa-python3-3.13.14/bin/python3.13 /nix/store/x6z7fjvvivdicryh72s3czbafhpl69hc-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py c9b59c73-b127-40c8-a336-86be179f92993940<<< NixOS Stage 2 >>>4142booting system configuration /nix/store/sd3pnvbw7b6m6qq2nrr39rfx8mgqjv84-nixos-system-client-test43running activation script...44setting up /etc...452: host0@if5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 100046 link/ether 2a:42:35:28:b1:2f brd ff:ff:ff:ff:ff:ff link-netnsid 047setting up age secrets...48starting systemd...49systemd 260.2 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)50Detected virtualization systemd-nspawn.51Detected architecture arm64.52Detected first boot.53Initializing machine ID from container UUID.54Applying preset policy.55Populated /etc with preset unit settings.56Queued start job for default target Multi-User System.57585960<<< Welcome to NixOS test (aarch64) - console >>>61+ systemd-run /bin/sh -c '/nix/store/fz6id67gqf07rkbpmab99wmxspx2f9j5-coreutils-9.11/bin/sleep 999999999 && echo 45bcf047-b073-4b7b-9457-726251ce2ac3'62Running as unit: run-p304-i78290115.service; invocation ID: 69649b3d8eed4ddfa69d2e145535b78e63To attach to container client run on the same machine that runs the test:64 sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*45bcf047-b073-4b7b-9457-726251ce2ac3') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash 6566To inject external network and continue test, run:67sudo /nix/store/db760w7nmr0a45hlfq8392a474f403aa-python3-3.13.14/bin/python3.13 /nix/store/x6z7fjvvivdicryh72s3czbafhpl69hc-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py 45bcf047-b073-4b7b-9457-726251ce2ac36869<<< NixOS Stage 2 >>>7071booting system configuration /nix/store/mlyyjk6kfwfjb350qhbv5a65jdjgfs8i-nixos-system-server-test72running activation script...73setting up /etc...742: host0@if3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 100075 link/ether be:aa:dd:39:86:e7 brd ff:ff:ff:ff:ff:ff link-netnsid 076setting up age secrets...77starting systemd...78systemd 260.2 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)79Detected virtualization systemd-nspawn.80Detected architecture arm64.81Detected first boot.82Initializing machine ID from container UUID.83Applying preset policy.84Populated /etc with preset unit settings.85Queued start job for default target Multi-User System.86878889<<< Welcome to NixOS test (aarch64) - console >>>90+ systemd-run /bin/sh -c '/nix/store/fz6id67gqf07rkbpmab99wmxspx2f9j5-coreutils-9.11/bin/sleep 999999999 && echo 5894d1a5-5ead-4afe-8bca-c15769dee1d0'91Running as unit: run-p396-i78290122.service; invocation ID: f5143f5ee0394610a6f1d9f01cdeae0792To attach to container server run on the same machine that runs the test:93 sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*5894d1a5-5ead-4afe-8bca-c15769dee1d0') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash 9495To inject external network and continue test, run:96sudo /nix/store/db760w7nmr0a45hlfq8392a474f403aa-python3-3.13.14/bin/python3.13 /nix/store/x6z7fjvvivdicryh72s3czbafhpl69hc-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py 5894d1a5-5ead-4afe-8bca-c15769dee1d097+ systemctl restart acme-order-renew-ca.foo.service98+ systemctl restart acme-test.foo.service99client: waiting for success: curl -v https://test.foo100+ curl -v https://test.foo101* Host test.foo:443 was resolved.102* IPv6: (none)103* IPv4: 192.168.1.3104* Trying 192.168.1.3:443...105* ALPN: curl offers h2,http/1.1106} [5 bytes data]107* TLSv1.3 (OUT), TLS handshake, Client hello (1):108} [1552 bytes data]109* SSL Trust Anchors:110* OpenSSL default paths (fallback)111{ [5 bytes data]112* TLSv1.3 (IN), TLS handshake, Server hello (2):113{ [1210 bytes data]114* TLSv1.3 (IN), TLS change cipher, Change cipher spec (1):115{ [1 bytes data]116* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):117{ [19 bytes data]118* TLSv1.3 (IN), TLS handshake, Certificate (11):119{ [1009 bytes data]120* TLSv1.3 (IN), TLS handshake, CERT verify (15):121{ [112 bytes data]122* TLSv1.3 (IN), TLS handshake, Finished (20):123{ [52 bytes data]124* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):125} [1 bytes data]126* TLSv1.3 (OUT), TLS handshake, Finished (20):127} [52 bytes data]128* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / X25519MLKEM768 / id-ecPublicKey129* ALPN: server accepted h2130* Server certificate:131* subject: CN=test.foo132* start date: Aug 6 15:08:50 2026 GMT133* expire date: Sep 5 15:08:50 2028 GMT134* issuer: CN=minica root ca 4529d2135* Certificate level 0: Public key type EC/secp384r1 (384/192 Bits/secBits), signed using ecdsa-with-SHA384136* Certificate level 1: Public key type EC/secp384r1 (384/192 Bits/secBits), signed using ecdsa-with-SHA384137* subjectAltName: "test.foo" matches cert's "test.foo"138* OpenSSL verify result: 13139* SSL certificate OpenSSL verify result: self-signed certificate in certificate chain (19)140* closing connection #0141curl: (60) SSL certificate OpenSSL verify result: self-signed certificate in certificate chain (19)142More details here: https://curl.se/docs/sslcerts.html143144curl failed to verify the legitimacy of the server and therefore could not145establish a secure connection to it. To learn more about this situation and146how to fix it, please visit the webpage mentioned above.147+ curl -v https://test.foo148* Host test.foo:443 was resolved.149* IPv6: (none)150* IPv4: 192.168.1.3151* Trying 192.168.1.3:443...152* ALPN: curl offers h2,http/1.1153} [5 bytes data]154* TLSv1.3 (OUT), TLS handshake, Client hello (1):155} [1552 bytes data]156* SSL Trust Anchors:157* OpenSSL default paths (fallback)158{ [5 bytes data]159* TLSv1.3 (IN), TLS handshake, Server hello (2):160{ [1210 bytes data]161* TLSv1.3 (IN), TLS change cipher, Change cipher spec (1):162{ [1 bytes data]163* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):164{ [19 bytes data]165* TLSv1.3 (IN), TLS handshake, Certificate (11):166{ [1009 bytes data]167* TLSv1.3 (IN), TLS handshake, CERT verify (15):168{ [111 bytes data]169* TLSv1.3 (IN), TLS handshake, Finished (20):170{ [52 bytes data]171* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):172} [1 bytes data]173* TLSv1.3 (OUT), TLS handshake, Finished (20):174} [52 bytes data]175* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / X25519MLKEM768 / id-ecPublicKey176* ALPN: server accepted h2177* Server certificate:178* subject: CN=test.foo179* start date: Aug 6 15:08:50 2026 GMT180* expire date: Sep 5 15:08:50 2028 GMT181* issuer: CN=minica root ca 4529d2182* Certificate level 0: Public key type EC/secp384r1 (384/192 Bits/secBits), signed using ecdsa-with-SHA384183* Certificate level 1: Public key type EC/secp384r1 (384/192 Bits/secBits), signed using ecdsa-with-SHA384184* subjectAltName: "test.foo" matches cert's "test.foo"185* OpenSSL verify result: 13186* SSL certificate OpenSSL verify result: self-signed certificate in certificate chain (19)187* closing connection #0188curl: (60) SSL certificate OpenSSL verify result: self-signed certificate in certificate chain (19)189More details here: https://curl.se/docs/sslcerts.html190191curl failed to verify the legitimacy of the server and therefore could not192establish a secure connection to it. To learn more about this situation and193how to fix it, please visit the webpage mentioned above.194+ curl -v https://test.foo195* Host test.foo:443 was resolved.196* IPv6: (none)197* IPv4: 192.168.1.3198* Trying 192.168.1.3:443...199* ALPN: curl offers h2,http/1.1200} [5 bytes data]201* TLSv1.3 (OUT), TLS handshake, Client hello (1):202} [1552 bytes data]203* SSL Trust Anchors:204* OpenSSL default paths (fallback)205{ [5 bytes data]206* TLSv1.3 (IN), TLS handshake, Server hello (2):207{ [1210 bytes data]208* TLSv1.3 (IN), TLS change cipher, Change cipher spec (1):209{ [1 bytes data]210* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):211{ [19 bytes data]212* TLSv1.3 (IN), TLS handshake, Certificate (11):213{ [1009 bytes data]214* TLSv1.3 (IN), TLS handshake, CERT verify (15):215{ [110 bytes data]216* TLSv1.3 (IN), TLS handshake, Finished (20):217{ [52 bytes data]218* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):219} [1 bytes data]220* TLSv1.3 (OUT), TLS handshake, Finished (20):221} [52 bytes data]222* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / X25519MLKEM768 / id-ecPublicKey223* ALPN: server accepted h2224* Server certificate:225* subject: CN=test.foo226* start date: Aug 6 15:08:50 2026 GMT227* expire date: Sep 5 15:08:50 2028 GMT228* issuer: CN=minica root ca 4529d2229* Certificate level 0: Public key type EC/secp384r1 (384/192 Bits/secBits), signed using ecdsa-with-SHA384230* Certificate level 1: Public key type EC/secp384r1 (384/192 Bits/secBits), signed using ecdsa-with-SHA384231* subjectAltName: "test.foo" matches cert's "test.foo"232* OpenSSL verify result: 13233* SSL certificate OpenSSL verify result: self-signed certificate in certificate chain (19)234* closing connection #0235curl: (60) SSL certificate OpenSSL verify result: self-signed certificate in certificate chain (19)236More details here: https://curl.se/docs/sslcerts.html237238curl failed to verify the legitimacy of the server and therefore could not239establish a secure connection to it. To learn more about this situation and240how to fix it, please visit the webpage mentioned above.241+ curl -v https://test.foo242* Host test.foo:443 was resolved.243* IPv6: (none)244* IPv4: 192.168.1.3245* Trying 192.168.1.3:443...246* ALPN: curl offers h2,http/1.1247} [5 bytes data]248* TLSv1.3 (OUT), TLS handshake, Client hello (1):249} [1552 bytes data]250* SSL Trust Anchors:251* OpenSSL default paths (fallback)252{ [5 bytes data]253* TLSv1.3 (IN), TLS handshake, Server hello (2):254{ [1210 bytes data]255* TLSv1.3 (IN), TLS change cipher, Change cipher spec (1):256{ [1 bytes data]257* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):258{ [19 bytes data]259* TLSv1.3 (IN), TLS handshake, Certificate (11):260{ [1009 bytes data]261* TLSv1.3 (IN), TLS handshake, CERT verify (15):262{ [110 bytes data]263* TLSv1.3 (IN), TLS handshake, Finished (20):264{ [52 bytes data]265* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):266} [1 bytes data]267* TLSv1.3 (OUT), TLS handshake, Finished (20):268} [52 bytes data]269* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / X25519MLKEM768 / id-ecPublicKey270* ALPN: server accepted h2271* Server certificate:272* subject: CN=test.foo273* start date: Aug 6 15:08:50 2026 GMT274* expire date: Sep 5 15:08:50 2028 GMT275* issuer: CN=minica root ca 4529d2276* Certificate level 0: Public key type EC/secp384r1 (384/192 Bits/secBits), signed using ecdsa-with-SHA384277* Certificate level 1: Public key type EC/secp384r1 (384/192 Bits/secBits), signed using ecdsa-with-SHA384278* subjectAltName: "test.foo" matches cert's "test.foo"279* OpenSSL verify result: 13280* SSL certificate OpenSSL verify result: self-signed certificate in certificate chain (19)281* closing connection #0282curl: (60) SSL certificate OpenSSL verify result: self-signed certificate in certificate chain (19)283More details here: https://curl.se/docs/sslcerts.html284285curl failed to verify the legitimacy of the server and therefore could not286establish a secure connection to it. To learn more about this situation and287how to fix it, please visit the webpage mentioned above.288+ curl -v https://test.foo289* Host test.foo:443 was resolved.290* IPv6: (none)291* IPv4: 192.168.1.3292* Trying 192.168.1.3:443...293* ALPN: curl offers h2,http/1.1294} [5 bytes data]295* TLSv1.3 (OUT), TLS handshake, Client hello (1):296} [1552 bytes data]297* SSL Trust Anchors:298* OpenSSL default paths (fallback)299{ [5 bytes data]300* TLSv1.3 (IN), TLS handshake, Server hello (2):301{ [1210 bytes data]302* TLSv1.3 (IN), TLS change cipher, Change cipher spec (1):303{ [1 bytes data]304* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):305{ [19 bytes data]306* TLSv1.3 (IN), TLS handshake, Certificate (11):307{ [929 bytes data]308* TLSv1.3 (IN), TLS handshake, CERT verify (15):309{ [79 bytes data]310* TLSv1.3 (IN), TLS handshake, Finished (20):311{ [52 bytes data]312* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):313} [1 bytes data]314* TLSv1.3 (OUT), TLS handshake, Finished (20):315} [52 bytes data]316* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / X25519MLKEM768 / id-ecPublicKey317* ALPN: server accepted h2318* Server certificate:319* subject: CN=test.foo320* start date: Aug 6 15:08:05 2026 GMT321* expire date: Nov 4 15:09:05 2026 GMT322* issuer: CN=Clan Intermediate CA323* Certificate level 0: Public key type EC/prime256v1 (256/128 Bits/secBits), signed using ecdsa-with-SHA256324* Certificate level 1: Public key type EC/prime256v1 (256/128 Bits/secBits), signed using ecdsa-with-SHA256325* Certificate level 2: Public key type EC/prime256v1 (256/128 Bits/secBits), signed using ecdsa-with-SHA256326* subjectAltName: "test.foo" matches cert's "test.foo"327* OpenSSL verify result: 0328* SSL certificate verified via OpenSSL.329* Established connection to test.foo (192.168.1.3 port 443) from 192.168.1.2 port 54310 330 % Total % Received % Xferd Average Speed Time Time Time Current331 Dload Upload Total Spent Left Speed332 0 0 0 0 0 0 0 0 0* using HTTP/2333* [HTTP/2] [1] OPENED stream for https://test.foo/334* [HTTP/2] [1] [:method: GET]335* [HTTP/2] [1] [:scheme: https]336* [HTTP/2] [1] [:authority: test.foo]337* [HTTP/2] [1] [:path: /]338* [HTTP/2] [1] [user-agent: curl/8.21.0]339* [HTTP/2] [1] [accept: */*]340} [5 bytes data]341342343344345346* Request completely sent off347{ [5 bytes data]348* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):349{ [265 bytes data]350* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):351{ [265 bytes data]352353354355356357358359{ [5 bytes data]360100 20 100 20 0 0 672 0 0361* Connection #0 to host test.foo:443 left intact362(finished: waiting for success: curl -v https://test.foo, in 4.22 seconds)363+ openssl s_client -connect test.foo:443 -servername test.foo364+ openssl x509 -text -noout365Certificate:366 Data:367 Version: 3 (0x2)368 Serial Number:369 01:8a:81:4e:a8:e6:8b:08:ae:7f:85:ed:5a:25:6d:10370 Signature Algorithm: ecdsa-with-SHA256371 Issuer: CN=Clan Intermediate CA372 Validity373 Not Before: Aug 6 15:08:05 2026 GMT374 Not After : Nov 4 15:09:05 2026 GMT375 Subject: CN=test.foo376 Subject Public Key Info:377 Public Key Algorithm: id-ecPublicKey378 Public-Key: (256 bit)379 pub:380 04:ec:b1:04:56:dd:ce:fa:d7:71:6c:7a:26:7b:e3:381 84:58:17:57:cc:70:4d:fb:12:4f:18:ca:a6:a3:70:382 98:c3:ef:9c:18:ec:a4:a7:a6:c7:d9:f9:f3:25:c4:383 66:20:d9:53:15:b8:69:4d:7f:5e:09:a7:26:db:9a:384 8a:15:25:b6:54385 ASN1 OID: prime256v1386 NIST CURVE: P-256387 X509v3 extensions:388 X509v3 Key Usage: critical389 Digital Signature390 X509v3 Extended Key Usage: 391 TLS Web Server Authentication, TLS Web Client Authentication392 X509v3 Subject Key Identifier: 393 93:B6:D5:DD:49:76:D6:17:81:AD:22:31:34:23:BE:C0:D9:0F:D7:D4394 X509v3 Authority Key Identifier: 395 51:29:1D:72:4F:C8:65:50:1B:28:A6:F2:02:2D:AD:8C:E7:97:3D:9E396 X509v3 Subject Alternative Name: 397 DNS:test.foo398 1.3.6.1.4.1.37476.9000.64.1: 399 0......acme..400 Signature Algorithm: ecdsa-with-SHA256401 Signature Value:402 30:45:02:20:07:b0:84:21:3f:a3:73:ac:dd:16:4e:fd:ff:9b:403 80:69:15:af:52:88:24:e3:4b:30:0d:b5:59:43:49:ea:8c:1f:404 02:21:00:b9:70:7a:bf:71:6e:20:c4:cc:5c:88:09:49:db:86:405 10:6d:2e:4b:7c:62:9d:48:c2:0c:30:82:17:1a:68:16:d8406407408