container-test-run-certificates
checks.aarch64-linux.certificates
· build #483
· 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/3kdb71fvza9pd96nbvk8smf1hlmfhdmd-nixos-system-ca-test14running activation script...15setting up /etc...162: host0@if3: <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/hlc4nqfx0l06f6p7z7lmd77qcwszi7wc-coreutils-9.11/bin/sleep 999999999 && echo 3f89115b-fc45-40d4-b239-eaf015c2f4f6'33Running as unit: run-p468-i104984322.service; invocation ID: 77b6833e5d3f4203bfe43efc39d4dd0334To attach to container ca run on the same machine that runs the test:35 sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*3f89115b-fc45-40d4-b239-eaf015c2f4f6') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash 3637To inject external network and continue test, run:38sudo /nix/store/d6kq2phq0zy5invmkfgg8h35zxaf13s9-python3-3.13.15/bin/python3.13 /nix/store/2y51rn5wgsfsam71nsisca336nva2cm8-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py 3f89115b-fc45-40d4-b239-eaf015c2f4f63940<<< NixOS Stage 2 >>>4142booting system configuration /nix/store/x0hz8l2d2wklz9w1kdy0pzjq3qca8n5m-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/hlc4nqfx0l06f6p7z7lmd77qcwszi7wc-coreutils-9.11/bin/sleep 999999999 && echo 732d0ce3-78ec-4019-a505-2c693e7da8ff'62Running as unit: run-p304-i104984342.service; invocation ID: 777e16f265df49d8b72765597eaf7d2463To attach to container client run on the same machine that runs the test:64 sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*732d0ce3-78ec-4019-a505-2c693e7da8ff') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash 6566To inject external network and continue test, run:67sudo /nix/store/d6kq2phq0zy5invmkfgg8h35zxaf13s9-python3-3.13.15/bin/python3.13 /nix/store/2y51rn5wgsfsam71nsisca336nva2cm8-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py 732d0ce3-78ec-4019-a505-2c693e7da8ff6869<<< NixOS Stage 2 >>>7071booting system configuration /nix/store/i1gnyba11sz6swgvc142gycp68xgh8qb-nixos-system-server-test72running activation script...73setting up /etc...742: host0@if4: <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/hlc4nqfx0l06f6p7z7lmd77qcwszi7wc-coreutils-9.11/bin/sleep 999999999 && echo 05233824-e7ac-4c14-8e36-c79754d8c977'91Running as unit: run-p398-i104984372.service; invocation ID: aa0404d4cf5f42f087defca1d9286dc492To attach to container server run on the same machine that runs the test:93 sudo nsenter --user --target $(\pgrep -f '^/bin/sh.*05233824-e7ac-4c14-8e36-c79754d8c977') --mount --uts --ipc --net --pid --cgroup /bin/sh -c bash 9495To inject external network and continue test, run:96sudo /nix/store/d6kq2phq0zy5invmkfgg8h35zxaf13s9-python3-3.13.15/bin/python3.13 /nix/store/2y51rn5wgsfsam71nsisca336nva2cm8-test-driver-0.0.1/lib/python3.13/site-packages/test_driver/inject_network.py 05233824-e7ac-4c14-8e36-c79754d8c97797+ 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{ [1007 bytes data]120* TLSv1.3 (IN), TLS handshake, CERT verify (15):121{ [111 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 25 00:32:46 2026 GMT133* expire date: Sep 24 00:32:46 2028 GMT134* issuer: CN=minica root ca 64d6c3135* 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{ [1007 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 25 00:32:46 2026 GMT180* expire date: Sep 24 00:32:46 2028 GMT181* issuer: CN=minica root ca 64d6c3182* 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{ [1007 bytes data]214* TLSv1.3 (IN), TLS handshake, CERT verify (15):215{ [111 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 25 00:32:46 2026 GMT227* expire date: Sep 24 00:32:46 2028 GMT228* issuer: CN=minica root ca 64d6c3229* 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{ [929 bytes data]261* TLSv1.3 (IN), TLS handshake, CERT verify (15):262{ [78 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 25 00:32:01 2026 GMT274* expire date: Nov 23 00:33:01 2026 GMT275* issuer: CN=Clan Intermediate CA276* Certificate level 0: Public key type EC/prime256v1 (256/128 Bits/secBits), signed using ecdsa-with-SHA256277* Certificate level 1: Public key type EC/prime256v1 (256/128 Bits/secBits), signed using ecdsa-with-SHA256278* Certificate level 2: Public key type EC/prime256v1 (256/128 Bits/secBits), signed using ecdsa-with-SHA256279* subjectAltName: "test.foo" matches cert's "test.foo"280* OpenSSL verify result: 0281* SSL certificate verified via OpenSSL.282* Established connection to test.foo (192.168.1.3 port 443) from 192.168.1.2 port 40044 283 % Total % Received % Xferd Average Speed Time Time Time Current284 Dload Upload Total Spent Left Speed285 0 0 0 0 0 0 0 0 0* using HTTP/2286* [HTTP/2] [1] OPENED stream for https://test.foo/287* [HTTP/2] [1] [:method: GET]288* [HTTP/2] [1] [:scheme: https]289* [HTTP/2] [1] [:authority: test.foo]290* [HTTP/2] [1] [:path: /]291* [HTTP/2] [1] [user-agent: curl/8.21.0]292* [HTTP/2] [1] [accept: */*]293} [5 bytes data]294295296297298299* Request completely sent off300{ [5 bytes data]301* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):302{ [265 bytes data]303* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):304{ [265 bytes data]305306307308309310311312{ [5 bytes data]313100 20 100 20 0 0 735 0 0314* Connection #0 to host test.foo:443 left intact315(finished: waiting for success: curl -v https://test.foo, in 3.18 seconds)316+ openssl s_client -connect test.foo:443 -servername test.foo317+ openssl x509 -text -noout318Certificate:319 Data:320 Version: 3 (0x2)321 Serial Number:322 74:f1:a7:4b:1f:7e:57:1c:22:cc:c4:9b:5e:3d:18:07323 Signature Algorithm: ecdsa-with-SHA256324 Issuer: CN=Clan Intermediate CA325 Validity326 Not Before: Aug 25 00:32:01 2026 GMT327 Not After : Nov 23 00:33:01 2026 GMT328 Subject: CN=test.foo329 Subject Public Key Info:330 Public Key Algorithm: id-ecPublicKey331 Public-Key: (256 bit)332 pub:333 04:e6:24:0b:88:75:cf:7e:36:e9:9f:4a:16:7b:d9:334 27:1e:14:f3:79:4c:7f:54:38:eb:ac:81:1c:b0:fb:335 3c:7e:eb:00:83:ca:2a:06:8b:97:a0:6c:01:93:1b:336 7f:36:2d:30:3b:fe:a3:89:7f:22:41:0f:3b:a5:0f:337 3d:25:e4:ca:3c338 ASN1 OID: prime256v1339 NIST CURVE: P-256340 X509v3 extensions:341 X509v3 Key Usage: critical342 Digital Signature343 X509v3 Extended Key Usage: 344 TLS Web Server Authentication, TLS Web Client Authentication345 X509v3 Subject Key Identifier: 346 EB:5F:53:53:CE:14:58:0C:A5:E5:C1:7C:82:B7:16:61:26:FE:37:E7347 X509v3 Authority Key Identifier: 348 A8:D4:E7:C0:F3:FC:95:7F:05:C3:B6:9F:D5:A6:73:64:4F:37:99:CC349 X509v3 Subject Alternative Name: 350 DNS:test.foo351 1.3.6.1.4.1.37476.9000.64.1: 352 0......acme..353 Signature Algorithm: ecdsa-with-SHA256354 Signature Value:355 30:46:02:21:00:a7:60:29:c1:60:97:d7:93:99:f3:ba:74:44:356 f3:69:58:e2:b6:05:ab:6a:cc:bf:56:6c:d4:da:de:47:77:73:357 c1:02:21:00:b5:1a:68:c0:36:7d:6d:93:77:c8:cd:cc:07:be:358 77:59:56:ac:33:ef:25:4f:ab:13:af:30:06:b3:db:d2:2f:06359360361