==== 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" 5860 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/6a7c63aa00fa468c acme-client: dochngreq: https://127.0.0.1:14000/authZ/9hzEWIT_NUk-TIwDaeMx4mLtF86WxkCdoDKD4aoVM7E acme-client: challenge, token: 429186kTsoICYvwLZR6yNVOcIEDQiOcbCrIdAcP-CO8, uri: https://127.0.0.1:14000/chalZ/YTaGMY_v2SsBmmaEoK-QWLOn0ruYC9GB1zQyxhS3oyU, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/429186kTsoICYvwLZR6yNVOcIEDQiOcbCrIdAcP-CO8: created acme-client: https://127.0.0.1:14000/chalZ/YTaGMY_v2SsBmmaEoK-QWLOn0ruYC9GB1zQyxhS3oyU: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/9hzEWIT_NUk-TIwDaeMx4mLtF86WxkCdoDKD4aoVM7E acme-client: challenge, token: 429186kTsoICYvwLZR6yNVOcIEDQiOcbCrIdAcP-CO8, uri: https://127.0.0.1:14000/chalZ/YTaGMY_v2SsBmmaEoK-QWLOn0ruYC9GB1zQyxhS3oyU, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/2o3vkI4zCnIXIADpKIeNlizE3VTqZkCca2A_Ibkmy-M: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/52bcb305d967427b: certificate account key: https://127.0.0.1:14000/my-account/6a7c63aa00fa468c 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/6a7c63aa00fa468c 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/6a7c63aa00fa468c acme-client: dochngreq: https://127.0.0.1:14000/authZ/mYH9TR8y0_7CzFHYNJXEh2mh-4yEzt4qzVw5ONJY7Js acme-client: challenge, token: k7sngVj-CUmFPVcAtat1C3QlQ3-Q_bNrigmXiCzMiZk, uri: https://127.0.0.1:14000/chalZ/jmb7ZHJuuZijc3whwuAetdNbvnwsx0jFpFNBNFkKW38, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/k7sngVj-CUmFPVcAtat1C3QlQ3-Q_bNrigmXiCzMiZk: created acme-client: https://127.0.0.1:14000/chalZ/jmb7ZHJuuZijc3whwuAetdNbvnwsx0jFpFNBNFkKW38: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/mYH9TR8y0_7CzFHYNJXEh2mh-4yEzt4qzVw5ONJY7Js acme-client: challenge, token: k7sngVj-CUmFPVcAtat1C3QlQ3-Q_bNrigmXiCzMiZk, uri: https://127.0.0.1:14000/chalZ/jmb7ZHJuuZijc3whwuAetdNbvnwsx0jFpFNBNFkKW38, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/BtqEVVZq8LipHtEG8JQOjCvsJqpUAjuYdqDpQnmbNqg: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/21a31b2d00292047: 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/6a7c63aa00fa468c 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/6a7c63aa00fa468c acme-client: dochngreq: https://127.0.0.1:14000/authZ/oncvtIy4GPnZivp_V32eHLLfxn7OySVmfTWW1IikfgE acme-client: challenge, token: C-AtO6g_PsgjfJbHKoJ77H7k4f780a1NHHPLQdKBZyw, uri: https://127.0.0.1:14000/chalZ/1tfdDdWpxg9VA8RYhOeBddzo7A5h4BRQiQR-1HWgW3E, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/C-AtO6g_PsgjfJbHKoJ77H7k4f780a1NHHPLQdKBZyw: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/RrdUEFAxuFkGCM-5pxz-ulnqc_JuKopJFxz9dfwEmAU acme-client: challenge, token: YRVVtiHrrxouTdG9mmyHVOLCONI056lvhh-hNGYM49Q, uri: https://127.0.0.1:14000/chalZ/JL5nHXR2mSrosurs1XXZ0Cr86JNoJVbv80n8a3ySJ1k, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/YRVVtiHrrxouTdG9mmyHVOLCONI056lvhh-hNGYM49Q: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/9hzEWIT_NUk-TIwDaeMx4mLtF86WxkCdoDKD4aoVM7E acme-client: challenge, token: 429186kTsoICYvwLZR6yNVOcIEDQiOcbCrIdAcP-CO8, uri: https://127.0.0.1:14000/chalZ/YTaGMY_v2SsBmmaEoK-QWLOn0ruYC9GB1zQyxhS3oyU, status: 2 acme-client: https://127.0.0.1:14000/chalZ/1tfdDdWpxg9VA8RYhOeBddzo7A5h4BRQiQR-1HWgW3E: challenge acme-client: https://127.0.0.1:14000/chalZ/JL5nHXR2mSrosurs1XXZ0Cr86JNoJVbv80n8a3ySJ1k: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/oncvtIy4GPnZivp_V32eHLLfxn7OySVmfTWW1IikfgE acme-client: challenge, token: C-AtO6g_PsgjfJbHKoJ77H7k4f780a1NHHPLQdKBZyw, uri: https://127.0.0.1:14000/chalZ/1tfdDdWpxg9VA8RYhOeBddzo7A5h4BRQiQR-1HWgW3E, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/RrdUEFAxuFkGCM-5pxz-ulnqc_JuKopJFxz9dfwEmAU acme-client: challenge, token: YRVVtiHrrxouTdG9mmyHVOLCONI056lvhh-hNGYM49Q, uri: https://127.0.0.1:14000/chalZ/JL5nHXR2mSrosurs1XXZ0Cr86JNoJVbv80n8a3ySJ1k, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/9hzEWIT_NUk-TIwDaeMx4mLtF86WxkCdoDKD4aoVM7E acme-client: challenge, token: 429186kTsoICYvwLZR6yNVOcIEDQiOcbCrIdAcP-CO8, uri: https://127.0.0.1:14000/chalZ/YTaGMY_v2SsBmmaEoK-QWLOn0ruYC9GB1zQyxhS3oyU, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/URzmB8nH3daC_OaPn3AO0TI-XtzXBbn59A6AvkgGCFA: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/2494698ad529843f: 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/6a7c63aa00fa468c 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/6a7c63aa00fa468c acme-client: https://127.0.0.1:14000/finalize-order/cdEIRHY0TpFqqm1sf2UxLa3C4wXf-Zpn9Uto_XHeDjo: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/19040ec59b39838e: 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/6a7c63aa00fa468c 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"