==== 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" 21836 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/69db50e376f9fb59 acme-client: dochngreq: https://127.0.0.1:14000/authZ/PTJdRxRIFXJp4f36emv1yeAPuxtzs9ihG6cT4ZfPm3Y acme-client: challenge, token: -ZXamzu8POYZLqUJT1Br3iQrUhju4rW9HLt3lJgUfW0, uri: https://127.0.0.1:14000/chalZ/JDkGaA5mnxW729y3hdZEM9fHGgi-qz-me6wDQ9ypXUY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/-ZXamzu8POYZLqUJT1Br3iQrUhju4rW9HLt3lJgUfW0: created acme-client: https://127.0.0.1:14000/chalZ/JDkGaA5mnxW729y3hdZEM9fHGgi-qz-me6wDQ9ypXUY: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/PTJdRxRIFXJp4f36emv1yeAPuxtzs9ihG6cT4ZfPm3Y acme-client: challenge, token: -ZXamzu8POYZLqUJT1Br3iQrUhju4rW9HLt3lJgUfW0, uri: https://127.0.0.1:14000/chalZ/JDkGaA5mnxW729y3hdZEM9fHGgi-qz-me6wDQ9ypXUY, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/QkE7-WCQv5w6FlJ4ySLLDIikYQJuo7CTO02CYQviL-Y: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0d0e0abde5ddee7e: certificate account key: https://127.0.0.1:14000/my-account/69db50e376f9fb59 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/69db50e376f9fb59 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/69db50e376f9fb59 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Hfoh2tZPrXC0FeK-payYVRufL2JwFf4MNWU5QhMCUA0 acme-client: challenge, token: bC9UOLZI0mDg9B9TyaYsq--DDp8JhRyFmRYdo2f20ls, uri: https://127.0.0.1:14000/chalZ/FveKHpbYCjUNRIX5IV8560NQ_w-oH7q_byQ3D4rooOw, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/bC9UOLZI0mDg9B9TyaYsq--DDp8JhRyFmRYdo2f20ls: created acme-client: https://127.0.0.1:14000/chalZ/FveKHpbYCjUNRIX5IV8560NQ_w-oH7q_byQ3D4rooOw: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Hfoh2tZPrXC0FeK-payYVRufL2JwFf4MNWU5QhMCUA0 acme-client: challenge, token: bC9UOLZI0mDg9B9TyaYsq--DDp8JhRyFmRYdo2f20ls, uri: https://127.0.0.1:14000/chalZ/FveKHpbYCjUNRIX5IV8560NQ_w-oH7q_byQ3D4rooOw, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/6jBpaVtskU5irY8NqXDuJlBX-FJLZLitcvFKMDJ231E: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7ae6950aee3b3d4b: 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/69db50e376f9fb59 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"