==== 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" 77786 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/7512068272f28034 acme-client: dochngreq: https://127.0.0.1:14000/authZ/yV6Ar3wqEpzL_dkLbtWqOyzdGNWgKxltjQMLMpFFXzM acme-client: challenge, token: BdlWhGRaRYDZh8xR6q33pgmRBxoXEfqEPx-0r_wEze8, uri: https://127.0.0.1:14000/chalZ/IAMQfrQ-XWDfYeqyblmvmmFrxBPpRuyfJkwJz73VxIY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/BdlWhGRaRYDZh8xR6q33pgmRBxoXEfqEPx-0r_wEze8: created acme-client: https://127.0.0.1:14000/chalZ/IAMQfrQ-XWDfYeqyblmvmmFrxBPpRuyfJkwJz73VxIY: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/yV6Ar3wqEpzL_dkLbtWqOyzdGNWgKxltjQMLMpFFXzM acme-client: challenge, token: BdlWhGRaRYDZh8xR6q33pgmRBxoXEfqEPx-0r_wEze8, uri: https://127.0.0.1:14000/chalZ/IAMQfrQ-XWDfYeqyblmvmmFrxBPpRuyfJkwJz73VxIY, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/9ONla8LgCtj6XOaqCyVjvVcXdT1cUI6FuopB7FQzflY: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/3d4e8550d9ca98ea: certificate account key: https://127.0.0.1:14000/my-account/7512068272f28034 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/7512068272f28034 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/7512068272f28034 acme-client: https://127.0.0.1:14000/finalize-order/6OdJjEjC0ZoJzg5-Mw07Z9iLi4F9F7OqGOf_17-MF5w: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/4c6c9f977382d9f4: 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/7512068272f28034 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/7512068272f28034 acme-client: dochngreq: https://127.0.0.1:14000/authZ/tl_kyYQz3tE_l55XqjgQi18AY_EkQTAUw8XI-SXps6E acme-client: challenge, token: 7DCoTCqoXqqhdqynaOQknvjVQv3rCAhiScdHzWM3F5M, uri: https://127.0.0.1:14000/chalZ/nbPyvpKqfcJJeOfgbjRUhjraUBqI-qx63Uvczplc6p4, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/7DCoTCqoXqqhdqynaOQknvjVQv3rCAhiScdHzWM3F5M: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/Rn8FhKPvqqOrSKfha4ZpSWaIauhB-saluWdA60Dhk7Q acme-client: challenge, token: FCEsnXD7p02HGk79wvuBaJz2WaeAFnyqg92fCaEGog0, uri: https://127.0.0.1:14000/chalZ/eRE3VXcxFg1leRXgKD_jtGAvi2tnJFZHH8fDlXz74q4, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/FCEsnXD7p02HGk79wvuBaJz2WaeAFnyqg92fCaEGog0: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/HW8yjRGQZpoakqN3AjsG5HFGtBZx-4T5Hl9UcxXV7_A acme-client: challenge, token: -SDmWkbA5hfqMcwhTYIZ3i5MjNGQ7j-9wAKcfQjK-Mg, uri: https://127.0.0.1:14000/chalZ/dscsn7JbXStW8UizabeyEXvyvOWGXPaw0evMCPcx8E4, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/-SDmWkbA5hfqMcwhTYIZ3i5MjNGQ7j-9wAKcfQjK-Mg: created acme-client: https://127.0.0.1:14000/chalZ/nbPyvpKqfcJJeOfgbjRUhjraUBqI-qx63Uvczplc6p4: challenge acme-client: https://127.0.0.1:14000/chalZ/eRE3VXcxFg1leRXgKD_jtGAvi2tnJFZHH8fDlXz74q4: challenge acme-client: https://127.0.0.1:14000/chalZ/dscsn7JbXStW8UizabeyEXvyvOWGXPaw0evMCPcx8E4: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/tl_kyYQz3tE_l55XqjgQi18AY_EkQTAUw8XI-SXps6E acme-client: challenge, token: 7DCoTCqoXqqhdqynaOQknvjVQv3rCAhiScdHzWM3F5M, uri: https://127.0.0.1:14000/chalZ/nbPyvpKqfcJJeOfgbjRUhjraUBqI-qx63Uvczplc6p4, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Rn8FhKPvqqOrSKfha4ZpSWaIauhB-saluWdA60Dhk7Q acme-client: challenge, token: FCEsnXD7p02HGk79wvuBaJz2WaeAFnyqg92fCaEGog0, uri: https://127.0.0.1:14000/chalZ/eRE3VXcxFg1leRXgKD_jtGAvi2tnJFZHH8fDlXz74q4, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/HW8yjRGQZpoakqN3AjsG5HFGtBZx-4T5Hl9UcxXV7_A acme-client: challenge, token: -SDmWkbA5hfqMcwhTYIZ3i5MjNGQ7j-9wAKcfQjK-Mg, uri: https://127.0.0.1:14000/chalZ/dscsn7JbXStW8UizabeyEXvyvOWGXPaw0evMCPcx8E4, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/RtH4Hicefn97E2TZ6ksPDRuGKKRQDEd8xSnFu0SJsU0: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/09580f995f63808b: 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/7512068272f28034 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/7512068272f28034 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Ldq_wyDQYK34HDcdBDXnIVGpo36do1g_iPn6sKfTmdQ acme-client: challenge, token: fPlytBWnDMtP0SHPhcA-9DwcXPU2CMKUlnDUIuPCc1Q, uri: https://127.0.0.1:14000/chalZ/y6oiqQy052L02fxiDOYQA08GOIiwKPnRbSTp0gH0fyA, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/fPlytBWnDMtP0SHPhcA-9DwcXPU2CMKUlnDUIuPCc1Q: created acme-client: https://127.0.0.1:14000/chalZ/y6oiqQy052L02fxiDOYQA08GOIiwKPnRbSTp0gH0fyA: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Ldq_wyDQYK34HDcdBDXnIVGpo36do1g_iPn6sKfTmdQ acme-client: challenge, token: fPlytBWnDMtP0SHPhcA-9DwcXPU2CMKUlnDUIuPCc1Q, uri: https://127.0.0.1:14000/chalZ/y6oiqQy052L02fxiDOYQA08GOIiwKPnRbSTp0gH0fyA, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/4-lXb0eeQUUu4SM01GrlIHG-pCla-ts88W5nPFuTYxw: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7ccf699a177e8739: 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/7512068272f28034 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/2081e26337e3ab60 acme-client: dochngreq: https://127.0.0.1:14001/authZ/ez6Z8WvijQnDclkA3bRT3Ea4i5cOD7ea0c59MLfXeyk acme-client: challenge, token: ieb7jDHlNJ6JEO1I6Hqi8p7ygn5ykLFFahvNFIbd3Ds, uri: https://127.0.0.1:14001/chalZ/feDi4fEIUzbo4JjZom_CiRFcxWvZTt-zHg45jOsPdIs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/ieb7jDHlNJ6JEO1I6Hqi8p7ygn5ykLFFahvNFIbd3Ds: created acme-client: https://127.0.0.1:14001/chalZ/feDi4fEIUzbo4JjZom_CiRFcxWvZTt-zHg45jOsPdIs: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/ez6Z8WvijQnDclkA3bRT3Ea4i5cOD7ea0c59MLfXeyk acme-client: challenge, token: ieb7jDHlNJ6JEO1I6Hqi8p7ygn5ykLFFahvNFIbd3Ds, uri: https://127.0.0.1:14001/chalZ/feDi4fEIUzbo4JjZom_CiRFcxWvZTt-zHg45jOsPdIs, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/8WAPsBrbLb9Benqa8BJzx4iH0qBEZfOiZZreE8vwLd4: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/632b9674ce9a2881: certificate account key: https://127.0.0.1:14001/my-account/2081e26337e3ab60 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"