==== 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" 12234 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/789c8fa2a0ec879c acme-client: dochngreq: https://127.0.0.1:14000/authZ/txg9Qw-0D6GE1OqAoCohbKaJMV6boDjMM65BP6EOgZA acme-client: challenge, token: OF4kwV3ReV2Hq63Fkf8isHl_JGV8cgbvPKgJ_lfWfnI, uri: https://127.0.0.1:14000/chalZ/hnucUumeh_BUj-Ptk7FdaFnzbYhJaGpaouTEw9vbne4, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/OF4kwV3ReV2Hq63Fkf8isHl_JGV8cgbvPKgJ_lfWfnI: created acme-client: https://127.0.0.1:14000/chalZ/hnucUumeh_BUj-Ptk7FdaFnzbYhJaGpaouTEw9vbne4: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/txg9Qw-0D6GE1OqAoCohbKaJMV6boDjMM65BP6EOgZA acme-client: challenge, token: OF4kwV3ReV2Hq63Fkf8isHl_JGV8cgbvPKgJ_lfWfnI, uri: https://127.0.0.1:14000/chalZ/hnucUumeh_BUj-Ptk7FdaFnzbYhJaGpaouTEw9vbne4, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/7tGLRMvcr7EjQ-ceeK_2DWFPHXAEs2CriI-mNZw9mdE: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/5d8d9bcabd4b2a30: certificate account key: https://127.0.0.1:14000/my-account/789c8fa2a0ec879c 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/789c8fa2a0ec879c 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/789c8fa2a0ec879c acme-client: https://127.0.0.1:14000/finalize-order/lWwXgXChPmx-5IlnQWIWQhgxjY5jBRpuC1MBZu8Ix5s: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/3ec9595d7fae20b4: 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/789c8fa2a0ec879c 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/789c8fa2a0ec879c acme-client: dochngreq: https://127.0.0.1:14000/authZ/_orTjVifkzBckqp11BHUN3O2s1AllR5281huJch52TQ acme-client: challenge, token: 6QNJUw3bQVnN_j44WeHQENNduOlOnJHwZR_uPq2eyQw, uri: https://127.0.0.1:14000/chalZ/4C576of4anXpfWWC_jGV-z5-TKcGOfqaS6MhgoEWkJI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/6QNJUw3bQVnN_j44WeHQENNduOlOnJHwZR_uPq2eyQw: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/qvgsiC0OSnHKAQ5FZqFd6GFevRgfivHSdg3giv9iZD4 acme-client: challenge, token: q6DetxZquiJ4BxfRaba3ij7uiqoRBvOC0tXXj-HSiNQ, uri: https://127.0.0.1:14000/chalZ/2Q2vvabXxdRj0dquJITdoeaY_Jle7jTZcBMQpuoB6TU, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/q6DetxZquiJ4BxfRaba3ij7uiqoRBvOC0tXXj-HSiNQ: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/yhRbjU-8pZUfD4N42OtAxZFOO_sX-Bzqh5sEcTRSLiU acme-client: challenge, token: 4ZNFh9mf3fmTKUZM96jgXrxSwxJSkA9KoQMrjxScbYQ, uri: https://127.0.0.1:14000/chalZ/c3D6JDhOdtdZA5FF69Nal1D4yJFVJTfk9OXbgZPGt3M, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/4ZNFh9mf3fmTKUZM96jgXrxSwxJSkA9KoQMrjxScbYQ: created acme-client: https://127.0.0.1:14000/chalZ/4C576of4anXpfWWC_jGV-z5-TKcGOfqaS6MhgoEWkJI: challenge acme-client: https://127.0.0.1:14000/chalZ/2Q2vvabXxdRj0dquJITdoeaY_Jle7jTZcBMQpuoB6TU: challenge acme-client: https://127.0.0.1:14000/chalZ/c3D6JDhOdtdZA5FF69Nal1D4yJFVJTfk9OXbgZPGt3M: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/_orTjVifkzBckqp11BHUN3O2s1AllR5281huJch52TQ acme-client: challenge, token: 6QNJUw3bQVnN_j44WeHQENNduOlOnJHwZR_uPq2eyQw, uri: https://127.0.0.1:14000/chalZ/4C576of4anXpfWWC_jGV-z5-TKcGOfqaS6MhgoEWkJI, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/qvgsiC0OSnHKAQ5FZqFd6GFevRgfivHSdg3giv9iZD4 acme-client: challenge, token: q6DetxZquiJ4BxfRaba3ij7uiqoRBvOC0tXXj-HSiNQ, uri: https://127.0.0.1:14000/chalZ/2Q2vvabXxdRj0dquJITdoeaY_Jle7jTZcBMQpuoB6TU, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/yhRbjU-8pZUfD4N42OtAxZFOO_sX-Bzqh5sEcTRSLiU acme-client: challenge, token: 4ZNFh9mf3fmTKUZM96jgXrxSwxJSkA9KoQMrjxScbYQ, uri: https://127.0.0.1:14000/chalZ/c3D6JDhOdtdZA5FF69Nal1D4yJFVJTfk9OXbgZPGt3M, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/WHoMl8iNSwZf2GIVkMU9jwjhO0hE2Uy9B6eUTtox7H0: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/766a014ad2569d70: 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/789c8fa2a0ec879c 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/789c8fa2a0ec879c acme-client: dochngreq: https://127.0.0.1:14000/authZ/Z__jee4JzXZMHN2xJFBqwpq_LcbNLzM3DywJ7JM6NH8 acme-client: challenge, token: C-EH1288R4_h8R9ypBX7Q1kpHHrOWRTalXP-GyhhOpY, uri: https://127.0.0.1:14000/chalZ/20liZvUO38k5O2dtZcRaeMJa6a_LlUIUL8b6syk3F5Y, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/C-EH1288R4_h8R9ypBX7Q1kpHHrOWRTalXP-GyhhOpY: created acme-client: https://127.0.0.1:14000/chalZ/20liZvUO38k5O2dtZcRaeMJa6a_LlUIUL8b6syk3F5Y: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Z__jee4JzXZMHN2xJFBqwpq_LcbNLzM3DywJ7JM6NH8 acme-client: challenge, token: C-EH1288R4_h8R9ypBX7Q1kpHHrOWRTalXP-GyhhOpY, uri: https://127.0.0.1:14000/chalZ/20liZvUO38k5O2dtZcRaeMJa6a_LlUIUL8b6syk3F5Y, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/cUcpRPG7KtlNLAB8YCJ8jgPYGNT6RPM1MWsUVZdLlRo: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7126fd2651819c01: 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/789c8fa2a0ec879c 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"