==== 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" 61676 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/2ae1707fe5f29dac acme-client: dochngreq: https://127.0.0.1:14000/authZ/g1ndNzEbg8D7S7LyTcs5Mf3nbUxtkURewwayZ5Lk9HA acme-client: challenge, token: yi9NNuw0pxaKuJV4ASwxDwLRCMpUfeGBs8S3MUZOkJY, uri: https://127.0.0.1:14000/chalZ/s-rJcTXY8mBC8D6aPHLanIxLFEtcPDUut9Q9x49yHlw, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/yi9NNuw0pxaKuJV4ASwxDwLRCMpUfeGBs8S3MUZOkJY: created acme-client: https://127.0.0.1:14000/chalZ/s-rJcTXY8mBC8D6aPHLanIxLFEtcPDUut9Q9x49yHlw: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/g1ndNzEbg8D7S7LyTcs5Mf3nbUxtkURewwayZ5Lk9HA acme-client: challenge, token: yi9NNuw0pxaKuJV4ASwxDwLRCMpUfeGBs8S3MUZOkJY, uri: https://127.0.0.1:14000/chalZ/s-rJcTXY8mBC8D6aPHLanIxLFEtcPDUut9Q9x49yHlw, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/fturMDwPaYCZ02WT5V9OPoIANnuRBZ8UsKiNgBahSYc: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/50542a1ee94a0e9b: certificate account key: https://127.0.0.1:14000/my-account/2ae1707fe5f29dac 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/2ae1707fe5f29dac 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/2ae1707fe5f29dac acme-client: https://127.0.0.1:14000/finalize-order/sI2xQubRck_4R378GuA0ebyAF-zBPhwMIj-9_4vG1kM: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/673734972549e3c6: 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/2ae1707fe5f29dac 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/2ae1707fe5f29dac acme-client: dochngreq: https://127.0.0.1:14000/authZ/4fwtVr37D6cOdU7Z23RSGAE1Hf5RXi-coqBljIj_l-0 acme-client: challenge, token: kNFj8aHwu8AQ8AzM1aIjE3q47uTfMqpz1P49b6W7jzY, uri: https://127.0.0.1:14000/chalZ/C9vlY7eiqIAXCE4EAdeSY4cdGj8bEvkd2sZf5ho2iBw, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/kNFj8aHwu8AQ8AzM1aIjE3q47uTfMqpz1P49b6W7jzY: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/4BCiuY0cZ8i1_XCp1b7qFh9gtl52mF1TKFvEetnj-9o acme-client: challenge, token: bNf_zUWxL-8Ua2S21rFRSkvditGKPZqfYXs8NhpAalc, uri: https://127.0.0.1:14000/chalZ/Y0BQEOQEW2EBtKSt7hhVtX1XgEdpuprVdQIn8c345EY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/bNf_zUWxL-8Ua2S21rFRSkvditGKPZqfYXs8NhpAalc: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/g1ndNzEbg8D7S7LyTcs5Mf3nbUxtkURewwayZ5Lk9HA acme-client: challenge, token: yi9NNuw0pxaKuJV4ASwxDwLRCMpUfeGBs8S3MUZOkJY, uri: https://127.0.0.1:14000/chalZ/s-rJcTXY8mBC8D6aPHLanIxLFEtcPDUut9Q9x49yHlw, status: 2 acme-client: https://127.0.0.1:14000/chalZ/C9vlY7eiqIAXCE4EAdeSY4cdGj8bEvkd2sZf5ho2iBw: challenge acme-client: https://127.0.0.1:14000/chalZ/Y0BQEOQEW2EBtKSt7hhVtX1XgEdpuprVdQIn8c345EY: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/4fwtVr37D6cOdU7Z23RSGAE1Hf5RXi-coqBljIj_l-0 acme-client: challenge, token: kNFj8aHwu8AQ8AzM1aIjE3q47uTfMqpz1P49b6W7jzY, uri: https://127.0.0.1:14000/chalZ/C9vlY7eiqIAXCE4EAdeSY4cdGj8bEvkd2sZf5ho2iBw, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/4BCiuY0cZ8i1_XCp1b7qFh9gtl52mF1TKFvEetnj-9o acme-client: challenge, token: bNf_zUWxL-8Ua2S21rFRSkvditGKPZqfYXs8NhpAalc, uri: https://127.0.0.1:14000/chalZ/Y0BQEOQEW2EBtKSt7hhVtX1XgEdpuprVdQIn8c345EY, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/g1ndNzEbg8D7S7LyTcs5Mf3nbUxtkURewwayZ5Lk9HA acme-client: challenge, token: yi9NNuw0pxaKuJV4ASwxDwLRCMpUfeGBs8S3MUZOkJY, uri: https://127.0.0.1:14000/chalZ/s-rJcTXY8mBC8D6aPHLanIxLFEtcPDUut9Q9x49yHlw, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/FbnRVfQPrbVMr1Rv4bFxFw1MYhiCVhtWIkPVGau5obU: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/29ee677ba02f05e9: 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/2ae1707fe5f29dac 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/2ae1707fe5f29dac acme-client: https://127.0.0.1:14000/finalize-order/Fq_W6oL0fB0uZXJhFJvCpuC_n5Ga4KkETcAmY9TH3cI: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/5db1c3d0ae37691c: 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/2ae1707fe5f29dac 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/4469bc7d2413d713 acme-client: dochngreq: https://127.0.0.1:14001/authZ/fI2ZBu9znatUu31QpK7LSnU0kmwztYHU58qVanH8i4Q acme-client: challenge, token: oGVOndMWMaHw8umLBR_obLSPTyMJ8okG0KLd7T36Nvk, uri: https://127.0.0.1:14001/chalZ/U5y1upByFvAO7vdH1lVlpvR7TZccpAbj-XIoI7FNVCg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/oGVOndMWMaHw8umLBR_obLSPTyMJ8okG0KLd7T36Nvk: created acme-client: https://127.0.0.1:14001/chalZ/U5y1upByFvAO7vdH1lVlpvR7TZccpAbj-XIoI7FNVCg: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/fI2ZBu9znatUu31QpK7LSnU0kmwztYHU58qVanH8i4Q acme-client: challenge, token: oGVOndMWMaHw8umLBR_obLSPTyMJ8okG0KLd7T36Nvk, uri: https://127.0.0.1:14001/chalZ/U5y1upByFvAO7vdH1lVlpvR7TZccpAbj-XIoI7FNVCg, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/D7J68FkLH4SqJHBWR9EF-4spgaPA4BvbgILpZrHDD5I: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/2af8c708ea08c70d: certificate account key: https://127.0.0.1:14001/my-account/4469bc7d2413d713 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"