==== 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" 15765 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/14549423e14396d1 acme-client: dochngreq: https://127.0.0.1:14000/authZ/PwXpbGnS6AIS8HvPNGLizQK8GIPo0VolJjSk3d-ftRo acme-client: challenge, token: 0mmCJFHUVljtZtV_F0obh_BljfsCFGSvBYR6svr2WeI, uri: https://127.0.0.1:14000/chalZ/NPJgU4-qJ3tHoSt6enOwM30GG0FgsrtoODOoJQLbitY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/0mmCJFHUVljtZtV_F0obh_BljfsCFGSvBYR6svr2WeI: created acme-client: https://127.0.0.1:14000/chalZ/NPJgU4-qJ3tHoSt6enOwM30GG0FgsrtoODOoJQLbitY: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/PwXpbGnS6AIS8HvPNGLizQK8GIPo0VolJjSk3d-ftRo acme-client: challenge, token: 0mmCJFHUVljtZtV_F0obh_BljfsCFGSvBYR6svr2WeI, uri: https://127.0.0.1:14000/chalZ/NPJgU4-qJ3tHoSt6enOwM30GG0FgsrtoODOoJQLbitY, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/wpqkRqwJg4w5c2GajsZk9uY3n8dRr3AMQWAcPd9f8p8: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/12c6bd0fb74470fd: certificate account key: https://127.0.0.1:14000/my-account/14549423e14396d1 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/14549423e14396d1 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/14549423e14396d1 acme-client: dochngreq: https://127.0.0.1:14000/authZ/3_NBhbjDDiIOhAiUwtl3y-vpAeiighNwhL6xYup-ECM acme-client: challenge, token: nBw5W0TLgNuAkX6GpZxGyaub69aQ-JY-wcDCRlakcXE, uri: https://127.0.0.1:14000/chalZ/U26B8x9pEjoA-9BtvCZU1HG-VzJKeqPGMEZ99yJBg-8, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/nBw5W0TLgNuAkX6GpZxGyaub69aQ-JY-wcDCRlakcXE: created acme-client: https://127.0.0.1:14000/chalZ/U26B8x9pEjoA-9BtvCZU1HG-VzJKeqPGMEZ99yJBg-8: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/3_NBhbjDDiIOhAiUwtl3y-vpAeiighNwhL6xYup-ECM acme-client: challenge, token: nBw5W0TLgNuAkX6GpZxGyaub69aQ-JY-wcDCRlakcXE, uri: https://127.0.0.1:14000/chalZ/U26B8x9pEjoA-9BtvCZU1HG-VzJKeqPGMEZ99yJBg-8, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/Q3vQ1LUZ01Gl_eK63J4TEjFxtfV-ogtOJ_nSemBxsU4: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/06995353a894831d: 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/14549423e14396d1 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/14549423e14396d1 acme-client: dochngreq: https://127.0.0.1:14000/authZ/PwXpbGnS6AIS8HvPNGLizQK8GIPo0VolJjSk3d-ftRo acme-client: challenge, token: 0mmCJFHUVljtZtV_F0obh_BljfsCFGSvBYR6svr2WeI, uri: https://127.0.0.1:14000/chalZ/NPJgU4-qJ3tHoSt6enOwM30GG0FgsrtoODOoJQLbitY, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/eS4L6oK5yVCt84FS5g9qt3ACwhj1COOSJTK7KemLDCU acme-client: challenge, token: 4u-HOI-EyqZUClXgEPQc7459rpaJ1pdbAe0HzW3r_zc, uri: https://127.0.0.1:14000/chalZ/mV8rQiIDNi4LqYgPc8zGURG8wrA8liPXi9Eiy1a2XXw, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/4u-HOI-EyqZUClXgEPQc7459rpaJ1pdbAe0HzW3r_zc: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/ki98INdbUnhPnI5MaYl_RAjAZjwH3MfhpMzNkMQiweA acme-client: challenge, token: 0BxjGFx2NChshV9ny53kM9jHcD9OeAp2e6vYXMIhv20, uri: https://127.0.0.1:14000/chalZ/w52-PaOqNViiaT630xuu69xRUpHgiXEbfqtjDfCHugk, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/0BxjGFx2NChshV9ny53kM9jHcD9OeAp2e6vYXMIhv20: created acme-client: https://127.0.0.1:14000/chalZ/mV8rQiIDNi4LqYgPc8zGURG8wrA8liPXi9Eiy1a2XXw: challenge acme-client: https://127.0.0.1:14000/chalZ/w52-PaOqNViiaT630xuu69xRUpHgiXEbfqtjDfCHugk: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/PwXpbGnS6AIS8HvPNGLizQK8GIPo0VolJjSk3d-ftRo acme-client: challenge, token: 0mmCJFHUVljtZtV_F0obh_BljfsCFGSvBYR6svr2WeI, uri: https://127.0.0.1:14000/chalZ/NPJgU4-qJ3tHoSt6enOwM30GG0FgsrtoODOoJQLbitY, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/eS4L6oK5yVCt84FS5g9qt3ACwhj1COOSJTK7KemLDCU acme-client: challenge, token: 4u-HOI-EyqZUClXgEPQc7459rpaJ1pdbAe0HzW3r_zc, uri: https://127.0.0.1:14000/chalZ/mV8rQiIDNi4LqYgPc8zGURG8wrA8liPXi9Eiy1a2XXw, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/ki98INdbUnhPnI5MaYl_RAjAZjwH3MfhpMzNkMQiweA acme-client: challenge, token: 0BxjGFx2NChshV9ny53kM9jHcD9OeAp2e6vYXMIhv20, uri: https://127.0.0.1:14000/chalZ/w52-PaOqNViiaT630xuu69xRUpHgiXEbfqtjDfCHugk, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/1A9egGQJBW-980GtLzf-7_BJPkRiQbMZjzACNnRI3TM: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/09b31f4f17d2d335: 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/14549423e14396d1 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/14549423e14396d1 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Y__BAGiAZiysBIr_ueKg-gmxsee9CQxOt2wzbaBgO3E acme-client: challenge, token: VCDk8MUA88dmY-F35j5CmNgprKeet37jaDC-oLAc9Ic, uri: https://127.0.0.1:14000/chalZ/KdaxhlRqaWHzg5jInYgOXWIdz44kpBvHVWEI21qeh0w, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/VCDk8MUA88dmY-F35j5CmNgprKeet37jaDC-oLAc9Ic: created acme-client: https://127.0.0.1:14000/chalZ/KdaxhlRqaWHzg5jInYgOXWIdz44kpBvHVWEI21qeh0w: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Y__BAGiAZiysBIr_ueKg-gmxsee9CQxOt2wzbaBgO3E acme-client: challenge, token: VCDk8MUA88dmY-F35j5CmNgprKeet37jaDC-oLAc9Ic, uri: https://127.0.0.1:14000/chalZ/KdaxhlRqaWHzg5jInYgOXWIdz44kpBvHVWEI21qeh0w, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/qWel1Rt5Rv21OG9liBxYKETGqRbI1IdxdDh_9Jr2eh4: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/200a0671cc7aeed2: 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/14549423e14396d1 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/3026079d989ff541 acme-client: dochngreq: https://127.0.0.1:14001/authZ/x3JrrweCDms54wcPn5IqBwwx216EziMp31GFy4ac4Os acme-client: challenge, token: 3snY-TCnk2vV5aytMupgFBPZ0PBo7-xGLftJPw1skZE, uri: https://127.0.0.1:14001/chalZ/B2fEF1mAtsU0jYw65UCyjsmL0NZl4bkQTLgyk8bOG-o, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/3snY-TCnk2vV5aytMupgFBPZ0PBo7-xGLftJPw1skZE: created acme-client: https://127.0.0.1:14001/chalZ/B2fEF1mAtsU0jYw65UCyjsmL0NZl4bkQTLgyk8bOG-o: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/x3JrrweCDms54wcPn5IqBwwx216EziMp31GFy4ac4Os acme-client: challenge, token: 3snY-TCnk2vV5aytMupgFBPZ0PBo7-xGLftJPw1skZE, uri: https://127.0.0.1:14001/chalZ/B2fEF1mAtsU0jYw65UCyjsmL0NZl4bkQTLgyk8bOG-o, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/5CuxcuRTHEcxllHW_HWn_Kbv0iJ3n6R-iDz0_qefMYY: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/27f9f79cab757e35: certificate account key: https://127.0.0.1:14001/my-account/3026079d989ff541 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"