==== 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" 6569 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/68316b16effeb8bf acme-client: dochngreq: https://127.0.0.1:14000/authZ/GEi8qqpfuJq6zGPrt0oHt6K4vqG2Bem-43HVb0qZtO4 acme-client: challenge, token: xq4AllYjkD5rvJsZXm3HnhFDxEeLZKJnc0bWws5eAMQ, uri: https://127.0.0.1:14000/chalZ/7UQzcLD-4SAK6vWIgI_wGkIPPRlPV6USilSMFeHAj9U, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/xq4AllYjkD5rvJsZXm3HnhFDxEeLZKJnc0bWws5eAMQ: created acme-client: https://127.0.0.1:14000/chalZ/7UQzcLD-4SAK6vWIgI_wGkIPPRlPV6USilSMFeHAj9U: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/GEi8qqpfuJq6zGPrt0oHt6K4vqG2Bem-43HVb0qZtO4 acme-client: challenge, token: xq4AllYjkD5rvJsZXm3HnhFDxEeLZKJnc0bWws5eAMQ, uri: https://127.0.0.1:14000/chalZ/7UQzcLD-4SAK6vWIgI_wGkIPPRlPV6USilSMFeHAj9U, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/5Ov5n1L9YEbl-hOXx6hIlanX9QTJMTFD1lR54UtOKbk: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/779f57c4c452ab58: certificate account key: https://127.0.0.1:14000/my-account/68316b16effeb8bf 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/68316b16effeb8bf 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/68316b16effeb8bf acme-client: dochngreq: https://127.0.0.1:14000/authZ/3xGzOi_AI5ly-gEeuCmIsHUA44eGASKRTRzQx_2_190 acme-client: challenge, token: c9V97nalw1XN5Jhc1VTZMCltSiU69tCUxh2yXlGJbU4, uri: https://127.0.0.1:14000/chalZ/B3UHkf5Pdx9gtdxOCuP-dN5yxtQjxUyp7rXZ1nQ2Al8, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/c9V97nalw1XN5Jhc1VTZMCltSiU69tCUxh2yXlGJbU4: created acme-client: https://127.0.0.1:14000/chalZ/B3UHkf5Pdx9gtdxOCuP-dN5yxtQjxUyp7rXZ1nQ2Al8: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/3xGzOi_AI5ly-gEeuCmIsHUA44eGASKRTRzQx_2_190 acme-client: challenge, token: c9V97nalw1XN5Jhc1VTZMCltSiU69tCUxh2yXlGJbU4, uri: https://127.0.0.1:14000/chalZ/B3UHkf5Pdx9gtdxOCuP-dN5yxtQjxUyp7rXZ1nQ2Al8, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/Uu_2lP1PpNAyBh2qaqGtHkBz-JqSHy_N7Nyyd4no6Rg: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/4d886c54e736fe63: 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/68316b16effeb8bf 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/68316b16effeb8bf acme-client: dochngreq: https://127.0.0.1:14000/authZ/etMKgtpMlsgi5dX43lH39lm0eCMbmvVd1kl3I-Awhog acme-client: challenge, token: LwGe6ESPCgllPiAyZWtIFPCHQFUutMtlMJCJF7bpXAg, uri: https://127.0.0.1:14000/chalZ/R7ST-IcuoGSYgPI41eBztdb7addgKGbOy5C9DTyEcmk, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/LwGe6ESPCgllPiAyZWtIFPCHQFUutMtlMJCJF7bpXAg: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/6KfzfYWxoX4VjfI7ct8WyCLvWm9MglovD4ZaiRyggmY acme-client: challenge, token: S0MgMjHPTRAV90LZ9GzaJSyf0AwKBVss-q2yYR9u658, uri: https://127.0.0.1:14000/chalZ/MFgGgP4bXX30pB4QlY2qtZ8Dbc78ZCgb6_KUbv_6b0g, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/S0MgMjHPTRAV90LZ9GzaJSyf0AwKBVss-q2yYR9u658: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/U5k0q8CqJGK5KlEr81rzYcR542emfcl38OQgTV-jFvA acme-client: challenge, token: E2smjGdsOo3hCGG1u8ssxkqoCBXDvp2EadlasNmolKs, uri: https://127.0.0.1:14000/chalZ/SPNZT3zJYP3_NXjDIf33oHbVLf9Y2KBGQoIxKfcJ_QI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/E2smjGdsOo3hCGG1u8ssxkqoCBXDvp2EadlasNmolKs: created acme-client: https://127.0.0.1:14000/chalZ/R7ST-IcuoGSYgPI41eBztdb7addgKGbOy5C9DTyEcmk: challenge acme-client: https://127.0.0.1:14000/chalZ/MFgGgP4bXX30pB4QlY2qtZ8Dbc78ZCgb6_KUbv_6b0g: challenge acme-client: https://127.0.0.1:14000/chalZ/SPNZT3zJYP3_NXjDIf33oHbVLf9Y2KBGQoIxKfcJ_QI: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/etMKgtpMlsgi5dX43lH39lm0eCMbmvVd1kl3I-Awhog acme-client: challenge, token: LwGe6ESPCgllPiAyZWtIFPCHQFUutMtlMJCJF7bpXAg, uri: https://127.0.0.1:14000/chalZ/R7ST-IcuoGSYgPI41eBztdb7addgKGbOy5C9DTyEcmk, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/6KfzfYWxoX4VjfI7ct8WyCLvWm9MglovD4ZaiRyggmY acme-client: challenge, token: S0MgMjHPTRAV90LZ9GzaJSyf0AwKBVss-q2yYR9u658, uri: https://127.0.0.1:14000/chalZ/MFgGgP4bXX30pB4QlY2qtZ8Dbc78ZCgb6_KUbv_6b0g, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/U5k0q8CqJGK5KlEr81rzYcR542emfcl38OQgTV-jFvA acme-client: challenge, token: E2smjGdsOo3hCGG1u8ssxkqoCBXDvp2EadlasNmolKs, uri: https://127.0.0.1:14000/chalZ/SPNZT3zJYP3_NXjDIf33oHbVLf9Y2KBGQoIxKfcJ_QI, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/jtxozo8YEuBmR-WgZJWYZk1Rx6QoOv13HrfXgFYawYU: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/65b3d917d2e8cfcc: 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/68316b16effeb8bf 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/68316b16effeb8bf acme-client: https://127.0.0.1:14000/finalize-order/veEgZQXRAJEuYsGK_kSes3wXxrxDA4fQ_Sy4d4YhUn4: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/701889c4f7abf6fc: 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/68316b16effeb8bf 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/b0e0ac08d968d93 acme-client: dochngreq: https://127.0.0.1:14001/authZ/qt605xr7MTPoKimFjTbzvb2S4MdchXw7CdDXf3stqrs acme-client: challenge, token: jUDN4OBuz24ZOdW9kInHeKO3duiS2MLQ-r7GCAmFGi8, uri: https://127.0.0.1:14001/chalZ/_1Cq6GsjlISRhuMMwDe1I7h2X23OY-ZVmIBzvQdow3A, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/jUDN4OBuz24ZOdW9kInHeKO3duiS2MLQ-r7GCAmFGi8: created acme-client: https://127.0.0.1:14001/chalZ/_1Cq6GsjlISRhuMMwDe1I7h2X23OY-ZVmIBzvQdow3A: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/qt605xr7MTPoKimFjTbzvb2S4MdchXw7CdDXf3stqrs acme-client: challenge, token: jUDN4OBuz24ZOdW9kInHeKO3duiS2MLQ-r7GCAmFGi8, uri: https://127.0.0.1:14001/chalZ/_1Cq6GsjlISRhuMMwDe1I7h2X23OY-ZVmIBzvQdow3A, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/3RAMUnhFMW56YE-7GizozRF7J8z9k_X631vG3FblYyU: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/5977914e81db6b68: certificate account key: https://127.0.0.1:14001/my-account/b0e0ac08d968d93 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"