==== 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" 80402 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/24235812beb6f5f5 acme-client: dochngreq: https://127.0.0.1:14000/authZ/XTdlDcO1lpHlnWaB8EE-2ZBMF2PS0Dmd-o2Q2YYeIoQ acme-client: challenge, token: 3aDfZRk4-bp33gukQ_078gjd5TVGgF49mF3SgFtCBio, uri: https://127.0.0.1:14000/chalZ/8BG9iGpXXxNX9xbqM53Yly8NYB4sL7o2B1Nz9Fkx6rg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/3aDfZRk4-bp33gukQ_078gjd5TVGgF49mF3SgFtCBio: created acme-client: https://127.0.0.1:14000/chalZ/8BG9iGpXXxNX9xbqM53Yly8NYB4sL7o2B1Nz9Fkx6rg: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/XTdlDcO1lpHlnWaB8EE-2ZBMF2PS0Dmd-o2Q2YYeIoQ acme-client: challenge, token: 3aDfZRk4-bp33gukQ_078gjd5TVGgF49mF3SgFtCBio, uri: https://127.0.0.1:14000/chalZ/8BG9iGpXXxNX9xbqM53Yly8NYB4sL7o2B1Nz9Fkx6rg, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/tr8L64S7ntCSTYaa5REBTXuqvz7Vc2ww87D2CR1O96c: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/4fdacea8ed902371: certificate account key: https://127.0.0.1:14000/my-account/24235812beb6f5f5 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/24235812beb6f5f5 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/24235812beb6f5f5 acme-client: dochngreq: https://127.0.0.1:14000/authZ/tTsE13Ck5DneYjcBx-eD31bCj5205tF_Yk1tI51Llfc acme-client: challenge, token: iEKzgqKBKXUNlo3T83DMV2K3Md7crvVLgJmoGc2VVHc, uri: https://127.0.0.1:14000/chalZ/o8GglC27IKxPCW5WL40pFmt5vEuXR7nMFXSEa26PYZg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/iEKzgqKBKXUNlo3T83DMV2K3Md7crvVLgJmoGc2VVHc: created acme-client: https://127.0.0.1:14000/chalZ/o8GglC27IKxPCW5WL40pFmt5vEuXR7nMFXSEa26PYZg: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/tTsE13Ck5DneYjcBx-eD31bCj5205tF_Yk1tI51Llfc acme-client: challenge, token: iEKzgqKBKXUNlo3T83DMV2K3Md7crvVLgJmoGc2VVHc, uri: https://127.0.0.1:14000/chalZ/o8GglC27IKxPCW5WL40pFmt5vEuXR7nMFXSEa26PYZg, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/u5HNNmFFUjH1xt9NThFas5BZFe_jVofB_P7ykBWJDCM: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/263e348b9a515c29: 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/24235812beb6f5f5 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/24235812beb6f5f5 acme-client: dochngreq: https://127.0.0.1:14000/authZ/r4WLoNzj6CV3pI1hoJx7vZpqDVfxx1pAPaF2sdQGCJA acme-client: challenge, token: ozLQ_8r5GlYXRjiRdx-6h8Rd03SQMxO20xYpqo0i-SI, uri: https://127.0.0.1:14000/chalZ/6PonPX9XdbBZEEz17nDOYlRrmJFh2luvb75bC58MvQI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/ozLQ_8r5GlYXRjiRdx-6h8Rd03SQMxO20xYpqo0i-SI: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/NjQABdypvnC4BvfxpqyXsqx7pkTK85e69OgOduZZrrI acme-client: challenge, token: vjHeAzr6P0DMqpOYzHvYagYBhUnHEOFWURHm8jI3UEw, uri: https://127.0.0.1:14000/chalZ/bGk91mO8lWLsNYtnC8s1FxtJK35IFQMN6LhJwUGQ0XU, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/vjHeAzr6P0DMqpOYzHvYagYBhUnHEOFWURHm8jI3UEw: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/KsBYtT6YRoP39VqrGBFU1V2toU2D0n2QKn4blgwGycw acme-client: challenge, token: EwDTInzZrpa8HY6qldvTDOv7QiWk9599Wr0KCE0a-pc, uri: https://127.0.0.1:14000/chalZ/RK6Es5RcSGe0XBrCChOfGZZ6D0bGAlod45JciKleBTo, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/EwDTInzZrpa8HY6qldvTDOv7QiWk9599Wr0KCE0a-pc: created acme-client: https://127.0.0.1:14000/chalZ/6PonPX9XdbBZEEz17nDOYlRrmJFh2luvb75bC58MvQI: challenge acme-client: https://127.0.0.1:14000/chalZ/bGk91mO8lWLsNYtnC8s1FxtJK35IFQMN6LhJwUGQ0XU: challenge acme-client: https://127.0.0.1:14000/chalZ/RK6Es5RcSGe0XBrCChOfGZZ6D0bGAlod45JciKleBTo: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/r4WLoNzj6CV3pI1hoJx7vZpqDVfxx1pAPaF2sdQGCJA acme-client: challenge, token: ozLQ_8r5GlYXRjiRdx-6h8Rd03SQMxO20xYpqo0i-SI, uri: https://127.0.0.1:14000/chalZ/6PonPX9XdbBZEEz17nDOYlRrmJFh2luvb75bC58MvQI, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/NjQABdypvnC4BvfxpqyXsqx7pkTK85e69OgOduZZrrI acme-client: challenge, token: vjHeAzr6P0DMqpOYzHvYagYBhUnHEOFWURHm8jI3UEw, uri: https://127.0.0.1:14000/chalZ/bGk91mO8lWLsNYtnC8s1FxtJK35IFQMN6LhJwUGQ0XU, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/KsBYtT6YRoP39VqrGBFU1V2toU2D0n2QKn4blgwGycw acme-client: challenge, token: EwDTInzZrpa8HY6qldvTDOv7QiWk9599Wr0KCE0a-pc, uri: https://127.0.0.1:14000/chalZ/RK6Es5RcSGe0XBrCChOfGZZ6D0bGAlod45JciKleBTo, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/n6NJr-PrvtZo4cpMQd2atL-N9Y2mPin3sEIZAkxiOfU: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/4bd8a546e53d7c51: 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/24235812beb6f5f5 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/24235812beb6f5f5 acme-client: https://127.0.0.1:14000/finalize-order/D5eO23b4SNg8_tUKRLe1eG38VzLCp-PGo_Dnpk5m8zo: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6bba7878e5d4981d: 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/24235812beb6f5f5 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-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"