==== 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" 40764 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/50bab72b270b8d11 acme-client: dochngreq: https://127.0.0.1:14000/authZ/siBtm_9aj2qhRRF9JrT_ePATER-Yo02wt_pmEgIduJw acme-client: challenge, token: Yb9ih4jK-GJ4q9deg_Nm10P-h_TJcFi7W4xVz7QiYyI, uri: https://127.0.0.1:14000/chalZ/RNfsOC2PqsO6tYA5HjI4lGNxgRgOH4h1zEzs0KvbCRI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Yb9ih4jK-GJ4q9deg_Nm10P-h_TJcFi7W4xVz7QiYyI: created acme-client: https://127.0.0.1:14000/chalZ/RNfsOC2PqsO6tYA5HjI4lGNxgRgOH4h1zEzs0KvbCRI: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/siBtm_9aj2qhRRF9JrT_ePATER-Yo02wt_pmEgIduJw acme-client: challenge, token: Yb9ih4jK-GJ4q9deg_Nm10P-h_TJcFi7W4xVz7QiYyI, uri: https://127.0.0.1:14000/chalZ/RNfsOC2PqsO6tYA5HjI4lGNxgRgOH4h1zEzs0KvbCRI, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/FIvN21yILA8D_pHfr7SRyNWY_OwHLHbPruZXNfLckcs: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/11f80ff319f25a0a: certificate account key: https://127.0.0.1:14000/my-account/50bab72b270b8d11 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/50bab72b270b8d11 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/50bab72b270b8d11 acme-client: dochngreq: https://127.0.0.1:14000/authZ/deO4eo9dSedxUUw7Gjik1-IYerakRkirHh-hrIXYogA acme-client: challenge, token: 7PvWlSaY9-jYdfDrHyNeM3QEk68pYPGk5JsT5z4Shsk, uri: https://127.0.0.1:14000/chalZ/m9a6A_hr9Ha5O5m1ePlb_MX0Epnl4Z-Yybv5yhKMzac, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/7PvWlSaY9-jYdfDrHyNeM3QEk68pYPGk5JsT5z4Shsk: created acme-client: https://127.0.0.1:14000/chalZ/m9a6A_hr9Ha5O5m1ePlb_MX0Epnl4Z-Yybv5yhKMzac: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/deO4eo9dSedxUUw7Gjik1-IYerakRkirHh-hrIXYogA acme-client: challenge, token: 7PvWlSaY9-jYdfDrHyNeM3QEk68pYPGk5JsT5z4Shsk, uri: https://127.0.0.1:14000/chalZ/m9a6A_hr9Ha5O5m1ePlb_MX0Epnl4Z-Yybv5yhKMzac, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/KZgKeUSPvW9duX3IfXHsuSs8WT52kirPlYNn90UrFJE: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/1ceb61ff5582c075: 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/50bab72b270b8d11 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/50bab72b270b8d11 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Z-_rzUB3UsoZhLyLtrTGtKmXxlATOTMvzD5AU-tOimU acme-client: challenge, token: b8sX90vMcT14ZOaVQSzxViDi_EUSnOBelNDvWDXISIg, uri: https://127.0.0.1:14000/chalZ/fr0ck3Oxmi9Nl27DJ0CDC4E7xaqzLrjbEpnw8U91sAE, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/b8sX90vMcT14ZOaVQSzxViDi_EUSnOBelNDvWDXISIg: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/P6TYSR8NiAH_l1mgRWwifHU4PBNZfxnkCndCF4SuL5I acme-client: challenge, token: 184DxR6H8Ti-Ql5loZGqEMOCcsvRPhHgK64ow48yHgA, uri: https://127.0.0.1:14000/chalZ/--YKlyB4pz_a8-w-cGbmBmCRaXuTjeWTHWbXKyGQis4, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/184DxR6H8Ti-Ql5loZGqEMOCcsvRPhHgK64ow48yHgA: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/syMFQfoHMVPReyvivaxcOYmJ6xOSPu4GKWDyQMr8VKk acme-client: challenge, token: gEXL-1cB5dsQUO33BYH6gUHOtt2Gt_uryzVx-vvgLP0, uri: https://127.0.0.1:14000/chalZ/ZHpits5EygNEKizXfypik8sfobwHEREROBsr4H-Z5gQ, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/gEXL-1cB5dsQUO33BYH6gUHOtt2Gt_uryzVx-vvgLP0: created acme-client: https://127.0.0.1:14000/chalZ/fr0ck3Oxmi9Nl27DJ0CDC4E7xaqzLrjbEpnw8U91sAE: challenge acme-client: https://127.0.0.1:14000/chalZ/--YKlyB4pz_a8-w-cGbmBmCRaXuTjeWTHWbXKyGQis4: challenge acme-client: https://127.0.0.1:14000/chalZ/ZHpits5EygNEKizXfypik8sfobwHEREROBsr4H-Z5gQ: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Z-_rzUB3UsoZhLyLtrTGtKmXxlATOTMvzD5AU-tOimU acme-client: challenge, token: b8sX90vMcT14ZOaVQSzxViDi_EUSnOBelNDvWDXISIg, uri: https://127.0.0.1:14000/chalZ/fr0ck3Oxmi9Nl27DJ0CDC4E7xaqzLrjbEpnw8U91sAE, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/P6TYSR8NiAH_l1mgRWwifHU4PBNZfxnkCndCF4SuL5I acme-client: challenge, token: 184DxR6H8Ti-Ql5loZGqEMOCcsvRPhHgK64ow48yHgA, uri: https://127.0.0.1:14000/chalZ/--YKlyB4pz_a8-w-cGbmBmCRaXuTjeWTHWbXKyGQis4, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/syMFQfoHMVPReyvivaxcOYmJ6xOSPu4GKWDyQMr8VKk acme-client: challenge, token: gEXL-1cB5dsQUO33BYH6gUHOtt2Gt_uryzVx-vvgLP0, uri: https://127.0.0.1:14000/chalZ/ZHpits5EygNEKizXfypik8sfobwHEREROBsr4H-Z5gQ, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/ksDg5Kc3IMsuM4mTEsRsi8e5IG3KsqUiLIgjSt9BdVc: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/14fe0aee4fc71e02: 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/50bab72b270b8d11 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/50bab72b270b8d11 acme-client: https://127.0.0.1:14000/finalize-order/c93tMUOdv9vNeqSuG1rzPnQlfRceaEuOtediJ30ybK8: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/06a11d91926d9c49: 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/50bab72b270b8d11 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"