==== 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" 11791 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/7894a2d0aeb20c01 acme-client: dochngreq: https://127.0.0.1:14000/authZ/n2EERKMr7FW0wVbM4QybA4f2qjxY_Sb182SPOWt4qB8 acme-client: challenge, token: 3QOdkVb0_LcRMPyyTTBqF1F8uGDJiXXOamlPhfES9IE, uri: https://127.0.0.1:14000/chalZ/oEvIY4ekVXILS0UwIPlHaMM0OnNUUbC9ZdZF-Efdykc, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/3QOdkVb0_LcRMPyyTTBqF1F8uGDJiXXOamlPhfES9IE: created acme-client: https://127.0.0.1:14000/chalZ/oEvIY4ekVXILS0UwIPlHaMM0OnNUUbC9ZdZF-Efdykc: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/n2EERKMr7FW0wVbM4QybA4f2qjxY_Sb182SPOWt4qB8 acme-client: challenge, token: 3QOdkVb0_LcRMPyyTTBqF1F8uGDJiXXOamlPhfES9IE, uri: https://127.0.0.1:14000/chalZ/oEvIY4ekVXILS0UwIPlHaMM0OnNUUbC9ZdZF-Efdykc, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/03wPwygFVWnq4XQlq2QQQVPlJ9ZJCEbbag9gEpJ6-y0: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6c28b91d28dca971: certificate account key: https://127.0.0.1:14000/my-account/7894a2d0aeb20c01 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/7894a2d0aeb20c01 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/7894a2d0aeb20c01 acme-client: dochngreq: https://127.0.0.1:14000/authZ/0iSZKbp4T1VBv6CgKQ07c_FagxlLy69xNjsUSBzJIRI acme-client: challenge, token: g5a5Ed7lESOj8kAEfxrJ7dVlN56r2MINit4Y2q3CKSM, uri: https://127.0.0.1:14000/chalZ/T4a65gSjD0_XrJmouQlnyRgduY4p5qHZdBz2T2QdPfM, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/g5a5Ed7lESOj8kAEfxrJ7dVlN56r2MINit4Y2q3CKSM: created acme-client: https://127.0.0.1:14000/chalZ/T4a65gSjD0_XrJmouQlnyRgduY4p5qHZdBz2T2QdPfM: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/0iSZKbp4T1VBv6CgKQ07c_FagxlLy69xNjsUSBzJIRI acme-client: challenge, token: g5a5Ed7lESOj8kAEfxrJ7dVlN56r2MINit4Y2q3CKSM, uri: https://127.0.0.1:14000/chalZ/T4a65gSjD0_XrJmouQlnyRgduY4p5qHZdBz2T2QdPfM, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/9dwCaVcjPbc5_FDzdKPzB5mJmKxbth4uSLoIyvxl5uY: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0e9e94bf93b52a96: 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/7894a2d0aeb20c01 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/7894a2d0aeb20c01 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Dd4zX8jkPj0LthskZYBo2Rbiq1aajMmq0Jz6ftOQP7s acme-client: challenge, token: Ur4PwegQWKwnWejyZTcbzViteUk1g95I6YNkkz0NCQw, uri: https://127.0.0.1:14000/chalZ/cy2UliV6SOZ1hJZ8W124MUXxnK2s76FZJz_bsktc_DY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Ur4PwegQWKwnWejyZTcbzViteUk1g95I6YNkkz0NCQw: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/n2EERKMr7FW0wVbM4QybA4f2qjxY_Sb182SPOWt4qB8 acme-client: challenge, token: 3QOdkVb0_LcRMPyyTTBqF1F8uGDJiXXOamlPhfES9IE, uri: https://127.0.0.1:14000/chalZ/oEvIY4ekVXILS0UwIPlHaMM0OnNUUbC9ZdZF-Efdykc, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/tjtuR0tH08n2CiCGXl-TrXFK4zGk4L5rSloT0kM5AIo acme-client: challenge, token: 1DIMe0JW66EqNvMZDfxiOQ8V7t7wVEG-inSgC3BHHrM, uri: https://127.0.0.1:14000/chalZ/vzGtVYPIgvB9EFNuvCXUPOha4ZdpYHkQcu-xtXcVbxI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/1DIMe0JW66EqNvMZDfxiOQ8V7t7wVEG-inSgC3BHHrM: created acme-client: https://127.0.0.1:14000/chalZ/cy2UliV6SOZ1hJZ8W124MUXxnK2s76FZJz_bsktc_DY: challenge acme-client: https://127.0.0.1:14000/chalZ/vzGtVYPIgvB9EFNuvCXUPOha4ZdpYHkQcu-xtXcVbxI: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Dd4zX8jkPj0LthskZYBo2Rbiq1aajMmq0Jz6ftOQP7s acme-client: challenge, token: Ur4PwegQWKwnWejyZTcbzViteUk1g95I6YNkkz0NCQw, uri: https://127.0.0.1:14000/chalZ/cy2UliV6SOZ1hJZ8W124MUXxnK2s76FZJz_bsktc_DY, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/n2EERKMr7FW0wVbM4QybA4f2qjxY_Sb182SPOWt4qB8 acme-client: challenge, token: 3QOdkVb0_LcRMPyyTTBqF1F8uGDJiXXOamlPhfES9IE, uri: https://127.0.0.1:14000/chalZ/oEvIY4ekVXILS0UwIPlHaMM0OnNUUbC9ZdZF-Efdykc, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/tjtuR0tH08n2CiCGXl-TrXFK4zGk4L5rSloT0kM5AIo acme-client: challenge, token: 1DIMe0JW66EqNvMZDfxiOQ8V7t7wVEG-inSgC3BHHrM, uri: https://127.0.0.1:14000/chalZ/vzGtVYPIgvB9EFNuvCXUPOha4ZdpYHkQcu-xtXcVbxI, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/w3RttyomzH7tw2B9nMugMOxHnfRLK2WLOvxp_8F4Vzs: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/415c6e7a19b03413: 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/7894a2d0aeb20c01 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/7894a2d0aeb20c01 acme-client: dochngreq: https://127.0.0.1:14000/authZ/4TTcLhU516mpWrfG1DpZwBsjenG1e5kbQs8qHsdq8Zw acme-client: challenge, token: xQwt9C-D_17x794XDoc25PvM9YMQz1Ufx6GdjgaU1gc, uri: https://127.0.0.1:14000/chalZ/VR6fybtmsaQw60mTWmbh-g0PMX4qXAJNOcb_CIhwOZI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/xQwt9C-D_17x794XDoc25PvM9YMQz1Ufx6GdjgaU1gc: created acme-client: https://127.0.0.1:14000/chalZ/VR6fybtmsaQw60mTWmbh-g0PMX4qXAJNOcb_CIhwOZI: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/4TTcLhU516mpWrfG1DpZwBsjenG1e5kbQs8qHsdq8Zw acme-client: challenge, token: xQwt9C-D_17x794XDoc25PvM9YMQz1Ufx6GdjgaU1gc, uri: https://127.0.0.1:14000/chalZ/VR6fybtmsaQw60mTWmbh-g0PMX4qXAJNOcb_CIhwOZI, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/u8AuyXzImrDgV_IN79D7nsqcezqjuQunuZwMLEkmibs: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/365866f19fab2136: 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/7894a2d0aeb20c01 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"