==== 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" 50196 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/6c5307b2ff53e23d acme-client: dochngreq: https://127.0.0.1:14000/authZ/CrKydwcntiB-CrXcgbMmMABUOe5QUBEZGomsr1X51a0 acme-client: challenge, token: oA5B78Qa8BrKr0tI2GBgV6Tc_pEhl8hvqRNzoOmH8U4, uri: https://127.0.0.1:14000/chalZ/zg_WiVQQiEFxkbz-YnrFI6zr3OjRSaq4oDKyQMZWCdA, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/oA5B78Qa8BrKr0tI2GBgV6Tc_pEhl8hvqRNzoOmH8U4: created acme-client: https://127.0.0.1:14000/chalZ/zg_WiVQQiEFxkbz-YnrFI6zr3OjRSaq4oDKyQMZWCdA: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/CrKydwcntiB-CrXcgbMmMABUOe5QUBEZGomsr1X51a0 acme-client: challenge, token: oA5B78Qa8BrKr0tI2GBgV6Tc_pEhl8hvqRNzoOmH8U4, uri: https://127.0.0.1:14000/chalZ/zg_WiVQQiEFxkbz-YnrFI6zr3OjRSaq4oDKyQMZWCdA, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/ZUfxtOIwwkZVvE-3q45qmYxq3YHbrV3xI2v94CSoJws: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/299b9260de996a5f: certificate account key: https://127.0.0.1:14000/my-account/6c5307b2ff53e23d 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/6c5307b2ff53e23d 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/6c5307b2ff53e23d acme-client: dochngreq: https://127.0.0.1:14000/authZ/7FU5oTq2j5Q_HmpT4U0SEloUHXNAJBkOyCU34OxmiG8 acme-client: challenge, token: ySzXzrctRmbK6AyAY9ivTLWqUHaw7xuNHstAr0yGGM0, uri: https://127.0.0.1:14000/chalZ/t_R9NZ8gUakK8T2ysqRoU-E2prjmxGJe8HsJ__R33lo, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/ySzXzrctRmbK6AyAY9ivTLWqUHaw7xuNHstAr0yGGM0: created acme-client: https://127.0.0.1:14000/chalZ/t_R9NZ8gUakK8T2ysqRoU-E2prjmxGJe8HsJ__R33lo: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/7FU5oTq2j5Q_HmpT4U0SEloUHXNAJBkOyCU34OxmiG8 acme-client: challenge, token: ySzXzrctRmbK6AyAY9ivTLWqUHaw7xuNHstAr0yGGM0, uri: https://127.0.0.1:14000/chalZ/t_R9NZ8gUakK8T2ysqRoU-E2prjmxGJe8HsJ__R33lo, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/GSbF_HOZFCQH40XrFcDqQgjW27CKJ4Cs75APU82SIIY: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/026a52a14696a139: 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/6c5307b2ff53e23d 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/6c5307b2ff53e23d acme-client: dochngreq: https://127.0.0.1:14000/authZ/CrKydwcntiB-CrXcgbMmMABUOe5QUBEZGomsr1X51a0 acme-client: challenge, token: oA5B78Qa8BrKr0tI2GBgV6Tc_pEhl8hvqRNzoOmH8U4, uri: https://127.0.0.1:14000/chalZ/zg_WiVQQiEFxkbz-YnrFI6zr3OjRSaq4oDKyQMZWCdA, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/uY0Rw-z8e2Ge9P4ZRmBxDZr3fSs1Ph_p0Cxy--6V_LI acme-client: challenge, token: CtX9nQG4HnbXQgkcRlwmwMavBYBmrd60LucLI9rDfK8, uri: https://127.0.0.1:14000/chalZ/OCrKRhQ_KtIVS38QjtYg2LUH1dgimPWEFwGkM3qNYV8, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/CtX9nQG4HnbXQgkcRlwmwMavBYBmrd60LucLI9rDfK8: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/lsZrqycJWyGCghhLIn1hT8TtNxX8GKWPPPJqrqVKrz8 acme-client: challenge, token: VR949I-ZoXbrloy41GncGo2DUEY5YUu29KE096R4FWo, uri: https://127.0.0.1:14000/chalZ/ZsTnIFiSfM0fdw7jh9PLpodxQA6UzRnI4jsMEPdswPU, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/VR949I-ZoXbrloy41GncGo2DUEY5YUu29KE096R4FWo: created acme-client: https://127.0.0.1:14000/chalZ/OCrKRhQ_KtIVS38QjtYg2LUH1dgimPWEFwGkM3qNYV8: challenge acme-client: https://127.0.0.1:14000/chalZ/ZsTnIFiSfM0fdw7jh9PLpodxQA6UzRnI4jsMEPdswPU: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/CrKydwcntiB-CrXcgbMmMABUOe5QUBEZGomsr1X51a0 acme-client: challenge, token: oA5B78Qa8BrKr0tI2GBgV6Tc_pEhl8hvqRNzoOmH8U4, uri: https://127.0.0.1:14000/chalZ/zg_WiVQQiEFxkbz-YnrFI6zr3OjRSaq4oDKyQMZWCdA, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/uY0Rw-z8e2Ge9P4ZRmBxDZr3fSs1Ph_p0Cxy--6V_LI acme-client: challenge, token: CtX9nQG4HnbXQgkcRlwmwMavBYBmrd60LucLI9rDfK8, uri: https://127.0.0.1:14000/chalZ/OCrKRhQ_KtIVS38QjtYg2LUH1dgimPWEFwGkM3qNYV8, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/lsZrqycJWyGCghhLIn1hT8TtNxX8GKWPPPJqrqVKrz8 acme-client: challenge, token: VR949I-ZoXbrloy41GncGo2DUEY5YUu29KE096R4FWo, uri: https://127.0.0.1:14000/chalZ/ZsTnIFiSfM0fdw7jh9PLpodxQA6UzRnI4jsMEPdswPU, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/bLwYNGA0Buu4inHYEGNifFoRh386zZbeIjmAHpUSsl4: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/06e5936498f1eb39: 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/6c5307b2ff53e23d 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/6c5307b2ff53e23d acme-client: https://127.0.0.1:14000/finalize-order/ilFESv8jBR5Lr8TQj760RiTS9H5jwysHP8HmcQQD0K0: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/2f2996b61c66103f: 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/6c5307b2ff53e23d 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"