==== 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" 84997 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/721c336821e4c08 acme-client: dochngreq: https://127.0.0.1:14000/authZ/hvv7OwlCLrDcQgzLI1KuX5haofLeWitx2V4guw98VX8 acme-client: challenge, token: oYQdYMBPPWVk050FhlZtNntggX6k3Q45JrUw93XHYSU, uri: https://127.0.0.1:14000/chalZ/uy960DWi1rTVr2T7ey9wgntOu5b-KapN-xV2JtiW-no, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/oYQdYMBPPWVk050FhlZtNntggX6k3Q45JrUw93XHYSU: created acme-client: https://127.0.0.1:14000/chalZ/uy960DWi1rTVr2T7ey9wgntOu5b-KapN-xV2JtiW-no: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/hvv7OwlCLrDcQgzLI1KuX5haofLeWitx2V4guw98VX8 acme-client: challenge, token: oYQdYMBPPWVk050FhlZtNntggX6k3Q45JrUw93XHYSU, uri: https://127.0.0.1:14000/chalZ/uy960DWi1rTVr2T7ey9wgntOu5b-KapN-xV2JtiW-no, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/neohpWhE30qqblm1GtRpqV9XZXF4y9ZAUVxFpA7cIJc: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7970f03cfc1f70e5: certificate account key: https://127.0.0.1:14000/my-account/721c336821e4c08 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/721c336821e4c08 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/721c336821e4c08 acme-client: dochngreq: https://127.0.0.1:14000/authZ/_tM6DawskofijVp2A-LIhcWEMheLDWSt5WCT6MNY1Qc acme-client: challenge, token: 74yeLzB65jr8wLyIGnq2JW_QIyZQAL7LvI8-tV2z0yE, uri: https://127.0.0.1:14000/chalZ/DtMdobsp7CGic74Zm793x5HXpuPzYIa5HNcq-vYu7hw, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/74yeLzB65jr8wLyIGnq2JW_QIyZQAL7LvI8-tV2z0yE: created acme-client: https://127.0.0.1:14000/chalZ/DtMdobsp7CGic74Zm793x5HXpuPzYIa5HNcq-vYu7hw: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/_tM6DawskofijVp2A-LIhcWEMheLDWSt5WCT6MNY1Qc acme-client: challenge, token: 74yeLzB65jr8wLyIGnq2JW_QIyZQAL7LvI8-tV2z0yE, uri: https://127.0.0.1:14000/chalZ/DtMdobsp7CGic74Zm793x5HXpuPzYIa5HNcq-vYu7hw, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/3y2PnqEJs-Qwi4UDlF4gJtNRUBm4VzWan7DL1l074bI: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/64c69425f73b35a0: 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/721c336821e4c08 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/721c336821e4c08 acme-client: dochngreq: https://127.0.0.1:14000/authZ/5wtSTn4_fvkGUPs77gyixfqHnbn0cbpO4IzhfctAwiw acme-client: challenge, token: uIBYDx4vz3gEtX3jJ1EJS2ULNzeIRLcMzsNh1FBbGCE, uri: https://127.0.0.1:14000/chalZ/cQt30OinCbE7bWf-oPnARsST9RhOBwQYHHFnfkexQ-0, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/uIBYDx4vz3gEtX3jJ1EJS2ULNzeIRLcMzsNh1FBbGCE: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/xaD1OtEcUmGg3PNMAYjp6W532dAv8Yb5nwsV-qtW0tw acme-client: challenge, token: D54fKzI8AQnPj-1dd_mhFeW1LGVNjrZgmEAYRQQxcMg, uri: https://127.0.0.1:14000/chalZ/bbr6s77NQ68-moYaXL1PAOnTvsCruwak0LekzmIVSPk, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/D54fKzI8AQnPj-1dd_mhFeW1LGVNjrZgmEAYRQQxcMg: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/9L_L0rnGDCA4MBuxxlcL10YWABIV-Hf953tJN7ODds8 acme-client: challenge, token: wqE81qOVJeiHyblqqjAno7k0Jz_AK1_tTHsa9kA-oKY, uri: https://127.0.0.1:14000/chalZ/P9dqfF7m5D9TZ740cK_B032BIZ0EeJ4_AEDS-op2zn4, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/wqE81qOVJeiHyblqqjAno7k0Jz_AK1_tTHsa9kA-oKY: created acme-client: https://127.0.0.1:14000/chalZ/cQt30OinCbE7bWf-oPnARsST9RhOBwQYHHFnfkexQ-0: challenge acme-client: https://127.0.0.1:14000/chalZ/bbr6s77NQ68-moYaXL1PAOnTvsCruwak0LekzmIVSPk: challenge acme-client: https://127.0.0.1:14000/chalZ/P9dqfF7m5D9TZ740cK_B032BIZ0EeJ4_AEDS-op2zn4: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/5wtSTn4_fvkGUPs77gyixfqHnbn0cbpO4IzhfctAwiw acme-client: challenge, token: uIBYDx4vz3gEtX3jJ1EJS2ULNzeIRLcMzsNh1FBbGCE, uri: https://127.0.0.1:14000/chalZ/cQt30OinCbE7bWf-oPnARsST9RhOBwQYHHFnfkexQ-0, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/xaD1OtEcUmGg3PNMAYjp6W532dAv8Yb5nwsV-qtW0tw acme-client: challenge, token: D54fKzI8AQnPj-1dd_mhFeW1LGVNjrZgmEAYRQQxcMg, uri: https://127.0.0.1:14000/chalZ/bbr6s77NQ68-moYaXL1PAOnTvsCruwak0LekzmIVSPk, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/9L_L0rnGDCA4MBuxxlcL10YWABIV-Hf953tJN7ODds8 acme-client: challenge, token: wqE81qOVJeiHyblqqjAno7k0Jz_AK1_tTHsa9kA-oKY, uri: https://127.0.0.1:14000/chalZ/P9dqfF7m5D9TZ740cK_B032BIZ0EeJ4_AEDS-op2zn4, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/OWQgiTveWAW_k3q5yE9M85WF0lt9KNjArQLb5Lr6jAQ: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/146e9686117f8027: 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/721c336821e4c08 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/721c336821e4c08 acme-client: https://127.0.0.1:14000/finalize-order/jyLKINKxv5EcbNUuHnpRrFm4cuRwkTNqRukmE6ulUbM: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7439d325c357431a: 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/721c336821e4c08 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-acme-eab ==== mkdir -p etc sed 's,${.OBJDIR},/home/src/regress/usr.sbin/acme-client/obj,' /home/src/regress/usr.sbin/acme-client/acme-client-eab.conf > etc/acme-client-eab.conf sed 's,${.CURDIR},/home/src/regress/usr.sbin/acme-client,' /home/src/regress/usr.sbin/acme-client/pebble-config-eab.json > pebble-config-eab.json /usr/local/bin/pebble -config /home/src/regress/usr.sbin/acme-client/obj/pebble-config-eab.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-eab.conf -e kid-1:zWNDZM6eQGHWpSRTPal5eIUYFTu7EajVIoguysqZ9wG44nMEtx3MUAsUDkMTQ12W -v localhost acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/acme/privkey-eab.pem: generated RSA account key acme-client: https://127.0.0.1:14001/dir: directories acme-client: 127.0.0.1: DNS: 127.0.0.1 acme-client: account key: https://127.0.0.1:14001/my-account/40466bb1fc1b7aa9 acme-client: dochngreq: https://127.0.0.1:14001/authZ/1jAVwigfU3AWjD-UybGBIQzDCQG_F6x2v0EjzZphV9Y acme-client: challenge, token: haY-TU5tae0PnOybIzFC2PHV2Sj0qEeGxvZuD50HIlE, uri: https://127.0.0.1:14001/chalZ/OGlIKLBxnbZvMlqVT_9xl-Cpe61UHXJ7FCNqpXBIeSY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/haY-TU5tae0PnOybIzFC2PHV2Sj0qEeGxvZuD50HIlE: created acme-client: https://127.0.0.1:14001/chalZ/OGlIKLBxnbZvMlqVT_9xl-Cpe61UHXJ7FCNqpXBIeSY: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/1jAVwigfU3AWjD-UybGBIQzDCQG_F6x2v0EjzZphV9Y acme-client: challenge, token: haY-TU5tae0PnOybIzFC2PHV2Sj0qEeGxvZuD50HIlE, uri: https://127.0.0.1:14001/chalZ/OGlIKLBxnbZvMlqVT_9xl-Cpe61UHXJ7FCNqpXBIeSY, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/xmy7zmn4_7dZOgOsIAesVUy_eKhMet7WmmzZ2dYEQz8: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/5284f05699a2d685: certificate account key: https://127.0.0.1:14001/my-account/40466bb1fc1b7aa9 acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert.pem: created ==== 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" make -C /home/src/regress/usr.sbin/acme-client pebble-eab-stop pkill -xf "/usr/local/bin/pebble -config /home/src/regress/usr.sbin/acme-client/obj/pebble-config-eab.json"