==== 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" 25965 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/325fb8125b55823e acme-client: dochngreq: https://127.0.0.1:14000/authZ/v6j2KO3fnqwRQMJx7vm9CY6agRs4kiS9YJCwL18tyYo acme-client: challenge, token: HGX8c5JUKoyhJKMk7z5CHukWSBKsDUs3IqKILQiYr_E, uri: https://127.0.0.1:14000/chalZ/3hZ5J5t7xRqibIcZy_RBNFkMWQxwa6tRGNluylzenDE, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/HGX8c5JUKoyhJKMk7z5CHukWSBKsDUs3IqKILQiYr_E: created acme-client: https://127.0.0.1:14000/chalZ/3hZ5J5t7xRqibIcZy_RBNFkMWQxwa6tRGNluylzenDE: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/v6j2KO3fnqwRQMJx7vm9CY6agRs4kiS9YJCwL18tyYo acme-client: challenge, token: HGX8c5JUKoyhJKMk7z5CHukWSBKsDUs3IqKILQiYr_E, uri: https://127.0.0.1:14000/chalZ/3hZ5J5t7xRqibIcZy_RBNFkMWQxwa6tRGNluylzenDE, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/PXRdo7SuuconJAPja-_pxu7apFtzw8i8qEsqs0nYFSk: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0ab0ec68484c9fd4: certificate account key: https://127.0.0.1:14000/my-account/325fb8125b55823e 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/325fb8125b55823e 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/325fb8125b55823e acme-client: https://127.0.0.1:14000/finalize-order/6kpskP33NDcBaRBlI-V8PHpAcUPeENplyITuyDz-eCg: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/5fcfb66b2f4ed108: 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/325fb8125b55823e 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/325fb8125b55823e acme-client: dochngreq: https://127.0.0.1:14000/authZ/H2Wtwbxa9GMf4uTUwSDLhuMMk1t0gBPuMC71CcZ2e0Y acme-client: challenge, token: xOmCPCS2xwaWINMSZGxIjfQu5Qy9hYvy3wLT78mQ0Pg, uri: https://127.0.0.1:14000/chalZ/GZNF3NkgpgUbk15ZNBUvD-1IQA7DqcN5gTLLqVAMctI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/xOmCPCS2xwaWINMSZGxIjfQu5Qy9hYvy3wLT78mQ0Pg: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/OXGUnIItfNx_CENjvv5R2WoTOFMLA422ia0YeE5grI4 acme-client: challenge, token: j1dAC9F9brOCvXi0s9EO9WT3h5yuWl8i79_8VqRsbgc, uri: https://127.0.0.1:14000/chalZ/JrwoJMJVsQOdYIwZUUHYTugslK64e3ZOJcSluUOswek, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/j1dAC9F9brOCvXi0s9EO9WT3h5yuWl8i79_8VqRsbgc: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/KpK6vyoILXWMosL0r8f8-lZbaNWt8wmfidfvwe6vvVQ acme-client: challenge, token: uXxEzONjv6ztn-Ozcg0t_TaCVsmtAvn5bXZjFd4VLeI, uri: https://127.0.0.1:14000/chalZ/UtchLUUq4WH_Mwuew4ORIQ239JfKYdzGkerY8Rtj-KM, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/uXxEzONjv6ztn-Ozcg0t_TaCVsmtAvn5bXZjFd4VLeI: created acme-client: https://127.0.0.1:14000/chalZ/GZNF3NkgpgUbk15ZNBUvD-1IQA7DqcN5gTLLqVAMctI: challenge acme-client: https://127.0.0.1:14000/chalZ/JrwoJMJVsQOdYIwZUUHYTugslK64e3ZOJcSluUOswek: challenge acme-client: https://127.0.0.1:14000/chalZ/UtchLUUq4WH_Mwuew4ORIQ239JfKYdzGkerY8Rtj-KM: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/H2Wtwbxa9GMf4uTUwSDLhuMMk1t0gBPuMC71CcZ2e0Y acme-client: challenge, token: xOmCPCS2xwaWINMSZGxIjfQu5Qy9hYvy3wLT78mQ0Pg, uri: https://127.0.0.1:14000/chalZ/GZNF3NkgpgUbk15ZNBUvD-1IQA7DqcN5gTLLqVAMctI, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/OXGUnIItfNx_CENjvv5R2WoTOFMLA422ia0YeE5grI4 acme-client: challenge, token: j1dAC9F9brOCvXi0s9EO9WT3h5yuWl8i79_8VqRsbgc, uri: https://127.0.0.1:14000/chalZ/JrwoJMJVsQOdYIwZUUHYTugslK64e3ZOJcSluUOswek, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/KpK6vyoILXWMosL0r8f8-lZbaNWt8wmfidfvwe6vvVQ acme-client: challenge, token: uXxEzONjv6ztn-Ozcg0t_TaCVsmtAvn5bXZjFd4VLeI, uri: https://127.0.0.1:14000/chalZ/UtchLUUq4WH_Mwuew4ORIQ239JfKYdzGkerY8Rtj-KM, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/3o8fhWe1Uv9a2ZQb_AYg-l0sWgXKc-A-2ZqtxUjxnzA: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/685cd870d05ca37a: 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/325fb8125b55823e 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/325fb8125b55823e acme-client: dochngreq: https://127.0.0.1:14000/authZ/p4TZ_np9yRMe6fbgZzRVO7dnwWOjs3U4dQnPGCiDOFM acme-client: challenge, token: TTxxgZc-tvBzEyQ4Q978G_dPK6ea-uBCRWD0Ybd6_1I, uri: https://127.0.0.1:14000/chalZ/P_TDK0y3r4y0pEBLtzef3dxXE0MUOVj4ucNfu_i8MOU, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/TTxxgZc-tvBzEyQ4Q978G_dPK6ea-uBCRWD0Ybd6_1I: created acme-client: https://127.0.0.1:14000/chalZ/P_TDK0y3r4y0pEBLtzef3dxXE0MUOVj4ucNfu_i8MOU: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/p4TZ_np9yRMe6fbgZzRVO7dnwWOjs3U4dQnPGCiDOFM acme-client: challenge, token: TTxxgZc-tvBzEyQ4Q978G_dPK6ea-uBCRWD0Ybd6_1I, uri: https://127.0.0.1:14000/chalZ/P_TDK0y3r4y0pEBLtzef3dxXE0MUOVj4ucNfu_i8MOU, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/00oikj78NDooi0qjct6t4vQMctpBogyMZyiCwKAGYLg: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/42dae91d5eb01ad6: 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/325fb8125b55823e 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"