==== run-regress-acme ==== mkdir -p etc sed 's,${.OBJDIR},/home/src/regress/usr.sbin/acme-client/obj,' /home/src/regress/usr.sbin/acme-client/acme-client.conf > etc/acme-client.conf mkdir -p etc sed 's,${.OBJDIR},/home/src/regress/usr.sbin/acme-client/obj,' /home/src/regress/usr.sbin/acme-client/httpd.conf >etc/httpd.conf mkdir -p www/htdocs www/acme www/logs etc/acme etc/ssl/acme/private doas -n /usr/sbin/httpd -f /home/src/regress/usr.sbin/acme-client/obj/etc/httpd.conf sleep .1 # give httpd some time to spin up pgrep -xf "/usr/sbin/httpd -f /home/src/regress/usr.sbin/acme-client/obj/etc/httpd.conf" 23210 sed 's,${.CURDIR},/home/src/regress/usr.sbin/acme-client,' /home/src/regress/usr.sbin/acme-client/pebble-config.json > pebble-config.json /usr/local/bin/pebble -config /home/src/regress/usr.sbin/acme-client/obj/pebble-config.json > /home/src/regress/usr.sbin/acme-client/obj/pebble.out & while ! $(fgrep -q 'Root CA certificate available' /home/src/regress/usr.sbin/acme-client/obj/pebble.out); do sleep .1; done doas -n /usr/sbin/acme-client -f /home/src/regress/usr.sbin/acme-client/obj/etc/acme-client.conf -v localhost acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/acme/privkey.pem: generated RSA account key acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/private/privkey.pem: generated RSA domain key acme-client: https://127.0.0.1:14000/dir: directories acme-client: 127.0.0.1: DNS: 127.0.0.1 acme-client: account key: https://127.0.0.1:14000/my-account/4e9f39dfd15fb3d6 acme-client: dochngreq: https://127.0.0.1:14000/authZ/j4psk1o_gPawn1sKMt-eT7y-kVO8TS5Au3qXW7P1jWo acme-client: challenge, token: MXK7pSOwMdRIF9fmyN_FhaPzPbVisONfuWwnrDW4wCk, uri: https://127.0.0.1:14000/chalZ/4zKmwvC_buGSNfw-iqagcnP1OYjCWT30_y1KghRJU_w, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/MXK7pSOwMdRIF9fmyN_FhaPzPbVisONfuWwnrDW4wCk: created acme-client: https://127.0.0.1:14000/chalZ/4zKmwvC_buGSNfw-iqagcnP1OYjCWT30_y1KghRJU_w: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/j4psk1o_gPawn1sKMt-eT7y-kVO8TS5Au3qXW7P1jWo acme-client: challenge, token: MXK7pSOwMdRIF9fmyN_FhaPzPbVisONfuWwnrDW4wCk, uri: https://127.0.0.1:14000/chalZ/4zKmwvC_buGSNfw-iqagcnP1OYjCWT30_y1KghRJU_w, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/_GFj2fpniJJjR_51CNpIwnGgNGP8vK8wQyatbanQzoM: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/227fb3f18c90d307: certificate account key: https://127.0.0.1:14000/my-account/4e9f39dfd15fb3d6 acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert.pem: created doas -n /usr/sbin/acme-client -f /home/src/regress/usr.sbin/acme-client/obj/etc/acme-client.conf -r -v localhost acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert.pem: revocation acme-client: https://127.0.0.1:14000/dir: directories acme-client: 127.0.0.1: DNS: 127.0.0.1 acme-client: account key: https://127.0.0.1:14000/my-account/4e9f39dfd15fb3d6 acme-client: https://127.0.0.1:14000/revoke-cert: revocation acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert.pem: unlinked ==== run-regress-acme-profile ==== mkdir -p etc sed 's,${.OBJDIR},/home/src/regress/usr.sbin/acme-client/obj,' /home/src/regress/usr.sbin/acme-client/acme-client-profile.conf > etc/acme-client-profile.conf doas -n /usr/sbin/acme-client -f /home/src/regress/usr.sbin/acme-client/obj/etc/acme-client-profile.conf -v localhost acme-client: https://127.0.0.1:14000/dir: directories acme-client: 127.0.0.1: DNS: 127.0.0.1 acme-client: account key: https://127.0.0.1:14000/my-account/4e9f39dfd15fb3d6 acme-client: https://127.0.0.1:14000/finalize-order/6vw4MSSoV-deFJr8JqxCUOFGKNqVMZ0hfS6dyl-sBFo: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/52317bc6f3586e6a: certificate acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert.pem: created doas -n /usr/sbin/acme-client -f /home/src/regress/usr.sbin/acme-client/obj/etc/acme-client-profile.conf -r -v localhost acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert.pem: revocation acme-client: https://127.0.0.1:14000/dir: directories acme-client: 127.0.0.1: DNS: 127.0.0.1 acme-client: account key: https://127.0.0.1:14000/my-account/4e9f39dfd15fb3d6 acme-client: https://127.0.0.1:14000/revoke-cert: revocation acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert.pem: unlinked ==== run-regress-acme-ipaddress ==== mkdir -p etc sed 's,${.OBJDIR},/home/src/regress/usr.sbin/acme-client/obj,' /home/src/regress/usr.sbin/acme-client/acme-client-ipaddress.conf > etc/acme-client-ipaddress.conf doas -n /usr/sbin/acme-client -f /home/src/regress/usr.sbin/acme-client/obj/etc/acme-client-ipaddress.conf -v localhost acme-client: https://127.0.0.1:14000/dir: directories acme-client: 127.0.0.1: DNS: 127.0.0.1 acme-client: account key: https://127.0.0.1:14000/my-account/4e9f39dfd15fb3d6 acme-client: dochngreq: https://127.0.0.1:14000/authZ/E3KZvGR2xwbkjvWNzfx70yNsgm_G7iXVGXietcLas-k acme-client: challenge, token: AOtjAimzF8v0yu7ECR5bUt98xRBn0B-DWC6G3D0K6CU, uri: https://127.0.0.1:14000/chalZ/MF3E_POh_3CTE3Nxh7kS6Y_nO5WFdSgq0LTCs7rylfI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/AOtjAimzF8v0yu7ECR5bUt98xRBn0B-DWC6G3D0K6CU: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/j4psk1o_gPawn1sKMt-eT7y-kVO8TS5Au3qXW7P1jWo acme-client: challenge, token: MXK7pSOwMdRIF9fmyN_FhaPzPbVisONfuWwnrDW4wCk, uri: https://127.0.0.1:14000/chalZ/4zKmwvC_buGSNfw-iqagcnP1OYjCWT30_y1KghRJU_w, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/D8Hq4iGsM9x_h3sRP_wS3xOUQd8ypVQznRTrIZlfnWg acme-client: challenge, token: MTXJEgCK4YBnfnbfpr1sx45uAZn1kD0QuskgUcnizHE, uri: https://127.0.0.1:14000/chalZ/zHUZnb3Xn53DZbRbmqOJZKNmevKdX9bhOyTTQ7LQwjI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/MTXJEgCK4YBnfnbfpr1sx45uAZn1kD0QuskgUcnizHE: created acme-client: https://127.0.0.1:14000/chalZ/MF3E_POh_3CTE3Nxh7kS6Y_nO5WFdSgq0LTCs7rylfI: challenge acme-client: https://127.0.0.1:14000/chalZ/zHUZnb3Xn53DZbRbmqOJZKNmevKdX9bhOyTTQ7LQwjI: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/E3KZvGR2xwbkjvWNzfx70yNsgm_G7iXVGXietcLas-k acme-client: challenge, token: AOtjAimzF8v0yu7ECR5bUt98xRBn0B-DWC6G3D0K6CU, uri: https://127.0.0.1:14000/chalZ/MF3E_POh_3CTE3Nxh7kS6Y_nO5WFdSgq0LTCs7rylfI, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/j4psk1o_gPawn1sKMt-eT7y-kVO8TS5Au3qXW7P1jWo acme-client: challenge, token: MXK7pSOwMdRIF9fmyN_FhaPzPbVisONfuWwnrDW4wCk, uri: https://127.0.0.1:14000/chalZ/4zKmwvC_buGSNfw-iqagcnP1OYjCWT30_y1KghRJU_w, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/D8Hq4iGsM9x_h3sRP_wS3xOUQd8ypVQznRTrIZlfnWg acme-client: challenge, token: MTXJEgCK4YBnfnbfpr1sx45uAZn1kD0QuskgUcnizHE, uri: https://127.0.0.1:14000/chalZ/zHUZnb3Xn53DZbRbmqOJZKNmevKdX9bhOyTTQ7LQwjI, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/Y0rHOGNX6suEtRMUFeoVrEbQxz8IJcInE9z0foMay7A: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/543b5f3203429ca4: certificate acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert.pem: created doas -n /usr/sbin/acme-client -f /home/src/regress/usr.sbin/acme-client/obj/etc/acme-client-ipaddress.conf -r -v localhost acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert.pem: revocation acme-client: https://127.0.0.1:14000/dir: directories acme-client: 127.0.0.1: DNS: 127.0.0.1 acme-client: account key: https://127.0.0.1:14000/my-account/4e9f39dfd15fb3d6 acme-client: https://127.0.0.1:14000/revoke-cert: revocation acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert.pem: unlinked ==== run-regress-acme-ipaddress2 ==== doas -n /usr/sbin/acme-client -f /home/src/regress/usr.sbin/acme-client/obj/etc/acme-client-ipaddress.conf -v ::1 acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/private/privkey2.pem: generated RSA domain key acme-client: https://127.0.0.1:14000/dir: directories acme-client: 127.0.0.1: DNS: 127.0.0.1 acme-client: account key: https://127.0.0.1:14000/my-account/4e9f39dfd15fb3d6 acme-client: https://127.0.0.1:14000/finalize-order/BZtBlA6-3KmdJq0JuhC3bXzENbPMA9Nn4MATXXGenp8: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/05f310bd1eca18d4: certificate acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert2.pem: created doas -n /usr/sbin/acme-client -f /home/src/regress/usr.sbin/acme-client/obj/etc/acme-client-ipaddress.conf -r -v ::1 acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert2.pem: revocation acme-client: https://127.0.0.1:14000/dir: directories acme-client: 127.0.0.1: DNS: 127.0.0.1 acme-client: account key: https://127.0.0.1:14000/my-account/4e9f39dfd15fb3d6 acme-client: https://127.0.0.1:14000/revoke-cert: revocation acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert2.pem: unlinked ==== run-regress-acme-eab ==== mkdir -p etc sed 's,${.OBJDIR},/home/src/regress/usr.sbin/acme-client/obj,' /home/src/regress/usr.sbin/acme-client/acme-client-eab.conf > etc/acme-client-eab.conf sed 's,${.CURDIR},/home/src/regress/usr.sbin/acme-client,' /home/src/regress/usr.sbin/acme-client/pebble-config-eab.json > pebble-config-eab.json /usr/local/bin/pebble -config /home/src/regress/usr.sbin/acme-client/obj/pebble-config-eab.json > /home/src/regress/usr.sbin/acme-client/obj/pebble.out & while ! $(fgrep -q 'Root CA certificate available' /home/src/regress/usr.sbin/acme-client/obj/pebble.out); do sleep .1; done doas -n /usr/sbin/acme-client -f /home/src/regress/usr.sbin/acme-client/obj/etc/acme-client-eab.conf -e kid-1:zWNDZM6eQGHWpSRTPal5eIUYFTu7EajVIoguysqZ9wG44nMEtx3MUAsUDkMTQ12W -v localhost acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/acme/privkey-eab.pem: generated RSA account key acme-client: https://127.0.0.1:14001/dir: directories acme-client: 127.0.0.1: DNS: 127.0.0.1 acme-client: account key: https://127.0.0.1:14001/my-account/7db1b0fd6ad0b8ce acme-client: dochngreq: https://127.0.0.1:14001/authZ/Hqep4qypefKzEl_uG8V7eJZKDwsfWgZvu6OQJ_4p98I acme-client: challenge, token: jks41kXjPbFsXpDWzusFas3qPAfLBOafQYOJgXYX8yE, uri: https://127.0.0.1:14001/chalZ/QtXSZPlUwo7ZyQILtyR-Ekfb0KNoSVHznpKK22zbo6s, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/jks41kXjPbFsXpDWzusFas3qPAfLBOafQYOJgXYX8yE: created acme-client: https://127.0.0.1:14001/chalZ/QtXSZPlUwo7ZyQILtyR-Ekfb0KNoSVHznpKK22zbo6s: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/Hqep4qypefKzEl_uG8V7eJZKDwsfWgZvu6OQJ_4p98I acme-client: challenge, token: jks41kXjPbFsXpDWzusFas3qPAfLBOafQYOJgXYX8yE, uri: https://127.0.0.1:14001/chalZ/QtXSZPlUwo7ZyQILtyR-Ekfb0KNoSVHznpKK22zbo6s, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/IMKvdhXzmlEk9cot90NTx2QkHg-3Sq45TPcvasRuAXE: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/7269e18b6cf8603d: certificate account key: https://127.0.0.1:14001/my-account/7db1b0fd6ad0b8ce acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert.pem: created ==== run-regress-cleanup ==== make -C /home/src/regress/usr.sbin/acme-client httpd-stop doas -n pkill -xf "/usr/sbin/httpd -f /home/src/regress/usr.sbin/acme-client/obj/etc/httpd.conf" make -C /home/src/regress/usr.sbin/acme-client pebble-stop pkill -xf "/usr/local/bin/pebble -config /home/src/regress/usr.sbin/acme-client/obj/pebble-config.json" make -C /home/src/regress/usr.sbin/acme-client pebble-eab-stop pkill -xf "/usr/local/bin/pebble -config /home/src/regress/usr.sbin/acme-client/obj/pebble-config-eab.json"