==== 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" 56126 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/5f0e215a707135d8 acme-client: dochngreq: https://127.0.0.1:14000/authZ/y-Lw9NARn4fleRt1MiMWM1rC5UkU3I4EN2qTwfpJZwQ acme-client: challenge, token: bs0xcWJnhdl53K5UNamP9dmlyhMkcIpXwKfI0sq19Ik, uri: https://127.0.0.1:14000/chalZ/gGyTrgZ8yVhTEbpgeBWss_SAwK9KrQM9JVzdNLMwQ_4, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/bs0xcWJnhdl53K5UNamP9dmlyhMkcIpXwKfI0sq19Ik: created acme-client: https://127.0.0.1:14000/chalZ/gGyTrgZ8yVhTEbpgeBWss_SAwK9KrQM9JVzdNLMwQ_4: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/y-Lw9NARn4fleRt1MiMWM1rC5UkU3I4EN2qTwfpJZwQ acme-client: challenge, token: bs0xcWJnhdl53K5UNamP9dmlyhMkcIpXwKfI0sq19Ik, uri: https://127.0.0.1:14000/chalZ/gGyTrgZ8yVhTEbpgeBWss_SAwK9KrQM9JVzdNLMwQ_4, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/E2cOxevlvwFKcAvEzlqBQ2CxZbibkIvnkYL4BR9Vxwg: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/24d49ebc52ff7cbf: certificate account key: https://127.0.0.1:14000/my-account/5f0e215a707135d8 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/5f0e215a707135d8 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/5f0e215a707135d8 acme-client: https://127.0.0.1:14000/finalize-order/rec7mQt2MwW2_CyAoVI7ok1Bs89pxHtdPIUAvZnjTuA: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/18bec3fac56f8659: 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/5f0e215a707135d8 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/5f0e215a707135d8 acme-client: dochngreq: https://127.0.0.1:14000/authZ/y-Lw9NARn4fleRt1MiMWM1rC5UkU3I4EN2qTwfpJZwQ acme-client: challenge, token: bs0xcWJnhdl53K5UNamP9dmlyhMkcIpXwKfI0sq19Ik, uri: https://127.0.0.1:14000/chalZ/gGyTrgZ8yVhTEbpgeBWss_SAwK9KrQM9JVzdNLMwQ_4, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/NpRGYtgRGDA0Hre33hY8y3BwAMPEzDwfdVAzHXmQ1h8 acme-client: challenge, token: 9w5QyNqQ79LzMx7XiRE_2CqunBVYZ12QoiTTey-KWHE, uri: https://127.0.0.1:14000/chalZ/WAHr1ZJqAZlSYngduHlAC9AZWkaDTrhXoSS70jRKkKE, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/9w5QyNqQ79LzMx7XiRE_2CqunBVYZ12QoiTTey-KWHE: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/WxULfvedIuqouoZ7kHM5zIul3yDee0sU2XM5r_EIFPc acme-client: challenge, token: lUFnaYLvwIkTz-3wseljpcsvrooHlfDBLJgATWzoQGE, uri: https://127.0.0.1:14000/chalZ/Cp7EhNF_3Z8qb61tRv9xcWDji6cwU3bHIPltUXVtz5M, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/lUFnaYLvwIkTz-3wseljpcsvrooHlfDBLJgATWzoQGE: created acme-client: https://127.0.0.1:14000/chalZ/WAHr1ZJqAZlSYngduHlAC9AZWkaDTrhXoSS70jRKkKE: challenge acme-client: https://127.0.0.1:14000/chalZ/Cp7EhNF_3Z8qb61tRv9xcWDji6cwU3bHIPltUXVtz5M: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/y-Lw9NARn4fleRt1MiMWM1rC5UkU3I4EN2qTwfpJZwQ acme-client: challenge, token: bs0xcWJnhdl53K5UNamP9dmlyhMkcIpXwKfI0sq19Ik, uri: https://127.0.0.1:14000/chalZ/gGyTrgZ8yVhTEbpgeBWss_SAwK9KrQM9JVzdNLMwQ_4, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/NpRGYtgRGDA0Hre33hY8y3BwAMPEzDwfdVAzHXmQ1h8 acme-client: challenge, token: 9w5QyNqQ79LzMx7XiRE_2CqunBVYZ12QoiTTey-KWHE, uri: https://127.0.0.1:14000/chalZ/WAHr1ZJqAZlSYngduHlAC9AZWkaDTrhXoSS70jRKkKE, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/WxULfvedIuqouoZ7kHM5zIul3yDee0sU2XM5r_EIFPc acme-client: challenge, token: lUFnaYLvwIkTz-3wseljpcsvrooHlfDBLJgATWzoQGE, uri: https://127.0.0.1:14000/chalZ/Cp7EhNF_3Z8qb61tRv9xcWDji6cwU3bHIPltUXVtz5M, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/SgI-Ti4EJh6Bg-7WlFFLMqit0jhjIh1dzUdip5ho2WA: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/3176676851db4ad2: 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/5f0e215a707135d8 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/5f0e215a707135d8 acme-client: https://127.0.0.1:14000/finalize-order/DnK_v9dV5mWY1ArCJvi7ZqM_TDRkN3z3PpNjLiLl-Bc: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/41177681b981ecd3: 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/5f0e215a707135d8 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/2e475f3e979e1728 acme-client: dochngreq: https://127.0.0.1:14001/authZ/tflln4b5zs9uO-odbLzIh4A8EPLwNMgkODtRtJfG5ck acme-client: challenge, token: qP6tXnMbwcGXaO5Uryu5Ac5ixi2guUc-WmBUxnnUwrw, uri: https://127.0.0.1:14001/chalZ/PYxmC_xHNceI_sMRbO-mmEFZjjn9tFi0z-R9VvD_Bac, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/qP6tXnMbwcGXaO5Uryu5Ac5ixi2guUc-WmBUxnnUwrw: created acme-client: https://127.0.0.1:14001/chalZ/PYxmC_xHNceI_sMRbO-mmEFZjjn9tFi0z-R9VvD_Bac: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/tflln4b5zs9uO-odbLzIh4A8EPLwNMgkODtRtJfG5ck acme-client: challenge, token: qP6tXnMbwcGXaO5Uryu5Ac5ixi2guUc-WmBUxnnUwrw, uri: https://127.0.0.1:14001/chalZ/PYxmC_xHNceI_sMRbO-mmEFZjjn9tFi0z-R9VvD_Bac, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/NFqNEm54AhE8jwAAcUuvk9DsYM-ODzx7vwQ-U_5nlBw: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/2be6e57faae1e367: certificate account key: https://127.0.0.1:14001/my-account/2e475f3e979e1728 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"