==== 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" 75760 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/b9d92d31eceefa5 acme-client: dochngreq: https://127.0.0.1:14000/authZ/hERHb6sjJtAkeU9EqlUSf-7fXaEb30wAnvNU39rZtLw acme-client: challenge, token: PoodK25FEP6lRoWd54XPNrJl7y7Ng-NEbX3oeYrcbkM, uri: https://127.0.0.1:14000/chalZ/hgbBekBZJyr1OND_a9VuwMBaJ_sSE3_sFBWtNLlU-uA, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/PoodK25FEP6lRoWd54XPNrJl7y7Ng-NEbX3oeYrcbkM: created acme-client: https://127.0.0.1:14000/chalZ/hgbBekBZJyr1OND_a9VuwMBaJ_sSE3_sFBWtNLlU-uA: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/hERHb6sjJtAkeU9EqlUSf-7fXaEb30wAnvNU39rZtLw acme-client: challenge, token: PoodK25FEP6lRoWd54XPNrJl7y7Ng-NEbX3oeYrcbkM, uri: https://127.0.0.1:14000/chalZ/hgbBekBZJyr1OND_a9VuwMBaJ_sSE3_sFBWtNLlU-uA, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/GLND86J9fZriOgfQwEgEjddR2fDhBEn9aaiJTOmZsIY: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/05b8d174619f3598: certificate account key: https://127.0.0.1:14000/my-account/b9d92d31eceefa5 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/b9d92d31eceefa5 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/b9d92d31eceefa5 acme-client: https://127.0.0.1:14000/finalize-order/_RFsGjNmRZGIBYzGNlTH0Pf1b4jIZRriBo5QfcaRbTw: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/2fa1eb85e7ea1e55: 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/b9d92d31eceefa5 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/b9d92d31eceefa5 acme-client: dochngreq: https://127.0.0.1:14000/authZ/hERHb6sjJtAkeU9EqlUSf-7fXaEb30wAnvNU39rZtLw acme-client: challenge, token: PoodK25FEP6lRoWd54XPNrJl7y7Ng-NEbX3oeYrcbkM, uri: https://127.0.0.1:14000/chalZ/hgbBekBZJyr1OND_a9VuwMBaJ_sSE3_sFBWtNLlU-uA, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/UF6M2zi7aHJHDHtmGxoyY4Pks3hW51kBc0k5Yr8t4bQ acme-client: challenge, token: 6tD5ku6SCuGGKoz__Ri3CJsiAJDw7Z2x7it8rnhuklI, uri: https://127.0.0.1:14000/chalZ/tXk9jrHw3G1zrEaLquvh3pGGNeAtPF6V3oTX0y5WWBI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/6tD5ku6SCuGGKoz__Ri3CJsiAJDw7Z2x7it8rnhuklI: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/eVWfg6ml9h0Ym8Ibs3sfcykLQn3p6IYKsErMYaIvgP4 acme-client: challenge, token: liTVFK54jNg1LadtAH69q53la-euPRIczsCYcfMlnU0, uri: https://127.0.0.1:14000/chalZ/DUwGx1V1dMjKge1PefZBQ2LLZzpJcbnu7PPNQF2Qq7g, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/liTVFK54jNg1LadtAH69q53la-euPRIczsCYcfMlnU0: created acme-client: https://127.0.0.1:14000/chalZ/tXk9jrHw3G1zrEaLquvh3pGGNeAtPF6V3oTX0y5WWBI: challenge acme-client: https://127.0.0.1:14000/chalZ/DUwGx1V1dMjKge1PefZBQ2LLZzpJcbnu7PPNQF2Qq7g: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/hERHb6sjJtAkeU9EqlUSf-7fXaEb30wAnvNU39rZtLw acme-client: challenge, token: PoodK25FEP6lRoWd54XPNrJl7y7Ng-NEbX3oeYrcbkM, uri: https://127.0.0.1:14000/chalZ/hgbBekBZJyr1OND_a9VuwMBaJ_sSE3_sFBWtNLlU-uA, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/UF6M2zi7aHJHDHtmGxoyY4Pks3hW51kBc0k5Yr8t4bQ acme-client: challenge, token: 6tD5ku6SCuGGKoz__Ri3CJsiAJDw7Z2x7it8rnhuklI, uri: https://127.0.0.1:14000/chalZ/tXk9jrHw3G1zrEaLquvh3pGGNeAtPF6V3oTX0y5WWBI, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/eVWfg6ml9h0Ym8Ibs3sfcykLQn3p6IYKsErMYaIvgP4 acme-client: challenge, token: liTVFK54jNg1LadtAH69q53la-euPRIczsCYcfMlnU0, uri: https://127.0.0.1:14000/chalZ/DUwGx1V1dMjKge1PefZBQ2LLZzpJcbnu7PPNQF2Qq7g, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/pvdj6CV7oYj0CSad5u_u5PxLauHPuXBvaaV1GuQyLDI: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/1708a61455f49233: 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/b9d92d31eceefa5 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/b9d92d31eceefa5 acme-client: dochngreq: https://127.0.0.1:14000/authZ/YiO-rlvo6n7tuoztTD1NAm1iBPq4KbLPsMdzqgEifR8 acme-client: challenge, token: azncONAlA1JK57W0jmuQ5BwiBo8l2HVgazYvJPQgCJc, uri: https://127.0.0.1:14000/chalZ/lhQ-gYsAm4a0z_ul34THbVYGREbkyfuPryl2KOFKAZg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/azncONAlA1JK57W0jmuQ5BwiBo8l2HVgazYvJPQgCJc: created acme-client: https://127.0.0.1:14000/chalZ/lhQ-gYsAm4a0z_ul34THbVYGREbkyfuPryl2KOFKAZg: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/YiO-rlvo6n7tuoztTD1NAm1iBPq4KbLPsMdzqgEifR8 acme-client: challenge, token: azncONAlA1JK57W0jmuQ5BwiBo8l2HVgazYvJPQgCJc, uri: https://127.0.0.1:14000/chalZ/lhQ-gYsAm4a0z_ul34THbVYGREbkyfuPryl2KOFKAZg, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/Uv0RU_oisRvuQzFFSjrqGDtouNiRp--sgYTuMYdPwSg: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/22fb4948a2999327: 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/b9d92d31eceefa5 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/3e19eab2798b3f45 acme-client: dochngreq: https://127.0.0.1:14001/authZ/sTlNT9R1Wn16surka1oGzJiwJErXEBsiHodWP7bWbh8 acme-client: challenge, token: N_8qLBYLyh326-LzC5dmwn15ZWtW2L37ym5pjmZMJ6o, uri: https://127.0.0.1:14001/chalZ/5vLmAu3mSKUEnPtgtOkUUtuEfZDr6MB2nQrHo3YoC_g, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/N_8qLBYLyh326-LzC5dmwn15ZWtW2L37ym5pjmZMJ6o: created acme-client: https://127.0.0.1:14001/chalZ/5vLmAu3mSKUEnPtgtOkUUtuEfZDr6MB2nQrHo3YoC_g: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/sTlNT9R1Wn16surka1oGzJiwJErXEBsiHodWP7bWbh8 acme-client: challenge, token: N_8qLBYLyh326-LzC5dmwn15ZWtW2L37ym5pjmZMJ6o, uri: https://127.0.0.1:14001/chalZ/5vLmAu3mSKUEnPtgtOkUUtuEfZDr6MB2nQrHo3YoC_g, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/1sudEgT14F8_WCtHkjblN_rZspwUQZthafpExgDRVas: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/2c81b137024f47f1: certificate account key: https://127.0.0.1:14001/my-account/3e19eab2798b3f45 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"