==== 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" 47854 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/66ffc5b57daefdf3 acme-client: dochngreq: https://127.0.0.1:14000/authZ/_n8aix6tvCe9Lfp4DY6FU2gzsiVHuZQiH83Ss_cg8Jk acme-client: challenge, token: 8lTlyp0jfYJ8lGJyA5nLVWqR9OPq9p5Dzf1ffupkQwo, uri: https://127.0.0.1:14000/chalZ/2U2f853mo83cBBzaRHP4m1m1rS7fl_y5RxEk_RtDWCM, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/8lTlyp0jfYJ8lGJyA5nLVWqR9OPq9p5Dzf1ffupkQwo: created acme-client: https://127.0.0.1:14000/chalZ/2U2f853mo83cBBzaRHP4m1m1rS7fl_y5RxEk_RtDWCM: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/_n8aix6tvCe9Lfp4DY6FU2gzsiVHuZQiH83Ss_cg8Jk acme-client: challenge, token: 8lTlyp0jfYJ8lGJyA5nLVWqR9OPq9p5Dzf1ffupkQwo, uri: https://127.0.0.1:14000/chalZ/2U2f853mo83cBBzaRHP4m1m1rS7fl_y5RxEk_RtDWCM, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/orFMlRBKnLTF5tFUt_STe0bM2XjrakgcZvnBG0SDxSs: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/5799f2d2509f9bac: certificate account key: https://127.0.0.1:14000/my-account/66ffc5b57daefdf3 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/66ffc5b57daefdf3 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/66ffc5b57daefdf3 acme-client: https://127.0.0.1:14000/finalize-order/WaNexRbV0gcor5RiHlRxN1kmjAYZiqKeXDMUkqCWRew: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/1d18717b27c24a2a: 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/66ffc5b57daefdf3 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/66ffc5b57daefdf3 acme-client: dochngreq: https://127.0.0.1:14000/authZ/rMU4OEIKvoi6chn95GUyzk0oza9cOB2y3eERyRy5QqY acme-client: challenge, token: G-ZzJnpIBgf0nbuip3aB3etXbuCUqxF-GQxbmcOPAOg, uri: https://127.0.0.1:14000/chalZ/nhIv5MJ-5EeBGsXiXvFaisdjjPb6UMgEWRLL3lvf_rc, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/G-ZzJnpIBgf0nbuip3aB3etXbuCUqxF-GQxbmcOPAOg: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/_n8aix6tvCe9Lfp4DY6FU2gzsiVHuZQiH83Ss_cg8Jk acme-client: challenge, token: 8lTlyp0jfYJ8lGJyA5nLVWqR9OPq9p5Dzf1ffupkQwo, uri: https://127.0.0.1:14000/chalZ/2U2f853mo83cBBzaRHP4m1m1rS7fl_y5RxEk_RtDWCM, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/WrSvyo8Skn9oU68L_nsIC0W_yfjdee1nnXXRbtigohk acme-client: challenge, token: 1KXQnHTXzi5hfDEooODeUXcCQrSy6_1Vo0_CeWZE7gA, uri: https://127.0.0.1:14000/chalZ/kqh9amZdrrV4oG_cuhUq25TY5a5iFA_AeoMV2mnGhYg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/1KXQnHTXzi5hfDEooODeUXcCQrSy6_1Vo0_CeWZE7gA: created acme-client: https://127.0.0.1:14000/chalZ/nhIv5MJ-5EeBGsXiXvFaisdjjPb6UMgEWRLL3lvf_rc: challenge acme-client: https://127.0.0.1:14000/chalZ/kqh9amZdrrV4oG_cuhUq25TY5a5iFA_AeoMV2mnGhYg: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/rMU4OEIKvoi6chn95GUyzk0oza9cOB2y3eERyRy5QqY acme-client: challenge, token: G-ZzJnpIBgf0nbuip3aB3etXbuCUqxF-GQxbmcOPAOg, uri: https://127.0.0.1:14000/chalZ/nhIv5MJ-5EeBGsXiXvFaisdjjPb6UMgEWRLL3lvf_rc, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/_n8aix6tvCe9Lfp4DY6FU2gzsiVHuZQiH83Ss_cg8Jk acme-client: challenge, token: 8lTlyp0jfYJ8lGJyA5nLVWqR9OPq9p5Dzf1ffupkQwo, uri: https://127.0.0.1:14000/chalZ/2U2f853mo83cBBzaRHP4m1m1rS7fl_y5RxEk_RtDWCM, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/WrSvyo8Skn9oU68L_nsIC0W_yfjdee1nnXXRbtigohk acme-client: challenge, token: 1KXQnHTXzi5hfDEooODeUXcCQrSy6_1Vo0_CeWZE7gA, uri: https://127.0.0.1:14000/chalZ/kqh9amZdrrV4oG_cuhUq25TY5a5iFA_AeoMV2mnGhYg, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/fQW6DPXCBltrwybelUQgCPwS6h1CJps4YJgc5NA1kf4: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/59d54d86f3de4660: 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/66ffc5b57daefdf3 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/66ffc5b57daefdf3 acme-client: dochngreq: https://127.0.0.1:14000/authZ/zFw97A4MAYzYylQ1kpizXXJudUgsKVtcscZjHOORIOw acme-client: challenge, token: Z586y0V2Vj3JmmKgHqB57XClYafy0vGNUGbZnO-CSmM, uri: https://127.0.0.1:14000/chalZ/0HZWHJhs_NZL1Qs9DHWImkQ_KhaErJUFIbGh135SoXQ, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Z586y0V2Vj3JmmKgHqB57XClYafy0vGNUGbZnO-CSmM: created acme-client: https://127.0.0.1:14000/chalZ/0HZWHJhs_NZL1Qs9DHWImkQ_KhaErJUFIbGh135SoXQ: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/zFw97A4MAYzYylQ1kpizXXJudUgsKVtcscZjHOORIOw acme-client: challenge, token: Z586y0V2Vj3JmmKgHqB57XClYafy0vGNUGbZnO-CSmM, uri: https://127.0.0.1:14000/chalZ/0HZWHJhs_NZL1Qs9DHWImkQ_KhaErJUFIbGh135SoXQ, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/O2m0EbofbpWDIQTTV1P4_Fh0KF2cngf6pah5CoSg37s: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/5d204e7be970df3b: 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/66ffc5b57daefdf3 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"