==== 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" 76032 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/14c6f7d29131992f acme-client: dochngreq: https://127.0.0.1:14000/authZ/3Y1GgouWEctvenoDkd6YCmsd1cl9wp-_chuOa-BS7U4 acme-client: challenge, token: N_cze8hhSfyva4uWK_IuEze_pRB0JXJ2tUbk6uX5F-s, uri: https://127.0.0.1:14000/chalZ/NrD-Mwl5jsPsNayryNTLkwjCTrQoH5ySPQQlCsRBu0w, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/N_cze8hhSfyva4uWK_IuEze_pRB0JXJ2tUbk6uX5F-s: created acme-client: https://127.0.0.1:14000/chalZ/NrD-Mwl5jsPsNayryNTLkwjCTrQoH5ySPQQlCsRBu0w: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/3Y1GgouWEctvenoDkd6YCmsd1cl9wp-_chuOa-BS7U4 acme-client: challenge, token: N_cze8hhSfyva4uWK_IuEze_pRB0JXJ2tUbk6uX5F-s, uri: https://127.0.0.1:14000/chalZ/NrD-Mwl5jsPsNayryNTLkwjCTrQoH5ySPQQlCsRBu0w, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/d1zsySGszPTiFSxMHkS1axOQdQnjamW9y0i_MBcznSg: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/221b18741ea7f00f: certificate account key: https://127.0.0.1:14000/my-account/14c6f7d29131992f 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/14c6f7d29131992f 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/14c6f7d29131992f acme-client: dochngreq: https://127.0.0.1:14000/authZ/mp0Vu5PYyjQc0cGrfkndVRoybkUEtb1NuTyLDo_01u0 acme-client: challenge, token: daRfudGLw5lTIB3i6pfSF4s5LAsgNlA20TgK62xdRok, uri: https://127.0.0.1:14000/chalZ/vDXMmsemXfQTLrEGlaRdlF9pihmpOtlludXs7q2TvA4, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/daRfudGLw5lTIB3i6pfSF4s5LAsgNlA20TgK62xdRok: created acme-client: https://127.0.0.1:14000/chalZ/vDXMmsemXfQTLrEGlaRdlF9pihmpOtlludXs7q2TvA4: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/mp0Vu5PYyjQc0cGrfkndVRoybkUEtb1NuTyLDo_01u0 acme-client: challenge, token: daRfudGLw5lTIB3i6pfSF4s5LAsgNlA20TgK62xdRok, uri: https://127.0.0.1:14000/chalZ/vDXMmsemXfQTLrEGlaRdlF9pihmpOtlludXs7q2TvA4, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/q0udvcT1Q7-DY73GBA6Ntismml3_z14-Uj3novPDGt8: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/5951ef12b7190c45: 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/14c6f7d29131992f 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/14c6f7d29131992f acme-client: dochngreq: https://127.0.0.1:14000/authZ/C7zYz1YU1AvjfXZgfOAAIV4E2xz0FdrGacK9sAboZTY acme-client: challenge, token: EVIcrZlaZM02AkDLrGKol98PQi9tEGGInvHJkvj-k3w, uri: https://127.0.0.1:14000/chalZ/i4IZF4q0_rHTsqROaayT_RU6i0dqMTFJESAEy2RqoCQ, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/EVIcrZlaZM02AkDLrGKol98PQi9tEGGInvHJkvj-k3w: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/uNl8jkOAciPb0xo2Ewx13hjBu-TTpk1o9syBCfhc6RE acme-client: challenge, token: KEhyfCD49xEnr9IXYnpf-qULK6aJm693vR8ndZs2jRI, uri: https://127.0.0.1:14000/chalZ/MMQwCxn4TwBBfVq1ibF47hrIKo-qa0YytCC3h9QvSYk, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/KEhyfCD49xEnr9IXYnpf-qULK6aJm693vR8ndZs2jRI: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/3Y1GgouWEctvenoDkd6YCmsd1cl9wp-_chuOa-BS7U4 acme-client: challenge, token: N_cze8hhSfyva4uWK_IuEze_pRB0JXJ2tUbk6uX5F-s, uri: https://127.0.0.1:14000/chalZ/NrD-Mwl5jsPsNayryNTLkwjCTrQoH5ySPQQlCsRBu0w, status: 2 acme-client: https://127.0.0.1:14000/chalZ/i4IZF4q0_rHTsqROaayT_RU6i0dqMTFJESAEy2RqoCQ: challenge acme-client: https://127.0.0.1:14000/chalZ/MMQwCxn4TwBBfVq1ibF47hrIKo-qa0YytCC3h9QvSYk: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/C7zYz1YU1AvjfXZgfOAAIV4E2xz0FdrGacK9sAboZTY acme-client: challenge, token: EVIcrZlaZM02AkDLrGKol98PQi9tEGGInvHJkvj-k3w, uri: https://127.0.0.1:14000/chalZ/i4IZF4q0_rHTsqROaayT_RU6i0dqMTFJESAEy2RqoCQ, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/uNl8jkOAciPb0xo2Ewx13hjBu-TTpk1o9syBCfhc6RE acme-client: challenge, token: KEhyfCD49xEnr9IXYnpf-qULK6aJm693vR8ndZs2jRI, uri: https://127.0.0.1:14000/chalZ/MMQwCxn4TwBBfVq1ibF47hrIKo-qa0YytCC3h9QvSYk, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/3Y1GgouWEctvenoDkd6YCmsd1cl9wp-_chuOa-BS7U4 acme-client: challenge, token: N_cze8hhSfyva4uWK_IuEze_pRB0JXJ2tUbk6uX5F-s, uri: https://127.0.0.1:14000/chalZ/NrD-Mwl5jsPsNayryNTLkwjCTrQoH5ySPQQlCsRBu0w, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/HECN1pnjZd0XhanmhZ1H9xMQmrp1-FvwW0aUM_hzhNQ: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/3d0ef0d7ca0f33ce: 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/14c6f7d29131992f 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/14c6f7d29131992f acme-client: https://127.0.0.1:14000/finalize-order/b20d5ireb2uGyJBFnj_zEOv83mK1nPPeebzc1e4nFGw: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7113d2bae6d3de5e: 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/14c6f7d29131992f 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/5569978e7ac03cdb acme-client: dochngreq: https://127.0.0.1:14001/authZ/vcg7B98MwGTd1Rv94zIFtjE0z2p4LinniZisZV5dJuw acme-client: challenge, token: 8ja5mGshSnTGpnFhKKhocmQlX39TLg7epPxjT6z0XbE, uri: https://127.0.0.1:14001/chalZ/hdGejNRIiQc38qsXZFEgFw-UCvmuZDek-9chbaDWzxQ, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/8ja5mGshSnTGpnFhKKhocmQlX39TLg7epPxjT6z0XbE: created acme-client: https://127.0.0.1:14001/chalZ/hdGejNRIiQc38qsXZFEgFw-UCvmuZDek-9chbaDWzxQ: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/vcg7B98MwGTd1Rv94zIFtjE0z2p4LinniZisZV5dJuw acme-client: challenge, token: 8ja5mGshSnTGpnFhKKhocmQlX39TLg7epPxjT6z0XbE, uri: https://127.0.0.1:14001/chalZ/hdGejNRIiQc38qsXZFEgFw-UCvmuZDek-9chbaDWzxQ, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/u1039xzq2a-8aF9LUxewI4ZYGyAZXpQgzHPhCA68Clw: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/0e6e1b980951123e: certificate account key: https://127.0.0.1:14001/my-account/5569978e7ac03cdb 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"