==== 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" 6587 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/4e7c82f1e2b6e8bd acme-client: dochngreq: https://127.0.0.1:14000/authZ/oOJYq4-OITcxcbwQKVsk29LrYExdqG1o3rXypW6k76I acme-client: challenge, token: eO4KyCATzHqFsMVueIfccyxmNWPgqLVKNYf2zwxwhcs, uri: https://127.0.0.1:14000/chalZ/_C8964h3qNa5T9w7zCX_5sBfJ_tpjKO0fkDRS_MzkeA, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/eO4KyCATzHqFsMVueIfccyxmNWPgqLVKNYf2zwxwhcs: created acme-client: https://127.0.0.1:14000/chalZ/_C8964h3qNa5T9w7zCX_5sBfJ_tpjKO0fkDRS_MzkeA: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/oOJYq4-OITcxcbwQKVsk29LrYExdqG1o3rXypW6k76I acme-client: challenge, token: eO4KyCATzHqFsMVueIfccyxmNWPgqLVKNYf2zwxwhcs, uri: https://127.0.0.1:14000/chalZ/_C8964h3qNa5T9w7zCX_5sBfJ_tpjKO0fkDRS_MzkeA, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/K0vDTEk9ytR9UlMHdJnlUPpl0Ae26h-J1qzbWfxFsa4: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/74fcdc969bd3de18: certificate account key: https://127.0.0.1:14000/my-account/4e7c82f1e2b6e8bd 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/4e7c82f1e2b6e8bd 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/4e7c82f1e2b6e8bd acme-client: https://127.0.0.1:14000/finalize-order/mUwUOtu5fS08jjuUT6cITC75J2wv0Rd_Qe_xcK08Ijo: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/14fa45c275607f9f: 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/4e7c82f1e2b6e8bd 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/4e7c82f1e2b6e8bd acme-client: dochngreq: https://127.0.0.1:14000/authZ/AEwnLWEzCVL1YhioLqCi4uN29E-awsCCgFVhLY4X3FM acme-client: challenge, token: xsowT_Csh6yAv-kdXT2RChrLhW9equzI4KRFm-AjLj0, uri: https://127.0.0.1:14000/chalZ/s5Dhp0DmMCqQaP-LQvgB_hs0rwpOAtawG5VQ0bGF__Y, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/xsowT_Csh6yAv-kdXT2RChrLhW9equzI4KRFm-AjLj0: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/1fimSAyebW2yy-qA4RURUwYncYCH3xcpiUsewAheSQQ acme-client: challenge, token: h4Sbqq2YJ7guAoxexoWPLnSk2o2KJs6J7htwqLw5-4g, uri: https://127.0.0.1:14000/chalZ/SNRXIcfvv48jHA3I7SBABeT9Un_1ohNeC3GbxwRj06U, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/h4Sbqq2YJ7guAoxexoWPLnSk2o2KJs6J7htwqLw5-4g: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/5dv0grBf4kFXdUJps8QkfxilXF-HN_s5RkieKy6YfFU acme-client: challenge, token: 8t-2i9Vj0BWE648c0nXBDYbvj6QI6RLeUR1Jdep0tVY, uri: https://127.0.0.1:14000/chalZ/cfnyYaWzrtcHIigbDc45SpQDYU73HedQNapsHZtGlTY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/8t-2i9Vj0BWE648c0nXBDYbvj6QI6RLeUR1Jdep0tVY: created acme-client: https://127.0.0.1:14000/chalZ/s5Dhp0DmMCqQaP-LQvgB_hs0rwpOAtawG5VQ0bGF__Y: challenge acme-client: https://127.0.0.1:14000/chalZ/SNRXIcfvv48jHA3I7SBABeT9Un_1ohNeC3GbxwRj06U: challenge acme-client: https://127.0.0.1:14000/chalZ/cfnyYaWzrtcHIigbDc45SpQDYU73HedQNapsHZtGlTY: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/AEwnLWEzCVL1YhioLqCi4uN29E-awsCCgFVhLY4X3FM acme-client: challenge, token: xsowT_Csh6yAv-kdXT2RChrLhW9equzI4KRFm-AjLj0, uri: https://127.0.0.1:14000/chalZ/s5Dhp0DmMCqQaP-LQvgB_hs0rwpOAtawG5VQ0bGF__Y, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/1fimSAyebW2yy-qA4RURUwYncYCH3xcpiUsewAheSQQ acme-client: challenge, token: h4Sbqq2YJ7guAoxexoWPLnSk2o2KJs6J7htwqLw5-4g, uri: https://127.0.0.1:14000/chalZ/SNRXIcfvv48jHA3I7SBABeT9Un_1ohNeC3GbxwRj06U, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/5dv0grBf4kFXdUJps8QkfxilXF-HN_s5RkieKy6YfFU acme-client: challenge, token: 8t-2i9Vj0BWE648c0nXBDYbvj6QI6RLeUR1Jdep0tVY, uri: https://127.0.0.1:14000/chalZ/cfnyYaWzrtcHIigbDc45SpQDYU73HedQNapsHZtGlTY, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/PMESIGM-OALAqzWo8_cs1Gzk4t8TF2PLtY2Xk2X6iWQ: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/48a0b828fe2d6621: 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/4e7c82f1e2b6e8bd 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/4e7c82f1e2b6e8bd acme-client: dochngreq: https://127.0.0.1:14000/authZ/WczhD8HwQgfFzzCuJohwabEWpcCZUhPO2hBilv5mhy4 acme-client: challenge, token: HnnQ8EFnFmqdSX1ONzLMH223_7aFv2OtZMdac8tpKDc, uri: https://127.0.0.1:14000/chalZ/yh1MBcb0zHswyHB108tRcuLxOdDux3H7Fp0asxVbJHE, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/HnnQ8EFnFmqdSX1ONzLMH223_7aFv2OtZMdac8tpKDc: created acme-client: https://127.0.0.1:14000/chalZ/yh1MBcb0zHswyHB108tRcuLxOdDux3H7Fp0asxVbJHE: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/WczhD8HwQgfFzzCuJohwabEWpcCZUhPO2hBilv5mhy4 acme-client: challenge, token: HnnQ8EFnFmqdSX1ONzLMH223_7aFv2OtZMdac8tpKDc, uri: https://127.0.0.1:14000/chalZ/yh1MBcb0zHswyHB108tRcuLxOdDux3H7Fp0asxVbJHE, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/VsiieIkoJqNF_lqLjDdB8Y2ZpbTHgqSxFx6iesvFxlY: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0674c7a5d781dd06: 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/4e7c82f1e2b6e8bd 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"