==== 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" 53701 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/7207d109fa9d223e acme-client: dochngreq: https://127.0.0.1:14000/authZ/KjINI13mr3vfHh7U2xrNV4pSeOXzzngrzE7gaPgA3OA acme-client: challenge, token: uYgwxi8EoibDHK3njNrdNa73n72Ck92Igxvkf7z7ryo, uri: https://127.0.0.1:14000/chalZ/1MAf-b4nmi1Ay4f09PoJOrRaLlxa3rARE2ekZg3EJn0, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/uYgwxi8EoibDHK3njNrdNa73n72Ck92Igxvkf7z7ryo: created acme-client: https://127.0.0.1:14000/chalZ/1MAf-b4nmi1Ay4f09PoJOrRaLlxa3rARE2ekZg3EJn0: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/KjINI13mr3vfHh7U2xrNV4pSeOXzzngrzE7gaPgA3OA acme-client: challenge, token: uYgwxi8EoibDHK3njNrdNa73n72Ck92Igxvkf7z7ryo, uri: https://127.0.0.1:14000/chalZ/1MAf-b4nmi1Ay4f09PoJOrRaLlxa3rARE2ekZg3EJn0, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/HkJaffgyX6tmwUnCmKe1Feh5Fsgv5Fr4VS1PtFUTfNs: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/2c993e2f3ce850a3: certificate account key: https://127.0.0.1:14000/my-account/7207d109fa9d223e 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/7207d109fa9d223e 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/7207d109fa9d223e acme-client: dochngreq: https://127.0.0.1:14000/authZ/Q_RG5OXQV1Ool5jidVcOqm-EDKPCZOy8yq_BzrroCeA acme-client: challenge, token: tr0_2FgBYeQEgZ86T3lDszfTbkD18-UYkt23l2Hw-2A, uri: https://127.0.0.1:14000/chalZ/IjgYjyqCCk0eRbUmyFGpKg5cZb6yT_Qo5Z_bf-NdV_E, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/tr0_2FgBYeQEgZ86T3lDszfTbkD18-UYkt23l2Hw-2A: created acme-client: https://127.0.0.1:14000/chalZ/IjgYjyqCCk0eRbUmyFGpKg5cZb6yT_Qo5Z_bf-NdV_E: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Q_RG5OXQV1Ool5jidVcOqm-EDKPCZOy8yq_BzrroCeA acme-client: challenge, token: tr0_2FgBYeQEgZ86T3lDszfTbkD18-UYkt23l2Hw-2A, uri: https://127.0.0.1:14000/chalZ/IjgYjyqCCk0eRbUmyFGpKg5cZb6yT_Qo5Z_bf-NdV_E, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/4GzDecKO2rx2DTCI6pEm1UFkzCUw3CmJgvgpYul6ixI: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/29ef9b68aa71ad7e: 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/7207d109fa9d223e 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/7207d109fa9d223e acme-client: dochngreq: https://127.0.0.1:14000/authZ/shpohtMGnTfQyqFGxbQcrxo6zU9Xp8uBqgWd4NsfpAQ acme-client: challenge, token: NxE8mGBOdZ_TiTspTCcOmvlC28eIX_4FDicugBd4-jg, uri: https://127.0.0.1:14000/chalZ/XTgDunPReJ71HyoXxPo4L33wvV-TmV2eczX-ruXg3lc, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/NxE8mGBOdZ_TiTspTCcOmvlC28eIX_4FDicugBd4-jg: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/EAG0PXN3EzrFRSHbC_CU-X3DSRvC6wYXhjdeA0HZuhc acme-client: challenge, token: 4p8pGt3W02PT-NX37HCX8PmQVryAWen29vw7tgoHQuo, uri: https://127.0.0.1:14000/chalZ/eRfBTbWp1jcGRZM_6KWD8KbsaWtEmaWED946zC05XPA, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/4p8pGt3W02PT-NX37HCX8PmQVryAWen29vw7tgoHQuo: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/KjINI13mr3vfHh7U2xrNV4pSeOXzzngrzE7gaPgA3OA acme-client: challenge, token: uYgwxi8EoibDHK3njNrdNa73n72Ck92Igxvkf7z7ryo, uri: https://127.0.0.1:14000/chalZ/1MAf-b4nmi1Ay4f09PoJOrRaLlxa3rARE2ekZg3EJn0, status: 2 acme-client: https://127.0.0.1:14000/chalZ/XTgDunPReJ71HyoXxPo4L33wvV-TmV2eczX-ruXg3lc: challenge acme-client: https://127.0.0.1:14000/chalZ/eRfBTbWp1jcGRZM_6KWD8KbsaWtEmaWED946zC05XPA: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/shpohtMGnTfQyqFGxbQcrxo6zU9Xp8uBqgWd4NsfpAQ acme-client: challenge, token: NxE8mGBOdZ_TiTspTCcOmvlC28eIX_4FDicugBd4-jg, uri: https://127.0.0.1:14000/chalZ/XTgDunPReJ71HyoXxPo4L33wvV-TmV2eczX-ruXg3lc, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/EAG0PXN3EzrFRSHbC_CU-X3DSRvC6wYXhjdeA0HZuhc acme-client: challenge, token: 4p8pGt3W02PT-NX37HCX8PmQVryAWen29vw7tgoHQuo, uri: https://127.0.0.1:14000/chalZ/eRfBTbWp1jcGRZM_6KWD8KbsaWtEmaWED946zC05XPA, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/KjINI13mr3vfHh7U2xrNV4pSeOXzzngrzE7gaPgA3OA acme-client: challenge, token: uYgwxi8EoibDHK3njNrdNa73n72Ck92Igxvkf7z7ryo, uri: https://127.0.0.1:14000/chalZ/1MAf-b4nmi1Ay4f09PoJOrRaLlxa3rARE2ekZg3EJn0, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/qUesaySyVvomPsRAoVRsHNkmY5JZVEFc2rX5rgD277g: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/5e130675493dc65d: 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/7207d109fa9d223e 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/7207d109fa9d223e acme-client: dochngreq: https://127.0.0.1:14000/authZ/OXsQxaH9RkSzdzEKgWnldn6XTVsvezpeEk-MiSiha7Q acme-client: challenge, token: Re5Rug1Ei3QbT2fDPzXe7F6oeLyyFycGjthF5tvUpwI, uri: https://127.0.0.1:14000/chalZ/AGAqAN1KB_gG5CWV4WOQarR6eAHu233efTdR8hQhIaI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Re5Rug1Ei3QbT2fDPzXe7F6oeLyyFycGjthF5tvUpwI: created acme-client: https://127.0.0.1:14000/chalZ/AGAqAN1KB_gG5CWV4WOQarR6eAHu233efTdR8hQhIaI: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/OXsQxaH9RkSzdzEKgWnldn6XTVsvezpeEk-MiSiha7Q acme-client: challenge, token: Re5Rug1Ei3QbT2fDPzXe7F6oeLyyFycGjthF5tvUpwI, uri: https://127.0.0.1:14000/chalZ/AGAqAN1KB_gG5CWV4WOQarR6eAHu233efTdR8hQhIaI, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/CLclwBiiwAoaAB3Y9pwCoT3MIMTGzO2AP_3ntwUmcag: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/1e49cee0e52d3971: 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/7207d109fa9d223e 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"