==== 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" 77324 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/50d95b613b56f967 acme-client: dochngreq: https://127.0.0.1:14000/authZ/xA04vOPdUyMfzd5Mz-OqWZsC-7gVghziW1nOp0ZWzJ0 acme-client: challenge, token: MN5VUhEVaFMzJNAeJsmXEZHjh2dMw0cdjkci4ytkkMc, uri: https://127.0.0.1:14000/chalZ/tbdG7jPF1sH4YwOHSpv97AmmU1hiFClKgdghKr5A1gM, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/MN5VUhEVaFMzJNAeJsmXEZHjh2dMw0cdjkci4ytkkMc: created acme-client: https://127.0.0.1:14000/chalZ/tbdG7jPF1sH4YwOHSpv97AmmU1hiFClKgdghKr5A1gM: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/xA04vOPdUyMfzd5Mz-OqWZsC-7gVghziW1nOp0ZWzJ0 acme-client: challenge, token: MN5VUhEVaFMzJNAeJsmXEZHjh2dMw0cdjkci4ytkkMc, uri: https://127.0.0.1:14000/chalZ/tbdG7jPF1sH4YwOHSpv97AmmU1hiFClKgdghKr5A1gM, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/y113ESxn182JUTqBCvb8_-mh6TRIMEuIugfxjCktsEE: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/59a06ae2db1399: certificate account key: https://127.0.0.1:14000/my-account/50d95b613b56f967 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/50d95b613b56f967 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/50d95b613b56f967 acme-client: dochngreq: https://127.0.0.1:14000/authZ/rVOrkMh86jG93VHkhiZ5FYw0lWmfnA6YGT7IQ7q9rxA acme-client: challenge, token: o0qtpdETg3TZibz4-x3JiccNCpbIG5B-kKV1bfvUH2E, uri: https://127.0.0.1:14000/chalZ/Y_LUVMMMR8jAsYZY1YpWYKm--kRVDD9uNrxtf84IjQs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/o0qtpdETg3TZibz4-x3JiccNCpbIG5B-kKV1bfvUH2E: created acme-client: https://127.0.0.1:14000/chalZ/Y_LUVMMMR8jAsYZY1YpWYKm--kRVDD9uNrxtf84IjQs: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/rVOrkMh86jG93VHkhiZ5FYw0lWmfnA6YGT7IQ7q9rxA acme-client: challenge, token: o0qtpdETg3TZibz4-x3JiccNCpbIG5B-kKV1bfvUH2E, uri: https://127.0.0.1:14000/chalZ/Y_LUVMMMR8jAsYZY1YpWYKm--kRVDD9uNrxtf84IjQs, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/f61rGZ2JrKLTcuI00G0Ev7uIEik5BFNwLfZ-eeGFXbk: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/3c4d6a4450153080: 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/50d95b613b56f967 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/50d95b613b56f967 acme-client: dochngreq: https://127.0.0.1:14000/authZ/qOfGmottpLYy0-EdCG0cEUkNDGyw-_Mtfr0eKlke1K4 acme-client: challenge, token: T_j_MBAzIjj5prDDrfl10LZMqJHoNuKm2JUDAUB7Sm8, uri: https://127.0.0.1:14000/chalZ/WI2cNNMY1id8MOJ-6zLqjGRE9CC_m2VYSzopXarolnI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/T_j_MBAzIjj5prDDrfl10LZMqJHoNuKm2JUDAUB7Sm8: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/E_gD0oGmeIo57JLV14BW6EppqssfznoJuD2Sn85K3mw acme-client: challenge, token: mSeH17dWw7S7yo5PC2qhmA3DAmXif9e9r9kcBO1ouks, uri: https://127.0.0.1:14000/chalZ/OW-x7eOMlu_MntA42EWpg99vuLWub_2jdt9iMxnfRF8, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/mSeH17dWw7S7yo5PC2qhmA3DAmXif9e9r9kcBO1ouks: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/xA04vOPdUyMfzd5Mz-OqWZsC-7gVghziW1nOp0ZWzJ0 acme-client: challenge, token: MN5VUhEVaFMzJNAeJsmXEZHjh2dMw0cdjkci4ytkkMc, uri: https://127.0.0.1:14000/chalZ/tbdG7jPF1sH4YwOHSpv97AmmU1hiFClKgdghKr5A1gM, status: 2 acme-client: https://127.0.0.1:14000/chalZ/WI2cNNMY1id8MOJ-6zLqjGRE9CC_m2VYSzopXarolnI: challenge acme-client: https://127.0.0.1:14000/chalZ/OW-x7eOMlu_MntA42EWpg99vuLWub_2jdt9iMxnfRF8: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/qOfGmottpLYy0-EdCG0cEUkNDGyw-_Mtfr0eKlke1K4 acme-client: challenge, token: T_j_MBAzIjj5prDDrfl10LZMqJHoNuKm2JUDAUB7Sm8, uri: https://127.0.0.1:14000/chalZ/WI2cNNMY1id8MOJ-6zLqjGRE9CC_m2VYSzopXarolnI, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/E_gD0oGmeIo57JLV14BW6EppqssfznoJuD2Sn85K3mw acme-client: challenge, token: mSeH17dWw7S7yo5PC2qhmA3DAmXif9e9r9kcBO1ouks, uri: https://127.0.0.1:14000/chalZ/OW-x7eOMlu_MntA42EWpg99vuLWub_2jdt9iMxnfRF8, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/xA04vOPdUyMfzd5Mz-OqWZsC-7gVghziW1nOp0ZWzJ0 acme-client: challenge, token: MN5VUhEVaFMzJNAeJsmXEZHjh2dMw0cdjkci4ytkkMc, uri: https://127.0.0.1:14000/chalZ/tbdG7jPF1sH4YwOHSpv97AmmU1hiFClKgdghKr5A1gM, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/HYqn1GZNyPOxClP9EsRexrvu1BB3VEc7SKDKG8AmzbQ: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/3755278b7af7ed9f: 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/50d95b613b56f967 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/50d95b613b56f967 acme-client: dochngreq: https://127.0.0.1:14000/authZ/_YzzjSuKSZm4WPOFU4tjDoSEG2tTLHGiKhqkP9zVNvM acme-client: challenge, token: 9u238uN0Yfrx0u42X3-zyJa0388M4QitYiByGYqVOw0, uri: https://127.0.0.1:14000/chalZ/bW1rgocIL7twAKXdCh8vlAOe-E45XNYvceg_6GWztHg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/9u238uN0Yfrx0u42X3-zyJa0388M4QitYiByGYqVOw0: created acme-client: https://127.0.0.1:14000/chalZ/bW1rgocIL7twAKXdCh8vlAOe-E45XNYvceg_6GWztHg: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/_YzzjSuKSZm4WPOFU4tjDoSEG2tTLHGiKhqkP9zVNvM acme-client: challenge, token: 9u238uN0Yfrx0u42X3-zyJa0388M4QitYiByGYqVOw0, uri: https://127.0.0.1:14000/chalZ/bW1rgocIL7twAKXdCh8vlAOe-E45XNYvceg_6GWztHg, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/klKorvKoeWeuIvIKnV5FRa7bhvgtffNUphoo6NjbpeY: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/3acf2f7af7848967: 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/50d95b613b56f967 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"