==== 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" 66464 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/5db00152d6463953 acme-client: dochngreq: https://127.0.0.1:14000/authZ/PDyx_Ghob9w6bQut0Jpn9rQ9ovY654rigOM8KL1g9HQ acme-client: challenge, token: pd3osLmuMxDTCj1755rZEj0V2Si0W8iikYfH0yGfP-U, uri: https://127.0.0.1:14000/chalZ/j0d56ILIIz5bB2Bbr8e0yW8QsmbdFXVYu51yrMQVY3I, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/pd3osLmuMxDTCj1755rZEj0V2Si0W8iikYfH0yGfP-U: created acme-client: https://127.0.0.1:14000/chalZ/j0d56ILIIz5bB2Bbr8e0yW8QsmbdFXVYu51yrMQVY3I: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/PDyx_Ghob9w6bQut0Jpn9rQ9ovY654rigOM8KL1g9HQ acme-client: challenge, token: pd3osLmuMxDTCj1755rZEj0V2Si0W8iikYfH0yGfP-U, uri: https://127.0.0.1:14000/chalZ/j0d56ILIIz5bB2Bbr8e0yW8QsmbdFXVYu51yrMQVY3I, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/pwKMgKFEF7hD58kSEweGtQXr7xYcnjUY6laOz09_n38: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/27c11c76076f0ad8: certificate account key: https://127.0.0.1:14000/my-account/5db00152d6463953 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/5db00152d6463953 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/5db00152d6463953 acme-client: dochngreq: https://127.0.0.1:14000/authZ/DKkjncWuN2fO5G_MxKxvBTy1CeAo3LXISUBQ7zvAvdo acme-client: challenge, token: 4sJOlKdMSiLgucF9-9AHYoQ-wFRVA2hzlksacHhehaQ, uri: https://127.0.0.1:14000/chalZ/rHbBVyp5a0yxgMKwg79xQOE64XEHRRcNMW7jfy4Sy-w, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/4sJOlKdMSiLgucF9-9AHYoQ-wFRVA2hzlksacHhehaQ: created acme-client: https://127.0.0.1:14000/chalZ/rHbBVyp5a0yxgMKwg79xQOE64XEHRRcNMW7jfy4Sy-w: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/DKkjncWuN2fO5G_MxKxvBTy1CeAo3LXISUBQ7zvAvdo acme-client: challenge, token: 4sJOlKdMSiLgucF9-9AHYoQ-wFRVA2hzlksacHhehaQ, uri: https://127.0.0.1:14000/chalZ/rHbBVyp5a0yxgMKwg79xQOE64XEHRRcNMW7jfy4Sy-w, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/MEolRcQJ2mwbRxcGKuClYnOJrch46IGHqmnKd69iTDY: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7cfce791c6ff3a36: 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/5db00152d6463953 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/5db00152d6463953 acme-client: dochngreq: https://127.0.0.1:14000/authZ/V6CuGnNz8I8axbX38eYxe0jGkhiyk1vMCQg-k8Shs4s acme-client: challenge, token: KCs43gxJj8MehROHVX7lqCWiYW89mghQlRxivgBLEjY, uri: https://127.0.0.1:14000/chalZ/T6ZWx1lgfvkTuGDTfESppy63zRIzEWEV52Q1FwyjOJg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/KCs43gxJj8MehROHVX7lqCWiYW89mghQlRxivgBLEjY: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/PDyx_Ghob9w6bQut0Jpn9rQ9ovY654rigOM8KL1g9HQ acme-client: challenge, token: pd3osLmuMxDTCj1755rZEj0V2Si0W8iikYfH0yGfP-U, uri: https://127.0.0.1:14000/chalZ/j0d56ILIIz5bB2Bbr8e0yW8QsmbdFXVYu51yrMQVY3I, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/KaGB2By6gIH01Mdsvsggp4ospTmQfqlbbhfhQ165YWU acme-client: challenge, token: pzu-9nKFugC3EUADsIIvh9z4xrKvCHh6VswF-hxkad0, uri: https://127.0.0.1:14000/chalZ/BBQabX3OU6vsTHET0GAQSRbBwl6XEAqnybq8KM9g8cg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/pzu-9nKFugC3EUADsIIvh9z4xrKvCHh6VswF-hxkad0: created acme-client: https://127.0.0.1:14000/chalZ/T6ZWx1lgfvkTuGDTfESppy63zRIzEWEV52Q1FwyjOJg: challenge acme-client: https://127.0.0.1:14000/chalZ/BBQabX3OU6vsTHET0GAQSRbBwl6XEAqnybq8KM9g8cg: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/V6CuGnNz8I8axbX38eYxe0jGkhiyk1vMCQg-k8Shs4s acme-client: challenge, token: KCs43gxJj8MehROHVX7lqCWiYW89mghQlRxivgBLEjY, uri: https://127.0.0.1:14000/chalZ/T6ZWx1lgfvkTuGDTfESppy63zRIzEWEV52Q1FwyjOJg, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/PDyx_Ghob9w6bQut0Jpn9rQ9ovY654rigOM8KL1g9HQ acme-client: challenge, token: pd3osLmuMxDTCj1755rZEj0V2Si0W8iikYfH0yGfP-U, uri: https://127.0.0.1:14000/chalZ/j0d56ILIIz5bB2Bbr8e0yW8QsmbdFXVYu51yrMQVY3I, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/KaGB2By6gIH01Mdsvsggp4ospTmQfqlbbhfhQ165YWU acme-client: challenge, token: pzu-9nKFugC3EUADsIIvh9z4xrKvCHh6VswF-hxkad0, uri: https://127.0.0.1:14000/chalZ/BBQabX3OU6vsTHET0GAQSRbBwl6XEAqnybq8KM9g8cg, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/Em39bBR8UCrcM25TgtNSFXYkjZHoR6kyviyou5J5pV8: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0f517791ece79b88: 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/5db00152d6463953 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/5db00152d6463953 acme-client: https://127.0.0.1:14000/finalize-order/7-r4ZcR02Lbzd090Pwsus9eiqXFb9fJ-sAPJPPYkvIk: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7e8c68301b1b6d96: 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/5db00152d6463953 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/496202e3ca6872a2 acme-client: dochngreq: https://127.0.0.1:14001/authZ/7BfCooND2Qe_dIGohF6U0JoW-aifa45hA-pXvAYopM8 acme-client: challenge, token: TsPdJLheHXwMtC74swXgymV9QOrZCjP5KWTflLaXjF4, uri: https://127.0.0.1:14001/chalZ/N7fsrmRpXwmtdKX8y-GaO_-ze33CgzZ1OmWQ2ElJhYI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/TsPdJLheHXwMtC74swXgymV9QOrZCjP5KWTflLaXjF4: created acme-client: https://127.0.0.1:14001/chalZ/N7fsrmRpXwmtdKX8y-GaO_-ze33CgzZ1OmWQ2ElJhYI: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/7BfCooND2Qe_dIGohF6U0JoW-aifa45hA-pXvAYopM8 acme-client: challenge, token: TsPdJLheHXwMtC74swXgymV9QOrZCjP5KWTflLaXjF4, uri: https://127.0.0.1:14001/chalZ/N7fsrmRpXwmtdKX8y-GaO_-ze33CgzZ1OmWQ2ElJhYI, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/1aLu1xbN75ION49iKfi7h1ZE_Dav3Uwmfv0wI_IkP8k: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/7ea8b1ea283c1a1a: certificate account key: https://127.0.0.1:14001/my-account/496202e3ca6872a2 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"