==== 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" 27073 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/ssl/acme/private/privkey.pem: generated RSA domain key acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/acme/privkey.pem: generated RSA account 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/61f4c7b8e2fb5942 acme-client: dochngreq: https://127.0.0.1:14000/authZ/gtpqQw83_RytqFCQWvOZ837dzOvZuarO-kodKifcHrI acme-client: challenge, token: j_kQdnLoG6RlKvoxYHwA2xQr4ppBGqlbV7Dsvk7Cr4c, uri: https://127.0.0.1:14000/chalZ/MqfOuF59g4wsXWIr3c0Y1sAKZeGizcqbzwB1ITgE06k, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/j_kQdnLoG6RlKvoxYHwA2xQr4ppBGqlbV7Dsvk7Cr4c: created acme-client: https://127.0.0.1:14000/chalZ/MqfOuF59g4wsXWIr3c0Y1sAKZeGizcqbzwB1ITgE06k: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/gtpqQw83_RytqFCQWvOZ837dzOvZuarO-kodKifcHrI acme-client: challenge, token: j_kQdnLoG6RlKvoxYHwA2xQr4ppBGqlbV7Dsvk7Cr4c, uri: https://127.0.0.1:14000/chalZ/MqfOuF59g4wsXWIr3c0Y1sAKZeGizcqbzwB1ITgE06k, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/gowFmHFrEtTWuflcr0H-GSF9LiXwjZ_loVVQpOD3RgA: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0e9f41ebabb62f10: certificate account key: https://127.0.0.1:14000/my-account/61f4c7b8e2fb5942 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/61f4c7b8e2fb5942 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/61f4c7b8e2fb5942 acme-client: https://127.0.0.1:14000/finalize-order/W922NoIwrF_aEZQSPjH3HMCEm-hj4_4L_Q2dC4tcnns: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/793e70be2f64deb4: 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/61f4c7b8e2fb5942 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/61f4c7b8e2fb5942 acme-client: dochngreq: https://127.0.0.1:14000/authZ/gtpqQw83_RytqFCQWvOZ837dzOvZuarO-kodKifcHrI acme-client: challenge, token: j_kQdnLoG6RlKvoxYHwA2xQr4ppBGqlbV7Dsvk7Cr4c, uri: https://127.0.0.1:14000/chalZ/MqfOuF59g4wsXWIr3c0Y1sAKZeGizcqbzwB1ITgE06k, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/iQcZ2VFM7usV1yBfsVsCcn12NCuBei3YTY0FuRXcT6E acme-client: challenge, token: 5SWdudPQU-sUtcM3KjU4z1wo8_uH5-_nf3jiY-NRurU, uri: https://127.0.0.1:14000/chalZ/srJHf8fHaS1v81ByoXmjTOHm0sK88YeKoDhpsnVHPWc, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/5SWdudPQU-sUtcM3KjU4z1wo8_uH5-_nf3jiY-NRurU: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/z08jXxaMH4h6UKfQAq8UTWcZTbUGY9Dm4fFbxz_BHgU acme-client: challenge, token: hPCHE0m1JPQVsIm5BXqf33ZeQHwk6ccV8kguFcMbzHw, uri: https://127.0.0.1:14000/chalZ/Eefxs0wzP1L69E8ywB60nO-wmQ6H_bnlugFNnr4VVvc, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/hPCHE0m1JPQVsIm5BXqf33ZeQHwk6ccV8kguFcMbzHw: created acme-client: https://127.0.0.1:14000/chalZ/srJHf8fHaS1v81ByoXmjTOHm0sK88YeKoDhpsnVHPWc: challenge acme-client: https://127.0.0.1:14000/chalZ/Eefxs0wzP1L69E8ywB60nO-wmQ6H_bnlugFNnr4VVvc: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/gtpqQw83_RytqFCQWvOZ837dzOvZuarO-kodKifcHrI acme-client: challenge, token: j_kQdnLoG6RlKvoxYHwA2xQr4ppBGqlbV7Dsvk7Cr4c, uri: https://127.0.0.1:14000/chalZ/MqfOuF59g4wsXWIr3c0Y1sAKZeGizcqbzwB1ITgE06k, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/iQcZ2VFM7usV1yBfsVsCcn12NCuBei3YTY0FuRXcT6E acme-client: challenge, token: 5SWdudPQU-sUtcM3KjU4z1wo8_uH5-_nf3jiY-NRurU, uri: https://127.0.0.1:14000/chalZ/srJHf8fHaS1v81ByoXmjTOHm0sK88YeKoDhpsnVHPWc, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/z08jXxaMH4h6UKfQAq8UTWcZTbUGY9Dm4fFbxz_BHgU acme-client: challenge, token: hPCHE0m1JPQVsIm5BXqf33ZeQHwk6ccV8kguFcMbzHw, uri: https://127.0.0.1:14000/chalZ/Eefxs0wzP1L69E8ywB60nO-wmQ6H_bnlugFNnr4VVvc, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/v3Q9ixEvbpQ2CYqi0aYopslfaX9U-h1oNagFq6CIA0M: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0e9cd21178625f4e: 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/61f4c7b8e2fb5942 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/61f4c7b8e2fb5942 acme-client: dochngreq: https://127.0.0.1:14000/authZ/TUpXdLbUSE0UZBXtCfUqiQT-AeruIAzyGFWNT-DVcx8 acme-client: challenge, token: pEPrWXEsPCkM-lqSDs9eUsUhMrexKpsNHA0G803m2ts, uri: https://127.0.0.1:14000/chalZ/xWhrByy13QpztwLsPhIAkB6iPa_cnoGGkwPwfrJPBFg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/pEPrWXEsPCkM-lqSDs9eUsUhMrexKpsNHA0G803m2ts: created acme-client: https://127.0.0.1:14000/chalZ/xWhrByy13QpztwLsPhIAkB6iPa_cnoGGkwPwfrJPBFg: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/TUpXdLbUSE0UZBXtCfUqiQT-AeruIAzyGFWNT-DVcx8 acme-client: challenge, token: pEPrWXEsPCkM-lqSDs9eUsUhMrexKpsNHA0G803m2ts, uri: https://127.0.0.1:14000/chalZ/xWhrByy13QpztwLsPhIAkB6iPa_cnoGGkwPwfrJPBFg, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/WjzkPm3eVElNQErq-kl5eGxRBFyHD4IfGvZ78lamMRE: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7c198ec91993ed57: 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/61f4c7b8e2fb5942 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/7573d0f4097d955e acme-client: dochngreq: https://127.0.0.1:14001/authZ/h4bbaDE19dhicBM2z92a67TFh5xEi-4qlrfGY86bowk acme-client: challenge, token: sA8P5LVZRnUy7jHKInLzZLnSDYZcsh3FGv16A0FDGTM, uri: https://127.0.0.1:14001/chalZ/UtKmyKKWfjwpru_W0AFUA8l5wrk9KCE4BfAINlt55jI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/sA8P5LVZRnUy7jHKInLzZLnSDYZcsh3FGv16A0FDGTM: created acme-client: https://127.0.0.1:14001/chalZ/UtKmyKKWfjwpru_W0AFUA8l5wrk9KCE4BfAINlt55jI: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/h4bbaDE19dhicBM2z92a67TFh5xEi-4qlrfGY86bowk acme-client: challenge, token: sA8P5LVZRnUy7jHKInLzZLnSDYZcsh3FGv16A0FDGTM, uri: https://127.0.0.1:14001/chalZ/UtKmyKKWfjwpru_W0AFUA8l5wrk9KCE4BfAINlt55jI, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/HzPv0f7_SrjC1e2UFIhScyJr6wYGv7DnHg8D-DtFJUg: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/67e47c4ab549e8cd: certificate account key: https://127.0.0.1:14001/my-account/7573d0f4097d955e 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"