==== 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" 40571 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/17a925751d8c5196 acme-client: dochngreq: https://127.0.0.1:14000/authZ/OCMpEZ45Mkbz79hqlxlaxdZ9mi3jX92igqBwebCzPiI acme-client: challenge, token: 1cByd65hqkmUO3L4Fji6tCdwsxUOsANu_CVZ0znFyVc, uri: https://127.0.0.1:14000/chalZ/ZaFtR91XJk53g89-OH2iN44Afo0jdMvyWQ7eA2rHf5Y, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/1cByd65hqkmUO3L4Fji6tCdwsxUOsANu_CVZ0znFyVc: created acme-client: https://127.0.0.1:14000/chalZ/ZaFtR91XJk53g89-OH2iN44Afo0jdMvyWQ7eA2rHf5Y: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/OCMpEZ45Mkbz79hqlxlaxdZ9mi3jX92igqBwebCzPiI acme-client: challenge, token: 1cByd65hqkmUO3L4Fji6tCdwsxUOsANu_CVZ0znFyVc, uri: https://127.0.0.1:14000/chalZ/ZaFtR91XJk53g89-OH2iN44Afo0jdMvyWQ7eA2rHf5Y, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/fFn0IYhE_yztijdzSfx1MNj9vJHgeu_IQ6pfMkKx3cw: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/4996b8360a53ac61: certificate account key: https://127.0.0.1:14000/my-account/17a925751d8c5196 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/17a925751d8c5196 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/17a925751d8c5196 acme-client: https://127.0.0.1:14000/finalize-order/lSuw8-mTI3Uu4AlrRQgGqC-Xrsqr0pYapQGjjlhzNjQ: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/13275527c572a9fc: 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/17a925751d8c5196 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/17a925751d8c5196 acme-client: dochngreq: https://127.0.0.1:14000/authZ/-_GGPM8qchzqsqALmHok9MkMekHzGJRW6UuctuKdxYY acme-client: challenge, token: ooX9jPvQncIprYzBelD5ZBTI2F0pE2tPxZ6XNKoMsFk, uri: https://127.0.0.1:14000/chalZ/ahlbjmD31_EyojO-0ogfn75AotuCOWWaIxc7kXFJIxY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/ooX9jPvQncIprYzBelD5ZBTI2F0pE2tPxZ6XNKoMsFk: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/OCMpEZ45Mkbz79hqlxlaxdZ9mi3jX92igqBwebCzPiI acme-client: challenge, token: 1cByd65hqkmUO3L4Fji6tCdwsxUOsANu_CVZ0znFyVc, uri: https://127.0.0.1:14000/chalZ/ZaFtR91XJk53g89-OH2iN44Afo0jdMvyWQ7eA2rHf5Y, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/jnReCKO57ML0YACyxgB4hnUZPXOrmM3DBtTErAgUsR0 acme-client: challenge, token: keZaY1dJrrzkY6jc5lXEk1zoX8iRh053N-SLCePFWP4, uri: https://127.0.0.1:14000/chalZ/f31jTxUGFILZWgFV1GMkjHyaHaEr_3CLpTCQJbTIZNo, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/keZaY1dJrrzkY6jc5lXEk1zoX8iRh053N-SLCePFWP4: created acme-client: https://127.0.0.1:14000/chalZ/ahlbjmD31_EyojO-0ogfn75AotuCOWWaIxc7kXFJIxY: challenge acme-client: https://127.0.0.1:14000/chalZ/f31jTxUGFILZWgFV1GMkjHyaHaEr_3CLpTCQJbTIZNo: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/-_GGPM8qchzqsqALmHok9MkMekHzGJRW6UuctuKdxYY acme-client: challenge, token: ooX9jPvQncIprYzBelD5ZBTI2F0pE2tPxZ6XNKoMsFk, uri: https://127.0.0.1:14000/chalZ/ahlbjmD31_EyojO-0ogfn75AotuCOWWaIxc7kXFJIxY, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/OCMpEZ45Mkbz79hqlxlaxdZ9mi3jX92igqBwebCzPiI acme-client: challenge, token: 1cByd65hqkmUO3L4Fji6tCdwsxUOsANu_CVZ0znFyVc, uri: https://127.0.0.1:14000/chalZ/ZaFtR91XJk53g89-OH2iN44Afo0jdMvyWQ7eA2rHf5Y, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/jnReCKO57ML0YACyxgB4hnUZPXOrmM3DBtTErAgUsR0 acme-client: challenge, token: keZaY1dJrrzkY6jc5lXEk1zoX8iRh053N-SLCePFWP4, uri: https://127.0.0.1:14000/chalZ/f31jTxUGFILZWgFV1GMkjHyaHaEr_3CLpTCQJbTIZNo, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/5ou5_NwxaZl2zM-Xw35Yuj0RV-bs9rcmcs6VEOntA1k: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0a51419a8e4d0f6e: 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/17a925751d8c5196 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/17a925751d8c5196 acme-client: https://127.0.0.1:14000/finalize-order/YH_knLu4wdY2mhWVnSIixLJ_R5oJ4srxvXlyCmXiFD0: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/07ec9fff6f329602: 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/17a925751d8c5196 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/6f46ef4cf333ef14 acme-client: dochngreq: https://127.0.0.1:14001/authZ/8-KbrH1tjFJ8J2T6C5K_J0ICRffd7PrPyb4ySDLzlZw acme-client: challenge, token: Fs_M5LGSWt1ckkYKPX8wzI2jE9PjXh82nU0y3lk97Wc, uri: https://127.0.0.1:14001/chalZ/uOrd8RYHTb3oF8ce-TsOVxXaaLk_e9Btyzd4TL6ONEU, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Fs_M5LGSWt1ckkYKPX8wzI2jE9PjXh82nU0y3lk97Wc: created acme-client: https://127.0.0.1:14001/chalZ/uOrd8RYHTb3oF8ce-TsOVxXaaLk_e9Btyzd4TL6ONEU: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/8-KbrH1tjFJ8J2T6C5K_J0ICRffd7PrPyb4ySDLzlZw acme-client: challenge, token: Fs_M5LGSWt1ckkYKPX8wzI2jE9PjXh82nU0y3lk97Wc, uri: https://127.0.0.1:14001/chalZ/uOrd8RYHTb3oF8ce-TsOVxXaaLk_e9Btyzd4TL6ONEU, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/jJdQ33auBZkQkueLr5wUcsS53OcY7hGJE9gOSLvTYQI: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/6d443f23d69238ae: certificate account key: https://127.0.0.1:14001/my-account/6f46ef4cf333ef14 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"