==== 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" 10933 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/7ea0f36bd0808083 acme-client: dochngreq: https://127.0.0.1:14000/authZ/H_EapALq20sa6NwWH6HxcSZ11OVnhu3hmLl-xbDp71w acme-client: challenge, token: 17o1w3hg9qg7b_S6I3_79vTb5AhIYb6xBeWLhWlb04s, uri: https://127.0.0.1:14000/chalZ/kSx0p-uRefj71zNgqfjdQNTtLcOKFdrw8mbB_DFzbGc, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/17o1w3hg9qg7b_S6I3_79vTb5AhIYb6xBeWLhWlb04s: created acme-client: https://127.0.0.1:14000/chalZ/kSx0p-uRefj71zNgqfjdQNTtLcOKFdrw8mbB_DFzbGc: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/H_EapALq20sa6NwWH6HxcSZ11OVnhu3hmLl-xbDp71w acme-client: challenge, token: 17o1w3hg9qg7b_S6I3_79vTb5AhIYb6xBeWLhWlb04s, uri: https://127.0.0.1:14000/chalZ/kSx0p-uRefj71zNgqfjdQNTtLcOKFdrw8mbB_DFzbGc, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/mw-SAbEhUlRliuGYgJeqlU89Zkc6FyqD4ua0MMtPu7s: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/03156cd37e3da97d: certificate account key: https://127.0.0.1:14000/my-account/7ea0f36bd0808083 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/7ea0f36bd0808083 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/7ea0f36bd0808083 acme-client: dochngreq: https://127.0.0.1:14000/authZ/8tK-iN6KvP6jwNSs-SM90C9ywxKQA0yTJ9pAOvmdSYI acme-client: challenge, token: CtyqPjyb7YWsGEi2ChIIlNEzfvO8uWm91UvmAdkcpdM, uri: https://127.0.0.1:14000/chalZ/Gu4DEYJltoscRx9Kz4vdtvneGLePhrO7MFJn_M4cHdU, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/CtyqPjyb7YWsGEi2ChIIlNEzfvO8uWm91UvmAdkcpdM: created acme-client: https://127.0.0.1:14000/chalZ/Gu4DEYJltoscRx9Kz4vdtvneGLePhrO7MFJn_M4cHdU: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/8tK-iN6KvP6jwNSs-SM90C9ywxKQA0yTJ9pAOvmdSYI acme-client: challenge, token: CtyqPjyb7YWsGEi2ChIIlNEzfvO8uWm91UvmAdkcpdM, uri: https://127.0.0.1:14000/chalZ/Gu4DEYJltoscRx9Kz4vdtvneGLePhrO7MFJn_M4cHdU, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/Q_AA1hrWe5uOyv8M7iAZ_kL6hnRTbOSlNgXau12B-S0: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/05fea78354d22675: 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/7ea0f36bd0808083 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/7ea0f36bd0808083 acme-client: dochngreq: https://127.0.0.1:14000/authZ/1-Qwu2jHkt9HrLVyImt0F72Hov402jcnWQXrt-PLH-E acme-client: challenge, token: ZPu4yLYks2Y4cgPYEH2ER8NHkgTtHwO1Otw0c8w08_8, uri: https://127.0.0.1:14000/chalZ/RIAmRWNcvLuYSXTt5ShIuoFvj8cfRJ8At9T5hPAdu3Q, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/ZPu4yLYks2Y4cgPYEH2ER8NHkgTtHwO1Otw0c8w08_8: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/xiSIhMqtv_ihqvH4kM8S2KksArEX2HmJtenJuV4Wx10 acme-client: challenge, token: PTIbp6KVM5jvGj-4GjnP3lvxyCsD36GF9ZVcivuf7ss, uri: https://127.0.0.1:14000/chalZ/pYCPG-nXzXIMEHJkPzCDmTwy7Lal7nrVHdF1N69kSeQ, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/PTIbp6KVM5jvGj-4GjnP3lvxyCsD36GF9ZVcivuf7ss: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/4uQciz3fVv3jTG9pulln54XZGNzB8R-c25VAF4WF3UQ acme-client: challenge, token: aIv8ZDOMsyO_YrueXKPB0a0LRYCLLfCascYcPZfEvJU, uri: https://127.0.0.1:14000/chalZ/_n-LHeixjL6tEZEXyCyspnp-Qjtk1il6xJzA88x4gIg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/aIv8ZDOMsyO_YrueXKPB0a0LRYCLLfCascYcPZfEvJU: created acme-client: https://127.0.0.1:14000/chalZ/RIAmRWNcvLuYSXTt5ShIuoFvj8cfRJ8At9T5hPAdu3Q: challenge acme-client: https://127.0.0.1:14000/chalZ/pYCPG-nXzXIMEHJkPzCDmTwy7Lal7nrVHdF1N69kSeQ: challenge acme-client: https://127.0.0.1:14000/chalZ/_n-LHeixjL6tEZEXyCyspnp-Qjtk1il6xJzA88x4gIg: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/1-Qwu2jHkt9HrLVyImt0F72Hov402jcnWQXrt-PLH-E acme-client: challenge, token: ZPu4yLYks2Y4cgPYEH2ER8NHkgTtHwO1Otw0c8w08_8, uri: https://127.0.0.1:14000/chalZ/RIAmRWNcvLuYSXTt5ShIuoFvj8cfRJ8At9T5hPAdu3Q, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/xiSIhMqtv_ihqvH4kM8S2KksArEX2HmJtenJuV4Wx10 acme-client: challenge, token: PTIbp6KVM5jvGj-4GjnP3lvxyCsD36GF9ZVcivuf7ss, uri: https://127.0.0.1:14000/chalZ/pYCPG-nXzXIMEHJkPzCDmTwy7Lal7nrVHdF1N69kSeQ, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/4uQciz3fVv3jTG9pulln54XZGNzB8R-c25VAF4WF3UQ acme-client: challenge, token: aIv8ZDOMsyO_YrueXKPB0a0LRYCLLfCascYcPZfEvJU, uri: https://127.0.0.1:14000/chalZ/_n-LHeixjL6tEZEXyCyspnp-Qjtk1il6xJzA88x4gIg, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/GjjRLdngR-bYt8peY6TZLrs5-B_L7mlW636yf0FrFH4: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/10d18582905fc9b7: 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/7ea0f36bd0808083 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/7ea0f36bd0808083 acme-client: dochngreq: https://127.0.0.1:14000/authZ/0Y78vbGPCSM-OHlkTwRr6j0TexlMZUq6Ys88x5rHtj4 acme-client: challenge, token: D198vhSc5wYQ-nhbAa7ESGRK3GSmF2mpMp85bkDMLB0, uri: https://127.0.0.1:14000/chalZ/1ZMMpY1KYswxRe-zSbuwa31B8QNVMX235lTAZ2NWxQc, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/D198vhSc5wYQ-nhbAa7ESGRK3GSmF2mpMp85bkDMLB0: created acme-client: https://127.0.0.1:14000/chalZ/1ZMMpY1KYswxRe-zSbuwa31B8QNVMX235lTAZ2NWxQc: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/0Y78vbGPCSM-OHlkTwRr6j0TexlMZUq6Ys88x5rHtj4 acme-client: challenge, token: D198vhSc5wYQ-nhbAa7ESGRK3GSmF2mpMp85bkDMLB0, uri: https://127.0.0.1:14000/chalZ/1ZMMpY1KYswxRe-zSbuwa31B8QNVMX235lTAZ2NWxQc, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/Th4VZyGAb_YB5wwxcOeGgYHQjHB2UVSPsmBIfXDin2Y: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/07396d8a78f5e824: 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/7ea0f36bd0808083 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/526bae463a1403be acme-client: dochngreq: https://127.0.0.1:14001/authZ/s5ZHtsFXKPgeZkEMH31H55MFKuSfK9y--H3bDTdaUgk acme-client: challenge, token: 9Y_9yWA5tG8F4vUVWgad-uFx2CGtL9SEV0I28_k7bss, uri: https://127.0.0.1:14001/chalZ/8aUTviKcL1xsPKhPBGOHK4PjJ5hDEdL8tTFA-SBAlBI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/9Y_9yWA5tG8F4vUVWgad-uFx2CGtL9SEV0I28_k7bss: created acme-client: https://127.0.0.1:14001/chalZ/8aUTviKcL1xsPKhPBGOHK4PjJ5hDEdL8tTFA-SBAlBI: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/s5ZHtsFXKPgeZkEMH31H55MFKuSfK9y--H3bDTdaUgk acme-client: challenge, token: 9Y_9yWA5tG8F4vUVWgad-uFx2CGtL9SEV0I28_k7bss, uri: https://127.0.0.1:14001/chalZ/8aUTviKcL1xsPKhPBGOHK4PjJ5hDEdL8tTFA-SBAlBI, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/ILIC8-fmX3G5-sq-aF4Lx0phupG1shuusKJi_59Fj-Q: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/4b041c1e84644b58: certificate account key: https://127.0.0.1:14001/my-account/526bae463a1403be 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"