==== 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" 14817 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/35942b8496c901fa acme-client: dochngreq: https://127.0.0.1:14000/authZ/btbHjEnP4yXPnA7N-9Hz5vxFlXLuqZ6DzK5XquFBjRs acme-client: challenge, token: Y1aXKW6hHTnNJEEVLXMpTqtiKnj9B_wrLDCnOFwwWoY, uri: https://127.0.0.1:14000/chalZ/ZZkwcY0wZGGLq-wyZqFWPBloLHOtvrkk4RpXtP7Qk4w, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Y1aXKW6hHTnNJEEVLXMpTqtiKnj9B_wrLDCnOFwwWoY: created acme-client: https://127.0.0.1:14000/chalZ/ZZkwcY0wZGGLq-wyZqFWPBloLHOtvrkk4RpXtP7Qk4w: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/btbHjEnP4yXPnA7N-9Hz5vxFlXLuqZ6DzK5XquFBjRs acme-client: challenge, token: Y1aXKW6hHTnNJEEVLXMpTqtiKnj9B_wrLDCnOFwwWoY, uri: https://127.0.0.1:14000/chalZ/ZZkwcY0wZGGLq-wyZqFWPBloLHOtvrkk4RpXtP7Qk4w, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/f8oSECU81F0PMt5ZGUxNqIAmQqYuRTGOUB54d8rrmnk: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/75a27cd1d8f7d642: certificate account key: https://127.0.0.1:14000/my-account/35942b8496c901fa 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/35942b8496c901fa 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-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"