==== 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" 90392 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/3e869ec5ea281bcf acme-client: dochngreq: https://127.0.0.1:14000/authZ/-j5UBMg6I0ChJXy_4I_lEc5pOTrU3TLG4uvxO170NOI acme-client: challenge, token: -c8jFv_L1Gd9WFDNKzIhqTAGyNhlcEADT_PJHV3Z2gE, uri: https://127.0.0.1:14000/chalZ/gNmvpRsBjmu77AsPCkOuLKeRH_6i5QdcdRRKan-SqmE, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/-c8jFv_L1Gd9WFDNKzIhqTAGyNhlcEADT_PJHV3Z2gE: created acme-client: https://127.0.0.1:14000/chalZ/gNmvpRsBjmu77AsPCkOuLKeRH_6i5QdcdRRKan-SqmE: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/-j5UBMg6I0ChJXy_4I_lEc5pOTrU3TLG4uvxO170NOI acme-client: challenge, token: -c8jFv_L1Gd9WFDNKzIhqTAGyNhlcEADT_PJHV3Z2gE, uri: https://127.0.0.1:14000/chalZ/gNmvpRsBjmu77AsPCkOuLKeRH_6i5QdcdRRKan-SqmE, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/_srmGYGip0PmumhiDEx0ea7-kt4Eb91Sx6cRrkSkacU: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/1a014427fffce267: certificate account key: https://127.0.0.1:14000/my-account/3e869ec5ea281bcf 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/3e869ec5ea281bcf 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/3e869ec5ea281bcf acme-client: https://127.0.0.1:14000/finalize-order/gCn5Ead81UJJJc-Tp2656V9TaBHtUoTgzlnInoFpf7E: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/53ffb7081a004719: 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/3e869ec5ea281bcf 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/3e869ec5ea281bcf acme-client: dochngreq: https://127.0.0.1:14000/authZ/jzzCpHofKRAcBROFAjIjsFZd5aSZKVHl6vXxWPYaLKw acme-client: challenge, token: cxxCwIeJxn-eqyfnYtyByBWXfohOhZlBRtCWxcO28PA, uri: https://127.0.0.1:14000/chalZ/Kny9rMWlgflXY0KENl-xvDmCEKzaWSzB6_6ArJ1vmZs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/cxxCwIeJxn-eqyfnYtyByBWXfohOhZlBRtCWxcO28PA: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/z3AMhDdVjsPSHaLiGyx7xOVT0izvoIwusQ7X4gYf5pU acme-client: challenge, token: n2mUI4-qbL2f-lyFxIU76wINec4war8FG8oGL-oOdMg, uri: https://127.0.0.1:14000/chalZ/Z55SYqHWrkXO23tVgw3h4SsrnJ-4slmi4P5Vh8gQHCM, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/n2mUI4-qbL2f-lyFxIU76wINec4war8FG8oGL-oOdMg: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/-j5UBMg6I0ChJXy_4I_lEc5pOTrU3TLG4uvxO170NOI acme-client: challenge, token: -c8jFv_L1Gd9WFDNKzIhqTAGyNhlcEADT_PJHV3Z2gE, uri: https://127.0.0.1:14000/chalZ/gNmvpRsBjmu77AsPCkOuLKeRH_6i5QdcdRRKan-SqmE, status: 2 acme-client: https://127.0.0.1:14000/chalZ/Kny9rMWlgflXY0KENl-xvDmCEKzaWSzB6_6ArJ1vmZs: challenge acme-client: https://127.0.0.1:14000/chalZ/Z55SYqHWrkXO23tVgw3h4SsrnJ-4slmi4P5Vh8gQHCM: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/jzzCpHofKRAcBROFAjIjsFZd5aSZKVHl6vXxWPYaLKw acme-client: challenge, token: cxxCwIeJxn-eqyfnYtyByBWXfohOhZlBRtCWxcO28PA, uri: https://127.0.0.1:14000/chalZ/Kny9rMWlgflXY0KENl-xvDmCEKzaWSzB6_6ArJ1vmZs, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/z3AMhDdVjsPSHaLiGyx7xOVT0izvoIwusQ7X4gYf5pU acme-client: challenge, token: n2mUI4-qbL2f-lyFxIU76wINec4war8FG8oGL-oOdMg, uri: https://127.0.0.1:14000/chalZ/Z55SYqHWrkXO23tVgw3h4SsrnJ-4slmi4P5Vh8gQHCM, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/-j5UBMg6I0ChJXy_4I_lEc5pOTrU3TLG4uvxO170NOI acme-client: challenge, token: -c8jFv_L1Gd9WFDNKzIhqTAGyNhlcEADT_PJHV3Z2gE, uri: https://127.0.0.1:14000/chalZ/gNmvpRsBjmu77AsPCkOuLKeRH_6i5QdcdRRKan-SqmE, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/LtqfyRCRMzoz6W5r2hYWpGYj_TAAOdlKeb9Wntp6Rl4: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/1acac0d24f1546e1: 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/3e869ec5ea281bcf 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/3e869ec5ea281bcf acme-client: https://127.0.0.1:14000/finalize-order/knOA66tNI3D0DPhvTd5zaacyJF4oogwLCPZf3G8AFK4: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/3e85f1ff9e009fca: 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/3e869ec5ea281bcf 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"