==== 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" 33827 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/b4af057f4cd2681 acme-client: dochngreq: https://127.0.0.1:14000/authZ/NV9tA4gh6MYgJdzYrte8WCqStEZl7XvMAD64q4rrfbE acme-client: challenge, token: EfYnRDPkP-7AEhw9aUB5J3IXLCAw6vgdXr9mgS55w_c, uri: https://127.0.0.1:14000/chalZ/U8-8ZysXedb8vX88uaxNVhWEp0Li5CP6a18YeXSBG0k, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/EfYnRDPkP-7AEhw9aUB5J3IXLCAw6vgdXr9mgS55w_c: created acme-client: https://127.0.0.1:14000/chalZ/U8-8ZysXedb8vX88uaxNVhWEp0Li5CP6a18YeXSBG0k: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/NV9tA4gh6MYgJdzYrte8WCqStEZl7XvMAD64q4rrfbE acme-client: challenge, token: EfYnRDPkP-7AEhw9aUB5J3IXLCAw6vgdXr9mgS55w_c, uri: https://127.0.0.1:14000/chalZ/U8-8ZysXedb8vX88uaxNVhWEp0Li5CP6a18YeXSBG0k, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/07E19JcUiPQ5N8PkG3cqlx6ZhuRwjn6J4alpDDsBrUM: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6f262522ab4bbdf4: certificate acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert.pem: created account key: https://127.0.0.1:14000/my-account/b4af057f4cd2681 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/b4af057f4cd2681 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/b4af057f4cd2681 acme-client: dochngreq: https://127.0.0.1:14000/authZ/jQDLK0-CWHDS2vIzhHem9Y-iTiszLkQyzSVhEgxcoqw acme-client: challenge, token: 2xxav8_PapBEitMpacUoz4TGwfBhAHEJeqr7RBZXdvQ, uri: https://127.0.0.1:14000/chalZ/74Ol1s_np7MwNsuIbpE08_ptG_GbalpgHh3A9EZQMHs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/2xxav8_PapBEitMpacUoz4TGwfBhAHEJeqr7RBZXdvQ: created acme-client: https://127.0.0.1:14000/chalZ/74Ol1s_np7MwNsuIbpE08_ptG_GbalpgHh3A9EZQMHs: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/jQDLK0-CWHDS2vIzhHem9Y-iTiszLkQyzSVhEgxcoqw acme-client: challenge, token: 2xxav8_PapBEitMpacUoz4TGwfBhAHEJeqr7RBZXdvQ, uri: https://127.0.0.1:14000/chalZ/74Ol1s_np7MwNsuIbpE08_ptG_GbalpgHh3A9EZQMHs, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/kyBj75Z32vdMEzfWqzGILb6s_2kmh05fu8YtAWTqBTk: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/08ef83e6c625de31: 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/b4af057f4cd2681 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/b4af057f4cd2681 acme-client: dochngreq: https://127.0.0.1:14000/authZ/bnQsLy9MUs5zJ9VQP60WZOTAFsoAYp_f5FDL8JKmd28 acme-client: challenge, token: ySc_QLojhwPa5-tiTf8TjjRJUZdxWw43xWkb4So8WoU, uri: https://127.0.0.1:14000/chalZ/LfRYOVn8nsIrs590eFpjSUJYsGOBZuZPNzc2Qk-hEp0, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/ySc_QLojhwPa5-tiTf8TjjRJUZdxWw43xWkb4So8WoU: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/J2zrLrl-_j_SsalJ25E0G49ZqmyLEcQMtegsShAVplE acme-client: challenge, token: 17KhX5y0JP_xBn4ZUwW_mwQt1Cf3hLU807e6qJTb9J0, uri: https://127.0.0.1:14000/chalZ/hwc4lNKcJi1Yq5Yvmfwy-A9EQTdilyU4JiKwSO14qro, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/17KhX5y0JP_xBn4ZUwW_mwQt1Cf3hLU807e6qJTb9J0: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/kkNkrxDUbPAllSoxGOY5MKGAq9mFv0K-yThW1xYI6n4 acme-client: challenge, token: zUPdiQKqIffGl0v-MIz-Bz3bNE34DP4w-yyX6VtXIKw, uri: https://127.0.0.1:14000/chalZ/vFHe9nhQUuEwBwXyhWi3OTvauQfbf_1Wd2eaAOxnoxo, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/zUPdiQKqIffGl0v-MIz-Bz3bNE34DP4w-yyX6VtXIKw: created acme-client: https://127.0.0.1:14000/chalZ/LfRYOVn8nsIrs590eFpjSUJYsGOBZuZPNzc2Qk-hEp0: challenge acme-client: https://127.0.0.1:14000/chalZ/hwc4lNKcJi1Yq5Yvmfwy-A9EQTdilyU4JiKwSO14qro: challenge acme-client: https://127.0.0.1:14000/chalZ/vFHe9nhQUuEwBwXyhWi3OTvauQfbf_1Wd2eaAOxnoxo: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/bnQsLy9MUs5zJ9VQP60WZOTAFsoAYp_f5FDL8JKmd28 acme-client: challenge, token: ySc_QLojhwPa5-tiTf8TjjRJUZdxWw43xWkb4So8WoU, uri: https://127.0.0.1:14000/chalZ/LfRYOVn8nsIrs590eFpjSUJYsGOBZuZPNzc2Qk-hEp0, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/J2zrLrl-_j_SsalJ25E0G49ZqmyLEcQMtegsShAVplE acme-client: challenge, token: 17KhX5y0JP_xBn4ZUwW_mwQt1Cf3hLU807e6qJTb9J0, uri: https://127.0.0.1:14000/chalZ/hwc4lNKcJi1Yq5Yvmfwy-A9EQTdilyU4JiKwSO14qro, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/kkNkrxDUbPAllSoxGOY5MKGAq9mFv0K-yThW1xYI6n4 acme-client: challenge, token: zUPdiQKqIffGl0v-MIz-Bz3bNE34DP4w-yyX6VtXIKw, uri: https://127.0.0.1:14000/chalZ/vFHe9nhQUuEwBwXyhWi3OTvauQfbf_1Wd2eaAOxnoxo, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/67W1tqOCiI1p0A1kShhF3jc_76R2ippvCx2oaXYhSsM: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0b79cb8b5a10eba0: 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/b4af057f4cd2681 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/b4af057f4cd2681 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Q8UlcPR6cuKj6pHWEcViLCizP9oCSgMVu3E1dntH_sM acme-client: challenge, token: FD9z3Ep-io04TTKR0xHV24sDGGSZK7Pf_9BF2HpyWJM, uri: https://127.0.0.1:14000/chalZ/S__JKPLtWBeJzWm2_u8rbTc4rv4_RIh_0gvuz1nOCwA, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/FD9z3Ep-io04TTKR0xHV24sDGGSZK7Pf_9BF2HpyWJM: created acme-client: https://127.0.0.1:14000/chalZ/S__JKPLtWBeJzWm2_u8rbTc4rv4_RIh_0gvuz1nOCwA: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Q8UlcPR6cuKj6pHWEcViLCizP9oCSgMVu3E1dntH_sM acme-client: challenge, token: FD9z3Ep-io04TTKR0xHV24sDGGSZK7Pf_9BF2HpyWJM, uri: https://127.0.0.1:14000/chalZ/S__JKPLtWBeJzWm2_u8rbTc4rv4_RIh_0gvuz1nOCwA, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/TPSViP44NMbw_fmWN1O3v_2C_oZ2DEMZ7HvhZ-xZy0I: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/47136d0ddb565c69: 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/b4af057f4cd2681 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/42b4079bdb7aa46b acme-client: dochngreq: https://127.0.0.1:14001/authZ/GuJTgKDI5x7LQCDjVMjeInVREgjcr5qv_GGsJ2nl6Ik acme-client: challenge, token: VwgjTHp5yQf5Huxqo3CcyvQsINnrfVmjFk4BzyFNh8k, uri: https://127.0.0.1:14001/chalZ/XFbL623kMRm-SPQ8xh8yEiWbhIqSrW1TNF6p4MzOa_w, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/VwgjTHp5yQf5Huxqo3CcyvQsINnrfVmjFk4BzyFNh8k: created acme-client: https://127.0.0.1:14001/chalZ/XFbL623kMRm-SPQ8xh8yEiWbhIqSrW1TNF6p4MzOa_w: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/GuJTgKDI5x7LQCDjVMjeInVREgjcr5qv_GGsJ2nl6Ik acme-client: challenge, token: VwgjTHp5yQf5Huxqo3CcyvQsINnrfVmjFk4BzyFNh8k, uri: https://127.0.0.1:14001/chalZ/XFbL623kMRm-SPQ8xh8yEiWbhIqSrW1TNF6p4MzOa_w, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/NWFCe0vZ9GKjsKHu47i6OxTHUp8ObnooSgVDBD1BSHU: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/0240f94aacd9e4fa: certificate account key: https://127.0.0.1:14001/my-account/42b4079bdb7aa46b 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"