==== 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" 33863 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/7b1fae6f2b78adbd acme-client: dochngreq: https://127.0.0.1:14000/authZ/DKwp_3bOwojvAzb1HTuUIeg844fyW_3y4szxoHbLefc acme-client: challenge, token: 6B4PWAg3UqgNOSrIYoy1AUrpmYN5Ro5IhtwMZT1RZ4w, uri: https://127.0.0.1:14000/chalZ/hqz2UgDjY1kYynjmKGSl6Mj3BZqrAAyPBBMaV_MUT-w, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/6B4PWAg3UqgNOSrIYoy1AUrpmYN5Ro5IhtwMZT1RZ4w: created acme-client: https://127.0.0.1:14000/chalZ/hqz2UgDjY1kYynjmKGSl6Mj3BZqrAAyPBBMaV_MUT-w: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/DKwp_3bOwojvAzb1HTuUIeg844fyW_3y4szxoHbLefc acme-client: challenge, token: 6B4PWAg3UqgNOSrIYoy1AUrpmYN5Ro5IhtwMZT1RZ4w, uri: https://127.0.0.1:14000/chalZ/hqz2UgDjY1kYynjmKGSl6Mj3BZqrAAyPBBMaV_MUT-w, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/qZuBRN_jZBlEmk98e5Vszz9mn1kFjdkDDM4iU8ajBTg: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/083832b83933c9dc: certificate acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert.pem: created account key: https://127.0.0.1:14000/my-account/7b1fae6f2b78adbd 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/7b1fae6f2b78adbd 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/7b1fae6f2b78adbd acme-client: dochngreq: https://127.0.0.1:14000/authZ/bXJ4s_AtCPzcrf_HyTYZEOzdRxPa47pqEzc2RDGTc7I acme-client: challenge, token: oIH4ePPoi6MDBPJOSRmWruyB91YWAbH9cO-DGZf58lc, uri: https://127.0.0.1:14000/chalZ/dby3ghCTvx2j8awAjoCKeE4nRLH1ZM5vmei6uLwd7e8, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/oIH4ePPoi6MDBPJOSRmWruyB91YWAbH9cO-DGZf58lc: created acme-client: https://127.0.0.1:14000/chalZ/dby3ghCTvx2j8awAjoCKeE4nRLH1ZM5vmei6uLwd7e8: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/bXJ4s_AtCPzcrf_HyTYZEOzdRxPa47pqEzc2RDGTc7I acme-client: challenge, token: oIH4ePPoi6MDBPJOSRmWruyB91YWAbH9cO-DGZf58lc, uri: https://127.0.0.1:14000/chalZ/dby3ghCTvx2j8awAjoCKeE4nRLH1ZM5vmei6uLwd7e8, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/bAdarsMk4xubSf_23UrqIRqTHL5ohAykDOkwJKYXSLE: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/671a50396c591bd0: 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/7b1fae6f2b78adbd 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/7b1fae6f2b78adbd acme-client: dochngreq: https://127.0.0.1:14000/authZ/nlycpY80OcrGQ8qq2wykprwrRM2qGWPk9_vL1DXE_yA acme-client: challenge, token: SEJ8SN-3mr3TZ19RJNDRRoTYrarxg5ClGaWhnoZ4P5g, uri: https://127.0.0.1:14000/chalZ/QtnWkKyRDBzKv-M8BREi4H6pvCif8TrTxHES-V4CM7s, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/SEJ8SN-3mr3TZ19RJNDRRoTYrarxg5ClGaWhnoZ4P5g: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/nZVQIDA4GCuhLPX-Pg6Szi-01XFC8M8E4Jb5wrnvcKs acme-client: challenge, token: irzpivzhnhZQVNRs-8fvZfyD7TzZUbCsjJRT_N2pkds, uri: https://127.0.0.1:14000/chalZ/LNs3_Q-5NUhNls0a6-id8ch5mfSB-DBuaKi4DcO1i1E, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/irzpivzhnhZQVNRs-8fvZfyD7TzZUbCsjJRT_N2pkds: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/AuTQTbMNHa2O4cO5I1WW6uzdKenx3G4dTRhw8ZMpAvU acme-client: challenge, token: Z16jsFRvHmIKKw3G5V275xQgNTvSDhKFWOlj_gWaMmI, uri: https://127.0.0.1:14000/chalZ/M7b586_3UoeVz61PN61NfePtZM7i1LaAsMLVxY4Jnzc, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Z16jsFRvHmIKKw3G5V275xQgNTvSDhKFWOlj_gWaMmI: created acme-client: https://127.0.0.1:14000/chalZ/QtnWkKyRDBzKv-M8BREi4H6pvCif8TrTxHES-V4CM7s: challenge acme-client: https://127.0.0.1:14000/chalZ/LNs3_Q-5NUhNls0a6-id8ch5mfSB-DBuaKi4DcO1i1E: challenge acme-client: https://127.0.0.1:14000/chalZ/M7b586_3UoeVz61PN61NfePtZM7i1LaAsMLVxY4Jnzc: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/nlycpY80OcrGQ8qq2wykprwrRM2qGWPk9_vL1DXE_yA acme-client: challenge, token: SEJ8SN-3mr3TZ19RJNDRRoTYrarxg5ClGaWhnoZ4P5g, uri: https://127.0.0.1:14000/chalZ/QtnWkKyRDBzKv-M8BREi4H6pvCif8TrTxHES-V4CM7s, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/nZVQIDA4GCuhLPX-Pg6Szi-01XFC8M8E4Jb5wrnvcKs acme-client: challenge, token: irzpivzhnhZQVNRs-8fvZfyD7TzZUbCsjJRT_N2pkds, uri: https://127.0.0.1:14000/chalZ/LNs3_Q-5NUhNls0a6-id8ch5mfSB-DBuaKi4DcO1i1E, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/AuTQTbMNHa2O4cO5I1WW6uzdKenx3G4dTRhw8ZMpAvU acme-client: challenge, token: Z16jsFRvHmIKKw3G5V275xQgNTvSDhKFWOlj_gWaMmI, uri: https://127.0.0.1:14000/chalZ/M7b586_3UoeVz61PN61NfePtZM7i1LaAsMLVxY4Jnzc, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/wB1ayvp0ZS6U3misPKIw5fpFnU4wkUvGYw3dQb841r4: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/302fec483e358079: 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/7b1fae6f2b78adbd 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/7b1fae6f2b78adbd acme-client: dochngreq: https://127.0.0.1:14000/authZ/Qoxs583AZy1c2T4MPKPqLd3PMtzEU17LAbFbObrwL0Y acme-client: challenge, token: Erep2hpAZeMdnm5T6ZaZsyHbARX41MFZWNFq5G8H6CU, uri: https://127.0.0.1:14000/chalZ/Tx30n4mYIWPgFsdqzoQP2hAuqvLrPRs4eW05Pd6rDDU, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Erep2hpAZeMdnm5T6ZaZsyHbARX41MFZWNFq5G8H6CU: created acme-client: https://127.0.0.1:14000/chalZ/Tx30n4mYIWPgFsdqzoQP2hAuqvLrPRs4eW05Pd6rDDU: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Qoxs583AZy1c2T4MPKPqLd3PMtzEU17LAbFbObrwL0Y acme-client: challenge, token: Erep2hpAZeMdnm5T6ZaZsyHbARX41MFZWNFq5G8H6CU, uri: https://127.0.0.1:14000/chalZ/Tx30n4mYIWPgFsdqzoQP2hAuqvLrPRs4eW05Pd6rDDU, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/PNapSO88VeP3x-YQhxtqhNwValOgR3F9Zf26XHSP1uQ: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/2c22211389d6e065: 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/7b1fae6f2b78adbd 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/16628eb85c40860 acme-client: dochngreq: https://127.0.0.1:14001/authZ/BKERgVfYkCGRF2CaK1eqcvuNLZKVNQ3e-qX3bCEXwcc acme-client: challenge, token: TRlr6LxLDJZueDJhMwIu-lzkE5llXl8VQYcAzD8hww0, uri: https://127.0.0.1:14001/chalZ/ZK4Qus79idLLZsLaKgGsSJjgLKMdWVyi7W1coDYRbGI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/TRlr6LxLDJZueDJhMwIu-lzkE5llXl8VQYcAzD8hww0: created acme-client: https://127.0.0.1:14001/chalZ/ZK4Qus79idLLZsLaKgGsSJjgLKMdWVyi7W1coDYRbGI: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/BKERgVfYkCGRF2CaK1eqcvuNLZKVNQ3e-qX3bCEXwcc acme-client: challenge, token: TRlr6LxLDJZueDJhMwIu-lzkE5llXl8VQYcAzD8hww0, uri: https://127.0.0.1:14001/chalZ/ZK4Qus79idLLZsLaKgGsSJjgLKMdWVyi7W1coDYRbGI, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/rI1hsiixdkCr08piQmqVUp1VjAwwPy-gZIfTPEARZgU: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/22855d11f03a3e0f: certificate account key: https://127.0.0.1:14001/my-account/16628eb85c40860 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"