==== 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" 90124 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/acme/privkey.pem: generated RSA account key acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/private/privkey.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/57d97b8679579bba acme-client: dochngreq: https://127.0.0.1:14000/authZ/BagDa4LAEnGf4xqUlQx7utPymqgekNCkN8YCAsgAyog acme-client: challenge, token: jvpuBdU3cpykld0Ik5HOWk9330P8_cY3RV653q_Qw6I, uri: https://127.0.0.1:14000/chalZ/jqmTlzCnKcnxxngo_9GcGikWr0N1t166-tg9zlVLIpQ, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/jvpuBdU3cpykld0Ik5HOWk9330P8_cY3RV653q_Qw6I: created acme-client: https://127.0.0.1:14000/chalZ/jqmTlzCnKcnxxngo_9GcGikWr0N1t166-tg9zlVLIpQ: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/BagDa4LAEnGf4xqUlQx7utPymqgekNCkN8YCAsgAyog acme-client: challenge, token: jvpuBdU3cpykld0Ik5HOWk9330P8_cY3RV653q_Qw6I, uri: https://127.0.0.1:14000/chalZ/jqmTlzCnKcnxxngo_9GcGikWr0N1t166-tg9zlVLIpQ, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/E2yBynmPpvlmdQQpVbxlZTalG8JoxTmQ7q63oV71bRE: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/559c3c4fbd80b5ef: certificate account key: https://127.0.0.1:14000/my-account/57d97b8679579bba 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/57d97b8679579bba 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/57d97b8679579bba acme-client: dochngreq: https://127.0.0.1:14000/authZ/NouxQ-oF5PmR0c72PAjDa05gfghbDcoK6P8kJCwyWJE acme-client: challenge, token: xg7goLHh3zvXDkllvjmtlAa_Tu13kugR1c0XEaEsXXE, uri: https://127.0.0.1:14000/chalZ/uhXQn2Kjv0w3Fmw52EU-GtEnTd3FjMcWy_gbNHoEx6A, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/xg7goLHh3zvXDkllvjmtlAa_Tu13kugR1c0XEaEsXXE: created acme-client: https://127.0.0.1:14000/chalZ/uhXQn2Kjv0w3Fmw52EU-GtEnTd3FjMcWy_gbNHoEx6A: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/NouxQ-oF5PmR0c72PAjDa05gfghbDcoK6P8kJCwyWJE acme-client: challenge, token: xg7goLHh3zvXDkllvjmtlAa_Tu13kugR1c0XEaEsXXE, uri: https://127.0.0.1:14000/chalZ/uhXQn2Kjv0w3Fmw52EU-GtEnTd3FjMcWy_gbNHoEx6A, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/PbohIv0Gg_gVNXvXfQpCBP-sScVq_Gb_PW_Foc-wiSQ: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/36d34611f3dedcfa: 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/57d97b8679579bba 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/57d97b8679579bba acme-client: dochngreq: https://127.0.0.1:14000/authZ/5wD14o_9xtTy1jwo5V4OKfyjtiSUq_WTMIyZngDBpY4 acme-client: challenge, token: Hw4w0gL088LlU4_V8vwjfZCIooB0LO5N66rmHv0-cI0, uri: https://127.0.0.1:14000/chalZ/gYFqtU_iJSs4OC4htMDr6Z8S_vB4gFJc3z5d1QolPHw, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Hw4w0gL088LlU4_V8vwjfZCIooB0LO5N66rmHv0-cI0: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/IZSXEiLvS3oW5Q9qmndATKOFBkIgAorfvTxlENbOQns acme-client: challenge, token: lzUO-6Gvw5PiHGaa1Lwf-7UwFYqUJCI1S-1vlH9MRMQ, uri: https://127.0.0.1:14000/chalZ/A_ymkUoFk7ShoVK7aiTFKk84J2Dit-9UR61hoLaRZ1A, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/lzUO-6Gvw5PiHGaa1Lwf-7UwFYqUJCI1S-1vlH9MRMQ: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/BagDa4LAEnGf4xqUlQx7utPymqgekNCkN8YCAsgAyog acme-client: challenge, token: jvpuBdU3cpykld0Ik5HOWk9330P8_cY3RV653q_Qw6I, uri: https://127.0.0.1:14000/chalZ/jqmTlzCnKcnxxngo_9GcGikWr0N1t166-tg9zlVLIpQ, status: 2 acme-client: https://127.0.0.1:14000/chalZ/gYFqtU_iJSs4OC4htMDr6Z8S_vB4gFJc3z5d1QolPHw: challenge acme-client: https://127.0.0.1:14000/chalZ/A_ymkUoFk7ShoVK7aiTFKk84J2Dit-9UR61hoLaRZ1A: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/5wD14o_9xtTy1jwo5V4OKfyjtiSUq_WTMIyZngDBpY4 acme-client: challenge, token: Hw4w0gL088LlU4_V8vwjfZCIooB0LO5N66rmHv0-cI0, uri: https://127.0.0.1:14000/chalZ/gYFqtU_iJSs4OC4htMDr6Z8S_vB4gFJc3z5d1QolPHw, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/IZSXEiLvS3oW5Q9qmndATKOFBkIgAorfvTxlENbOQns acme-client: challenge, token: lzUO-6Gvw5PiHGaa1Lwf-7UwFYqUJCI1S-1vlH9MRMQ, uri: https://127.0.0.1:14000/chalZ/A_ymkUoFk7ShoVK7aiTFKk84J2Dit-9UR61hoLaRZ1A, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/BagDa4LAEnGf4xqUlQx7utPymqgekNCkN8YCAsgAyog acme-client: challenge, token: jvpuBdU3cpykld0Ik5HOWk9330P8_cY3RV653q_Qw6I, uri: https://127.0.0.1:14000/chalZ/jqmTlzCnKcnxxngo_9GcGikWr0N1t166-tg9zlVLIpQ, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/TXB5nZun3f-YdJ_Iq6BdyE_xKxAwzrnvE0Zu8UOMKgw: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0e324e434c7d3d07: 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/57d97b8679579bba 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/57d97b8679579bba acme-client: dochngreq: https://127.0.0.1:14000/authZ/PJ3PglUtvrQ9y5uvZxbZ0A3SeI6a64r2EdJWZSr2k2U acme-client: challenge, token: 66zFAJseAcvaMYzreWd6lxwkXPH7TI_ZPqhq2WBFn0k, uri: https://127.0.0.1:14000/chalZ/WfjYbKntamnFtDl3NVjoK7Xzw6nsqsZzxld7euSf5qw, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/66zFAJseAcvaMYzreWd6lxwkXPH7TI_ZPqhq2WBFn0k: created acme-client: https://127.0.0.1:14000/chalZ/WfjYbKntamnFtDl3NVjoK7Xzw6nsqsZzxld7euSf5qw: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/PJ3PglUtvrQ9y5uvZxbZ0A3SeI6a64r2EdJWZSr2k2U acme-client: challenge, token: 66zFAJseAcvaMYzreWd6lxwkXPH7TI_ZPqhq2WBFn0k, uri: https://127.0.0.1:14000/chalZ/WfjYbKntamnFtDl3NVjoK7Xzw6nsqsZzxld7euSf5qw, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/7TbPRnW-KCkpmzbD3tE4XHk615tqVWoAdWtSnsXzHms: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/4d9bee04e9992fab: 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/57d97b8679579bba 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"