==== 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" 31052 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/4d9be65c7b794b7e acme-client: dochngreq: https://127.0.0.1:14000/authZ/y8_qHurbfzm_Odq_MnK-NB96ls6miqEU_pSI1MOiuF8 acme-client: challenge, token: I11KixHSABPTfVPtBFvDxrJf3iyr_phq8WCEmY-uhyw, uri: https://127.0.0.1:14000/chalZ/g4V8rov2eBRsp5znM_NHjZeOdUiVe6WYE7CQjruhIx0, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/I11KixHSABPTfVPtBFvDxrJf3iyr_phq8WCEmY-uhyw: created acme-client: https://127.0.0.1:14000/chalZ/g4V8rov2eBRsp5znM_NHjZeOdUiVe6WYE7CQjruhIx0: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/y8_qHurbfzm_Odq_MnK-NB96ls6miqEU_pSI1MOiuF8 acme-client: challenge, token: I11KixHSABPTfVPtBFvDxrJf3iyr_phq8WCEmY-uhyw, uri: https://127.0.0.1:14000/chalZ/g4V8rov2eBRsp5znM_NHjZeOdUiVe6WYE7CQjruhIx0, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/tNxJujvWZpIE_odJi-UA29Sf3XgKXaQ0LMtZcSGyf-Q: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/487ee942ca47a14e: certificate account key: https://127.0.0.1:14000/my-account/4d9be65c7b794b7e 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/4d9be65c7b794b7e 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/4d9be65c7b794b7e acme-client: dochngreq: https://127.0.0.1:14000/authZ/jPt8CzFk8IrFSlS7y9W5JSGKWEinaUuy8n2kD8fRaDQ acme-client: challenge, token: 98Y4tJwleZhpS0mi9AEfoAmolcFB7-YP8h9ufJZsysE, uri: https://127.0.0.1:14000/chalZ/Ok6mEhow-_OX5Nrf8qI0kfMuXv81QKxah3YzVjzrcUg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/98Y4tJwleZhpS0mi9AEfoAmolcFB7-YP8h9ufJZsysE: created acme-client: https://127.0.0.1:14000/chalZ/Ok6mEhow-_OX5Nrf8qI0kfMuXv81QKxah3YzVjzrcUg: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/jPt8CzFk8IrFSlS7y9W5JSGKWEinaUuy8n2kD8fRaDQ acme-client: challenge, token: 98Y4tJwleZhpS0mi9AEfoAmolcFB7-YP8h9ufJZsysE, uri: https://127.0.0.1:14000/chalZ/Ok6mEhow-_OX5Nrf8qI0kfMuXv81QKxah3YzVjzrcUg, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/bcQLDRnxmMoa6KzrxZedx7-Xe2E13hMCLkh28Gj64rM: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/1c78c9ddb9fb50c0: 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/4d9be65c7b794b7e 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/4d9be65c7b794b7e acme-client: dochngreq: https://127.0.0.1:14000/authZ/y8_qHurbfzm_Odq_MnK-NB96ls6miqEU_pSI1MOiuF8 acme-client: challenge, token: I11KixHSABPTfVPtBFvDxrJf3iyr_phq8WCEmY-uhyw, uri: https://127.0.0.1:14000/chalZ/g4V8rov2eBRsp5znM_NHjZeOdUiVe6WYE7CQjruhIx0, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/sFyOyzyR85fLa_lFdBZeKE9boMslSnriD4kr2Vl2elA acme-client: challenge, token: B5LgohFzzFsqLsIRVKvH7qZD2494KnPZJpBco10eDCc, uri: https://127.0.0.1:14000/chalZ/xYC_pmbbKe_xVR4qSyfhzb9dR2I2zlV96__SmrCburI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/B5LgohFzzFsqLsIRVKvH7qZD2494KnPZJpBco10eDCc: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/JtZ6EP6YYP9_uQAhlzcxfWvB_AO0yaCrUtisujL8VbA acme-client: challenge, token: lT-NYNdHSDtVKYzBKpSLOLiMC2Z7E2Ga8v1gJiiSnDU, uri: https://127.0.0.1:14000/chalZ/d0wGVYcBdyPySmjkjDEwe7cL9TXuVlhmn60iJmR1G9Y, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/lT-NYNdHSDtVKYzBKpSLOLiMC2Z7E2Ga8v1gJiiSnDU: created acme-client: https://127.0.0.1:14000/chalZ/xYC_pmbbKe_xVR4qSyfhzb9dR2I2zlV96__SmrCburI: challenge acme-client: https://127.0.0.1:14000/chalZ/d0wGVYcBdyPySmjkjDEwe7cL9TXuVlhmn60iJmR1G9Y: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/y8_qHurbfzm_Odq_MnK-NB96ls6miqEU_pSI1MOiuF8 acme-client: challenge, token: I11KixHSABPTfVPtBFvDxrJf3iyr_phq8WCEmY-uhyw, uri: https://127.0.0.1:14000/chalZ/g4V8rov2eBRsp5znM_NHjZeOdUiVe6WYE7CQjruhIx0, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/sFyOyzyR85fLa_lFdBZeKE9boMslSnriD4kr2Vl2elA acme-client: challenge, token: B5LgohFzzFsqLsIRVKvH7qZD2494KnPZJpBco10eDCc, uri: https://127.0.0.1:14000/chalZ/xYC_pmbbKe_xVR4qSyfhzb9dR2I2zlV96__SmrCburI, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/JtZ6EP6YYP9_uQAhlzcxfWvB_AO0yaCrUtisujL8VbA acme-client: challenge, token: lT-NYNdHSDtVKYzBKpSLOLiMC2Z7E2Ga8v1gJiiSnDU, uri: https://127.0.0.1:14000/chalZ/d0wGVYcBdyPySmjkjDEwe7cL9TXuVlhmn60iJmR1G9Y, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/d5MJdQ2WsUYBeXoVDP-arzHLbinbr3MsSLVNR-NviFE: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/5ed9fd1c7ea8e6da: 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/4d9be65c7b794b7e 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/4d9be65c7b794b7e acme-client: dochngreq: https://127.0.0.1:14000/authZ/whLMsiWklrczG2qRFeHE5uHZlwg-SCmVy_OFOMQR5Go acme-client: challenge, token: LhlImSMxYzOZ9Zf6y2fqPS_RTzeEFH3oI5EY_sy10rM, uri: https://127.0.0.1:14000/chalZ/kGPAZWNh8BiTeDoBgyiFCuI27XucFLMrSlnpYz1fYhk, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/LhlImSMxYzOZ9Zf6y2fqPS_RTzeEFH3oI5EY_sy10rM: created acme-client: https://127.0.0.1:14000/chalZ/kGPAZWNh8BiTeDoBgyiFCuI27XucFLMrSlnpYz1fYhk: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/whLMsiWklrczG2qRFeHE5uHZlwg-SCmVy_OFOMQR5Go acme-client: challenge, token: LhlImSMxYzOZ9Zf6y2fqPS_RTzeEFH3oI5EY_sy10rM, uri: https://127.0.0.1:14000/chalZ/kGPAZWNh8BiTeDoBgyiFCuI27XucFLMrSlnpYz1fYhk, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/0yoCvHgXMuzfVDJ1A1XFTFNKeIYqH1EFiwlAdlpcQGQ: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/4de47486e2313f12: 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/4d9be65c7b794b7e 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/46151be4899ffa61 acme-client: dochngreq: https://127.0.0.1:14001/authZ/UZYoCNV5PfMeGsuHQzuOGxllVkjLdtxlanovSe4xf8Y acme-client: challenge, token: oZW1Y8k2K8iNqzeWV7-fyfyRHqmQMR5Fn1vXVTorYu4, uri: https://127.0.0.1:14001/chalZ/hcEw4VoDTKvYVWQo_Ybj59YxhzRdcA1n8VpomRUqGts, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/oZW1Y8k2K8iNqzeWV7-fyfyRHqmQMR5Fn1vXVTorYu4: created acme-client: https://127.0.0.1:14001/chalZ/hcEw4VoDTKvYVWQo_Ybj59YxhzRdcA1n8VpomRUqGts: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/UZYoCNV5PfMeGsuHQzuOGxllVkjLdtxlanovSe4xf8Y acme-client: challenge, token: oZW1Y8k2K8iNqzeWV7-fyfyRHqmQMR5Fn1vXVTorYu4, uri: https://127.0.0.1:14001/chalZ/hcEw4VoDTKvYVWQo_Ybj59YxhzRdcA1n8VpomRUqGts, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/XZWlU321R6zGX-cDl8DAbqF_3WwCKJkLbdGTN5qM0YI: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/4f470e5202d8ada1: certificate account key: https://127.0.0.1:14001/my-account/46151be4899ffa61 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"