==== 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" 76676 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/317470ff4b57d3cd acme-client: dochngreq: https://127.0.0.1:14000/authZ/uMB2kb11wGL0tc2rVeKotQTVjAzXjf1MY_3uQUPc-1Q acme-client: challenge, token: 7IprKSOBtJI-IUlkKHrm24e8klBw2x2jnwknjQXPpPg, uri: https://127.0.0.1:14000/chalZ/4yqTVNIhXoFj8KGIpOpMg4Q5_bOzfVGNp6VBo49bgyA, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/7IprKSOBtJI-IUlkKHrm24e8klBw2x2jnwknjQXPpPg: created acme-client: https://127.0.0.1:14000/chalZ/4yqTVNIhXoFj8KGIpOpMg4Q5_bOzfVGNp6VBo49bgyA: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/uMB2kb11wGL0tc2rVeKotQTVjAzXjf1MY_3uQUPc-1Q acme-client: challenge, token: 7IprKSOBtJI-IUlkKHrm24e8klBw2x2jnwknjQXPpPg, uri: https://127.0.0.1:14000/chalZ/4yqTVNIhXoFj8KGIpOpMg4Q5_bOzfVGNp6VBo49bgyA, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/OUsADkoiRI9sMu63joHH4FoMY-RgjbhD_CwcZYhMNIA: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/168ab9d027936bd9: certificate account key: https://127.0.0.1:14000/my-account/317470ff4b57d3cd 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/317470ff4b57d3cd 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/317470ff4b57d3cd acme-client: dochngreq: https://127.0.0.1:14000/authZ/fiUFqrhsbe0KmF71_PqKPXGvGdpo-YWPCH-6fMxyokU acme-client: challenge, token: uwErDKecBQrk5WR7B_pPmX0KWt9ZMawKvFp1DpBYwbs, uri: https://127.0.0.1:14000/chalZ/SR-3f6og_prS8w46whuMh4fY6LJD3GRtv6WESufA4D0, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/uwErDKecBQrk5WR7B_pPmX0KWt9ZMawKvFp1DpBYwbs: created acme-client: https://127.0.0.1:14000/chalZ/SR-3f6og_prS8w46whuMh4fY6LJD3GRtv6WESufA4D0: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/fiUFqrhsbe0KmF71_PqKPXGvGdpo-YWPCH-6fMxyokU acme-client: challenge, token: uwErDKecBQrk5WR7B_pPmX0KWt9ZMawKvFp1DpBYwbs, uri: https://127.0.0.1:14000/chalZ/SR-3f6og_prS8w46whuMh4fY6LJD3GRtv6WESufA4D0, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/x_p0CkJ5cxMIi-wCZX6D5PELusR30nvdZubox7zmCsg: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/668710f6d0154e5e: 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/317470ff4b57d3cd 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/317470ff4b57d3cd acme-client: dochngreq: https://127.0.0.1:14000/authZ/fscchanpipfhYh4cOqFulTEZaESMcULLPX0KSsdWD_U acme-client: challenge, token: s3hqdT5IUZ43fD7Znwueclhp1Alw5Zv2PJ-UwA6u9z8, uri: https://127.0.0.1:14000/chalZ/OQHarHW6KsoG4sFqLOPIPMFyLR-udKoi3juJuZ6etCU, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/s3hqdT5IUZ43fD7Znwueclhp1Alw5Zv2PJ-UwA6u9z8: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/-bgowXJlG5km4b-Ufn6BYX120Egb1VmKIzr8hOcbAuE acme-client: challenge, token: 6_h0LOZAKrsY9BEunWLbtOLYCGZibqtKGt2EYVez03A, uri: https://127.0.0.1:14000/chalZ/HLkgVuyA5dGcjuyYQeMlKRCFXj7cp3JcewT1QI8fP1g, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/6_h0LOZAKrsY9BEunWLbtOLYCGZibqtKGt2EYVez03A: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/B3eXP2mKX79UbpALz-Pe3Ijs7yMXuHMUkuY9gagTEag acme-client: challenge, token: xcIon61PeefetYAeiHSbV5v4owsvxVx648fgfxMMCLs, uri: https://127.0.0.1:14000/chalZ/oCU7xIDNOOQzo20YbLW5rwzbuCh91Vzt4rOtovWqFzs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/xcIon61PeefetYAeiHSbV5v4owsvxVx648fgfxMMCLs: created acme-client: https://127.0.0.1:14000/chalZ/OQHarHW6KsoG4sFqLOPIPMFyLR-udKoi3juJuZ6etCU: challenge acme-client: https://127.0.0.1:14000/chalZ/HLkgVuyA5dGcjuyYQeMlKRCFXj7cp3JcewT1QI8fP1g: challenge acme-client: https://127.0.0.1:14000/chalZ/oCU7xIDNOOQzo20YbLW5rwzbuCh91Vzt4rOtovWqFzs: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/fscchanpipfhYh4cOqFulTEZaESMcULLPX0KSsdWD_U acme-client: challenge, token: s3hqdT5IUZ43fD7Znwueclhp1Alw5Zv2PJ-UwA6u9z8, uri: https://127.0.0.1:14000/chalZ/OQHarHW6KsoG4sFqLOPIPMFyLR-udKoi3juJuZ6etCU, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/-bgowXJlG5km4b-Ufn6BYX120Egb1VmKIzr8hOcbAuE acme-client: challenge, token: 6_h0LOZAKrsY9BEunWLbtOLYCGZibqtKGt2EYVez03A, uri: https://127.0.0.1:14000/chalZ/HLkgVuyA5dGcjuyYQeMlKRCFXj7cp3JcewT1QI8fP1g, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/B3eXP2mKX79UbpALz-Pe3Ijs7yMXuHMUkuY9gagTEag acme-client: challenge, token: xcIon61PeefetYAeiHSbV5v4owsvxVx648fgfxMMCLs, uri: https://127.0.0.1:14000/chalZ/oCU7xIDNOOQzo20YbLW5rwzbuCh91Vzt4rOtovWqFzs, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/y9S3vXngY9M2nW_zruPKCe7_N-rDHujNwwK2X5y6ptc: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/1b9ebc1ec4123bd4: 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/317470ff4b57d3cd 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/317470ff4b57d3cd acme-client: https://127.0.0.1:14000/finalize-order/-8tsh2hKmkVdJgCc8M_X0yPci2As-IxuSuMDGi41Vtg: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/68bb456a8f8f7a84: 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/317470ff4b57d3cd 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/35da0706a26b5795 acme-client: dochngreq: https://127.0.0.1:14001/authZ/Ng-W-PTaENH_SFPslL6Nj8_-1eMMI3vNuPwtS-UvyCY acme-client: challenge, token: hTgS8N-YavEsM3ssxmt1vWue3ECSrRKOmCViEwUnbvI, uri: https://127.0.0.1:14001/chalZ/_Q4HycabEAQM0hRTkBbjNMXd-KYDZaECMmN4gHFEAWE, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/hTgS8N-YavEsM3ssxmt1vWue3ECSrRKOmCViEwUnbvI: created acme-client: https://127.0.0.1:14001/chalZ/_Q4HycabEAQM0hRTkBbjNMXd-KYDZaECMmN4gHFEAWE: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/Ng-W-PTaENH_SFPslL6Nj8_-1eMMI3vNuPwtS-UvyCY acme-client: challenge, token: hTgS8N-YavEsM3ssxmt1vWue3ECSrRKOmCViEwUnbvI, uri: https://127.0.0.1:14001/chalZ/_Q4HycabEAQM0hRTkBbjNMXd-KYDZaECMmN4gHFEAWE, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/1FfuggyhK4rC-ibhWhN6xieyPSHYsA13Ibgw2LAXYkM: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/364dea8151e2631e: certificate account key: https://127.0.0.1:14001/my-account/35da0706a26b5795 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"