==== 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" 2496 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/4fa323f604692b38 acme-client: dochngreq: https://127.0.0.1:14000/authZ/11V0cokvB9oZqsIZfzw5umztzk283ykEpAMOYl9XPDM acme-client: challenge, token: GkXEl3V4YYXSnc1xfqrZ_Qa4V3edl3uh8tsXCdUOZPs, uri: https://127.0.0.1:14000/chalZ/2Kdae41PCH_kLLfKD3iuo5iFvU0MxF_0DvKv-Jp_1kc, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/GkXEl3V4YYXSnc1xfqrZ_Qa4V3edl3uh8tsXCdUOZPs: created acme-client: https://127.0.0.1:14000/chalZ/2Kdae41PCH_kLLfKD3iuo5iFvU0MxF_0DvKv-Jp_1kc: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/11V0cokvB9oZqsIZfzw5umztzk283ykEpAMOYl9XPDM acme-client: challenge, token: GkXEl3V4YYXSnc1xfqrZ_Qa4V3edl3uh8tsXCdUOZPs, uri: https://127.0.0.1:14000/chalZ/2Kdae41PCH_kLLfKD3iuo5iFvU0MxF_0DvKv-Jp_1kc, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/MxfnuEcD7eCjDYUQRdhnE-dOMy8ltk7ziUSPh4xEqRM: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/184edfc3f12aa148: certificate account key: https://127.0.0.1:14000/my-account/4fa323f604692b38 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/4fa323f604692b38 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/4fa323f604692b38 acme-client: dochngreq: https://127.0.0.1:14000/authZ/0YTZJo8G_mnWgIvbWdW6ycbRQ2wbmupjcZ7KyDpj5u0 acme-client: challenge, token: HJmnYifYCv2UM--hk_aO0OYqm7MT012VRYRCgVKmonc, uri: https://127.0.0.1:14000/chalZ/L7Omtq--TLMqYA52Enpo6m7h62jiG3KBf4tyOJ9ieLU, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/HJmnYifYCv2UM--hk_aO0OYqm7MT012VRYRCgVKmonc: created acme-client: https://127.0.0.1:14000/chalZ/L7Omtq--TLMqYA52Enpo6m7h62jiG3KBf4tyOJ9ieLU: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/0YTZJo8G_mnWgIvbWdW6ycbRQ2wbmupjcZ7KyDpj5u0 acme-client: challenge, token: HJmnYifYCv2UM--hk_aO0OYqm7MT012VRYRCgVKmonc, uri: https://127.0.0.1:14000/chalZ/L7Omtq--TLMqYA52Enpo6m7h62jiG3KBf4tyOJ9ieLU, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/GPQwbvHzpCXHmXM7PosTh6KTDoiD_-HV3UmIP2gsU9s: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0510c95102292ed6: 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/4fa323f604692b38 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/4fa323f604692b38 acme-client: dochngreq: https://127.0.0.1:14000/authZ/7ov8UOGR0qROEx50NyKdSeX9EgBHVmXjc16NfECPPCI acme-client: challenge, token: oOicRIMTiC8zce-bb0QG0NkLyqcUsP1GFgGQ4C3EbIM, uri: https://127.0.0.1:14000/chalZ/F7CuYqnC72ppYKczp5SQbEjVPxm-4Azju0LaO2RJxek, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/oOicRIMTiC8zce-bb0QG0NkLyqcUsP1GFgGQ4C3EbIM: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/0rTd7kwnmkcRdMIIS9ilW82gakOePiweQ6lKapCBFBA acme-client: challenge, token: PaDT_qESvGeWKzqd4HSG_Px9y3h-MmHCxtOtUXF1jbY, uri: https://127.0.0.1:14000/chalZ/ewLwZc_XahM_Tw5WVz3aWI_f9hLdZpLm46hgIovvp1M, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/PaDT_qESvGeWKzqd4HSG_Px9y3h-MmHCxtOtUXF1jbY: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/B58HkpYD_4_r3AyT1LifCFgzvB6WD0RBTm7-lsBDCa4 acme-client: challenge, token: _LCxyNZ81e7rHGYzm-FfElpybimkN4Zl_7gdKuBBl4M, uri: https://127.0.0.1:14000/chalZ/cUa28JYMUbgQxlgZDQcNWZNMugWKba70zIhmFeKHb8Q, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/_LCxyNZ81e7rHGYzm-FfElpybimkN4Zl_7gdKuBBl4M: created acme-client: https://127.0.0.1:14000/chalZ/F7CuYqnC72ppYKczp5SQbEjVPxm-4Azju0LaO2RJxek: challenge acme-client: https://127.0.0.1:14000/chalZ/ewLwZc_XahM_Tw5WVz3aWI_f9hLdZpLm46hgIovvp1M: challenge acme-client: https://127.0.0.1:14000/chalZ/cUa28JYMUbgQxlgZDQcNWZNMugWKba70zIhmFeKHb8Q: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/7ov8UOGR0qROEx50NyKdSeX9EgBHVmXjc16NfECPPCI acme-client: challenge, token: oOicRIMTiC8zce-bb0QG0NkLyqcUsP1GFgGQ4C3EbIM, uri: https://127.0.0.1:14000/chalZ/F7CuYqnC72ppYKczp5SQbEjVPxm-4Azju0LaO2RJxek, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/0rTd7kwnmkcRdMIIS9ilW82gakOePiweQ6lKapCBFBA acme-client: challenge, token: PaDT_qESvGeWKzqd4HSG_Px9y3h-MmHCxtOtUXF1jbY, uri: https://127.0.0.1:14000/chalZ/ewLwZc_XahM_Tw5WVz3aWI_f9hLdZpLm46hgIovvp1M, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/B58HkpYD_4_r3AyT1LifCFgzvB6WD0RBTm7-lsBDCa4 acme-client: challenge, token: _LCxyNZ81e7rHGYzm-FfElpybimkN4Zl_7gdKuBBl4M, uri: https://127.0.0.1:14000/chalZ/cUa28JYMUbgQxlgZDQcNWZNMugWKba70zIhmFeKHb8Q, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/RqfAcAsQEXIik7DyQaAmGo2ARVHVjVPGuoZIUZSM4vo: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6a524cda0b9526a2: 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/4fa323f604692b38 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/4fa323f604692b38 acme-client: dochngreq: https://127.0.0.1:14000/authZ/2hhB2uO5xRKdK7s7IjjunkLj6EIOYA4mKzlcwgD9MpU acme-client: challenge, token: 5B4q3ZEvWcqxHi5Z_sFNStHUxQUFPsloGgFO0KyIEA4, uri: https://127.0.0.1:14000/chalZ/gqfBPNOVC2Vzuej_rigK9IryaaUVC9z6cjEZR7GtVxM, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/5B4q3ZEvWcqxHi5Z_sFNStHUxQUFPsloGgFO0KyIEA4: created acme-client: https://127.0.0.1:14000/chalZ/gqfBPNOVC2Vzuej_rigK9IryaaUVC9z6cjEZR7GtVxM: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/2hhB2uO5xRKdK7s7IjjunkLj6EIOYA4mKzlcwgD9MpU acme-client: challenge, token: 5B4q3ZEvWcqxHi5Z_sFNStHUxQUFPsloGgFO0KyIEA4, uri: https://127.0.0.1:14000/chalZ/gqfBPNOVC2Vzuej_rigK9IryaaUVC9z6cjEZR7GtVxM, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/bN1LoMOZSfYz42dXteIQEto2ptQIdHqbLG7hpBV1www: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/71a6df076357f65a: 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/4fa323f604692b38 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"