==== 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" 9562 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/120256bf4d9e71e9 acme-client: dochngreq: https://127.0.0.1:14000/authZ/WQcM5h8z0ADkVkqNDXNR-ZiFK_Oo9SXAntBYUkChE6U acme-client: challenge, token: SDgfFAcbtzYoANxMh_Dgoky-VFd-kQFSADUIzhcbKZE, uri: https://127.0.0.1:14000/chalZ/rNw4WFXAG5Rk-GfuAPXspLYpf4dN1rQZCHkz4Z6CLqQ, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/SDgfFAcbtzYoANxMh_Dgoky-VFd-kQFSADUIzhcbKZE: created acme-client: https://127.0.0.1:14000/chalZ/rNw4WFXAG5Rk-GfuAPXspLYpf4dN1rQZCHkz4Z6CLqQ: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/WQcM5h8z0ADkVkqNDXNR-ZiFK_Oo9SXAntBYUkChE6U acme-client: challenge, token: SDgfFAcbtzYoANxMh_Dgoky-VFd-kQFSADUIzhcbKZE, uri: https://127.0.0.1:14000/chalZ/rNw4WFXAG5Rk-GfuAPXspLYpf4dN1rQZCHkz4Z6CLqQ, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/ZaE0GYEAaWD8ePSv34vv9DMWR0Sq0tBMFv5PhzFgVWE: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7b5bb7efdaa6b33a: certificate account key: https://127.0.0.1:14000/my-account/120256bf4d9e71e9 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/120256bf4d9e71e9 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/120256bf4d9e71e9 acme-client: dochngreq: https://127.0.0.1:14000/authZ/7JWEPb2VXXXaS823AzhV2HOGymr8ikd2Xsw4TvDOODY acme-client: challenge, token: T80jhMHfmEJik2tOVf9HIpaMIN5G2lbT-fbc0v9DaMc, uri: https://127.0.0.1:14000/chalZ/c87c2I6-pf9YSxKaM7pFBzeJZSAtuXchk_mXoBwICjo, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/T80jhMHfmEJik2tOVf9HIpaMIN5G2lbT-fbc0v9DaMc: created acme-client: https://127.0.0.1:14000/chalZ/c87c2I6-pf9YSxKaM7pFBzeJZSAtuXchk_mXoBwICjo: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/7JWEPb2VXXXaS823AzhV2HOGymr8ikd2Xsw4TvDOODY acme-client: challenge, token: T80jhMHfmEJik2tOVf9HIpaMIN5G2lbT-fbc0v9DaMc, uri: https://127.0.0.1:14000/chalZ/c87c2I6-pf9YSxKaM7pFBzeJZSAtuXchk_mXoBwICjo, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/oEn1Fybryyc-Py57X1bSgs66YyxrJmqqLVLYWJxNHtk: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7ed3f813985ac869: 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/120256bf4d9e71e9 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/120256bf4d9e71e9 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Jo7TbV8dqh7_e4GkuHhNbeJnvFR1UG2dJ7TpVqk6sp4 acme-client: challenge, token: icrbZTqaa0nM8UIUcZIX1HmvMUVqr_XZkDR2T29MVOw, uri: https://127.0.0.1:14000/chalZ/yYTB6LG7zPtyMDXQ9-7incv6ojGiUrXvgFTsU-nelnk, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/icrbZTqaa0nM8UIUcZIX1HmvMUVqr_XZkDR2T29MVOw: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/hN-fZ4FlAujHIlBlV3jzl3Wk1PIDQBLRtlOoSrgbrcE acme-client: challenge, token: qJRz0BH2TYj05XbE4odNw0C0fD6Vdkd3S2a5jDGYcL0, uri: https://127.0.0.1:14000/chalZ/TP4BsaCePKCh44yymKAHfKou9syf0ZrNuLolZy7OCZc, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/qJRz0BH2TYj05XbE4odNw0C0fD6Vdkd3S2a5jDGYcL0: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/WQcM5h8z0ADkVkqNDXNR-ZiFK_Oo9SXAntBYUkChE6U acme-client: challenge, token: SDgfFAcbtzYoANxMh_Dgoky-VFd-kQFSADUIzhcbKZE, uri: https://127.0.0.1:14000/chalZ/rNw4WFXAG5Rk-GfuAPXspLYpf4dN1rQZCHkz4Z6CLqQ, status: 2 acme-client: https://127.0.0.1:14000/chalZ/yYTB6LG7zPtyMDXQ9-7incv6ojGiUrXvgFTsU-nelnk: challenge acme-client: https://127.0.0.1:14000/chalZ/TP4BsaCePKCh44yymKAHfKou9syf0ZrNuLolZy7OCZc: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Jo7TbV8dqh7_e4GkuHhNbeJnvFR1UG2dJ7TpVqk6sp4 acme-client: challenge, token: icrbZTqaa0nM8UIUcZIX1HmvMUVqr_XZkDR2T29MVOw, uri: https://127.0.0.1:14000/chalZ/yYTB6LG7zPtyMDXQ9-7incv6ojGiUrXvgFTsU-nelnk, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/hN-fZ4FlAujHIlBlV3jzl3Wk1PIDQBLRtlOoSrgbrcE acme-client: challenge, token: qJRz0BH2TYj05XbE4odNw0C0fD6Vdkd3S2a5jDGYcL0, uri: https://127.0.0.1:14000/chalZ/TP4BsaCePKCh44yymKAHfKou9syf0ZrNuLolZy7OCZc, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/WQcM5h8z0ADkVkqNDXNR-ZiFK_Oo9SXAntBYUkChE6U acme-client: challenge, token: SDgfFAcbtzYoANxMh_Dgoky-VFd-kQFSADUIzhcbKZE, uri: https://127.0.0.1:14000/chalZ/rNw4WFXAG5Rk-GfuAPXspLYpf4dN1rQZCHkz4Z6CLqQ, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/yCQiJEAowMbby8fxGCcirnpCn-iY7_OFKz9vLMagLgk: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/156c45c9bd91526f: 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/120256bf4d9e71e9 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/120256bf4d9e71e9 acme-client: https://127.0.0.1:14000/finalize-order/RRajAA1WLfox73DC_4DGy_uvYHleACZ1Nt3DmGRVlqw: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/450d2145826fcf9c: 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/120256bf4d9e71e9 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"