==== 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" 21147 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/5e7e5248f5aa3539 acme-client: dochngreq: https://127.0.0.1:14000/authZ/J0AOjAt92z81biSszDMIvQCbOe4MIdatj01CN1PAkbg acme-client: challenge, token: mN2Tj3J7Jm1sOX2atx6gsPBBS2ot2LBi__w7v3VXxmk, uri: https://127.0.0.1:14000/chalZ/ujIewoizrhLMUXE9HF41hvSzjp91FXoUfaaPcwaKcYU, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/mN2Tj3J7Jm1sOX2atx6gsPBBS2ot2LBi__w7v3VXxmk: created acme-client: https://127.0.0.1:14000/chalZ/ujIewoizrhLMUXE9HF41hvSzjp91FXoUfaaPcwaKcYU: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/J0AOjAt92z81biSszDMIvQCbOe4MIdatj01CN1PAkbg acme-client: challenge, token: mN2Tj3J7Jm1sOX2atx6gsPBBS2ot2LBi__w7v3VXxmk, uri: https://127.0.0.1:14000/chalZ/ujIewoizrhLMUXE9HF41hvSzjp91FXoUfaaPcwaKcYU, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/JOq4_OsQR_SdWq7aHfBuldtozQr07D-r_IQjRtwWvLk: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6c79efec71f0a1ce: certificate account key: https://127.0.0.1:14000/my-account/5e7e5248f5aa3539 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/5e7e5248f5aa3539 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/5e7e5248f5aa3539 acme-client: dochngreq: https://127.0.0.1:14000/authZ/7ZH9dU0HeeHEnjm9icyvUzSQ7gNDM3U4KiNFtvvKfYU acme-client: challenge, token: Khb3UNh_KjUkziT9TGJk_wsdpXd4cTCi5PSNpeHXE3E, uri: https://127.0.0.1:14000/chalZ/OscUJ0lHtBx8ffsGmH7rXgDbI4Sk3R6Iqme6hCDrN5A, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Khb3UNh_KjUkziT9TGJk_wsdpXd4cTCi5PSNpeHXE3E: created acme-client: https://127.0.0.1:14000/chalZ/OscUJ0lHtBx8ffsGmH7rXgDbI4Sk3R6Iqme6hCDrN5A: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/7ZH9dU0HeeHEnjm9icyvUzSQ7gNDM3U4KiNFtvvKfYU acme-client: challenge, token: Khb3UNh_KjUkziT9TGJk_wsdpXd4cTCi5PSNpeHXE3E, uri: https://127.0.0.1:14000/chalZ/OscUJ0lHtBx8ffsGmH7rXgDbI4Sk3R6Iqme6hCDrN5A, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/QNw45W9ClO65ZoghNYZRzdhdNRnyk9-K6tWuUNrSG28: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7951dd1baabef4df: 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/5e7e5248f5aa3539 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/5e7e5248f5aa3539 acme-client: dochngreq: https://127.0.0.1:14000/authZ/4owbcY72T6zsCvAdhSoBUMhmJTMeuy0uRtytW2YVgdg acme-client: challenge, token: V24IfkN_UQjHWornOlE-RAjL3Y_UJQPY2fBut35qsaA, uri: https://127.0.0.1:14000/chalZ/b3pXWUsbDFnXaQYQho2IsjrQz4HRvEBvgrgZ7Kr5378, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/V24IfkN_UQjHWornOlE-RAjL3Y_UJQPY2fBut35qsaA: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/l1qGN4Yvy8vOdsQU6znuBcHX2kbE3aDiHeTgAVn7LfI acme-client: challenge, token: 4_c3o3hJb3T5dAzre3Ug2mvy4GpraGrIVd_bak_S3Bg, uri: https://127.0.0.1:14000/chalZ/4KWlrQtonaOdOir4y8NLlt9cygqzV1SR7CP-ASKxHmw, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/4_c3o3hJb3T5dAzre3Ug2mvy4GpraGrIVd_bak_S3Bg: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/-7HpgBlVueHNtTQXCkKe2L9RJH6WKgLMltxHhO5YuTM acme-client: challenge, token: hj06Ht5gFJ16kp0Og65fpXya847V4imau0hPC9pVn3U, uri: https://127.0.0.1:14000/chalZ/IWNyrSUyc7JOYZ4ObQUyTxu-DB1SHPhBz-aK6kDlpko, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/hj06Ht5gFJ16kp0Og65fpXya847V4imau0hPC9pVn3U: created acme-client: https://127.0.0.1:14000/chalZ/b3pXWUsbDFnXaQYQho2IsjrQz4HRvEBvgrgZ7Kr5378: challenge acme-client: https://127.0.0.1:14000/chalZ/4KWlrQtonaOdOir4y8NLlt9cygqzV1SR7CP-ASKxHmw: challenge acme-client: https://127.0.0.1:14000/chalZ/IWNyrSUyc7JOYZ4ObQUyTxu-DB1SHPhBz-aK6kDlpko: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/4owbcY72T6zsCvAdhSoBUMhmJTMeuy0uRtytW2YVgdg acme-client: challenge, token: V24IfkN_UQjHWornOlE-RAjL3Y_UJQPY2fBut35qsaA, uri: https://127.0.0.1:14000/chalZ/b3pXWUsbDFnXaQYQho2IsjrQz4HRvEBvgrgZ7Kr5378, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/l1qGN4Yvy8vOdsQU6znuBcHX2kbE3aDiHeTgAVn7LfI acme-client: challenge, token: 4_c3o3hJb3T5dAzre3Ug2mvy4GpraGrIVd_bak_S3Bg, uri: https://127.0.0.1:14000/chalZ/4KWlrQtonaOdOir4y8NLlt9cygqzV1SR7CP-ASKxHmw, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/-7HpgBlVueHNtTQXCkKe2L9RJH6WKgLMltxHhO5YuTM acme-client: challenge, token: hj06Ht5gFJ16kp0Og65fpXya847V4imau0hPC9pVn3U, uri: https://127.0.0.1:14000/chalZ/IWNyrSUyc7JOYZ4ObQUyTxu-DB1SHPhBz-aK6kDlpko, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/i1TU56_9TgRvB7qTe6-obJIEoCoFpp9N0Wpgy233OUQ: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/721d1ebe18c821cd: 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/5e7e5248f5aa3539 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/5e7e5248f5aa3539 acme-client: https://127.0.0.1:14000/finalize-order/5mmDHMMnnilUXQsgjme6kFz5drjvRkUusIjTpcR4o2E: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/1663068219db6b07: 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/5e7e5248f5aa3539 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/d4cfc56afce448e acme-client: dochngreq: https://127.0.0.1:14001/authZ/NNl670swZHWILGL3snjfm2zD-hxwpd384l13TXduX3g acme-client: challenge, token: haTr9FKi8vLDmh9A8JDO-5BoxBKMc9IVcKBj1udcJik, uri: https://127.0.0.1:14001/chalZ/R2nqwFgCqbBCQND1MbRbF8lzAsCi2f-wdusk6GSvQEI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/haTr9FKi8vLDmh9A8JDO-5BoxBKMc9IVcKBj1udcJik: created acme-client: https://127.0.0.1:14001/chalZ/R2nqwFgCqbBCQND1MbRbF8lzAsCi2f-wdusk6GSvQEI: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/NNl670swZHWILGL3snjfm2zD-hxwpd384l13TXduX3g acme-client: challenge, token: haTr9FKi8vLDmh9A8JDO-5BoxBKMc9IVcKBj1udcJik, uri: https://127.0.0.1:14001/chalZ/R2nqwFgCqbBCQND1MbRbF8lzAsCi2f-wdusk6GSvQEI, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/cQqO1yPGoJROz-NtisUS97gZeCjnEimIXOx2JsGotX8: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/59b33fdc14d59489: certificate account key: https://127.0.0.1:14001/my-account/d4cfc56afce448e 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"