==== 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" 73609 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/29c5d6dc416889d8 acme-client: dochngreq: https://127.0.0.1:14000/authZ/idxYTWWewk1oTN4pkFkcH1uC-aexzzaCAEB6vD3oATs acme-client: challenge, token: mVrpm6AMgMMMIUh_raxz0lifhQXGaSKHD1O1-oS7QWo, uri: https://127.0.0.1:14000/chalZ/0exWrqowWqphiRssv10uHhfLtm2WVMRiw_uQCL4iDBk, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/mVrpm6AMgMMMIUh_raxz0lifhQXGaSKHD1O1-oS7QWo: created acme-client: https://127.0.0.1:14000/chalZ/0exWrqowWqphiRssv10uHhfLtm2WVMRiw_uQCL4iDBk: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/idxYTWWewk1oTN4pkFkcH1uC-aexzzaCAEB6vD3oATs acme-client: challenge, token: mVrpm6AMgMMMIUh_raxz0lifhQXGaSKHD1O1-oS7QWo, uri: https://127.0.0.1:14000/chalZ/0exWrqowWqphiRssv10uHhfLtm2WVMRiw_uQCL4iDBk, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/fiqlZ2qw4Z1aIuLlQkCaBsHpUE0YrpkQEznUapmIfXQ: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/3a2745ef1f6f6133: certificate account key: https://127.0.0.1:14000/my-account/29c5d6dc416889d8 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/29c5d6dc416889d8 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/29c5d6dc416889d8 acme-client: dochngreq: https://127.0.0.1:14000/authZ/6_Mv2GnR8Z0oaSVYczqg2PtljEa3B4JiH38xVVNdS3o acme-client: challenge, token: _2OfR6CIUCQ0_8Jyl-XIcB6mv3taKfBAeMrkC10AJDs, uri: https://127.0.0.1:14000/chalZ/G-lBwj329Rr3WNwctE3scNFSFMrUh0eC4IPofXZ0wCU, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/_2OfR6CIUCQ0_8Jyl-XIcB6mv3taKfBAeMrkC10AJDs: created acme-client: https://127.0.0.1:14000/chalZ/G-lBwj329Rr3WNwctE3scNFSFMrUh0eC4IPofXZ0wCU: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/6_Mv2GnR8Z0oaSVYczqg2PtljEa3B4JiH38xVVNdS3o acme-client: challenge, token: _2OfR6CIUCQ0_8Jyl-XIcB6mv3taKfBAeMrkC10AJDs, uri: https://127.0.0.1:14000/chalZ/G-lBwj329Rr3WNwctE3scNFSFMrUh0eC4IPofXZ0wCU, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/cCLj01G2bypoXY_5_DO_mHbj0zapzDRNvtw_0wsLHOU: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0548236753582087: 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/29c5d6dc416889d8 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/29c5d6dc416889d8 acme-client: dochngreq: https://127.0.0.1:14000/authZ/qrSEclpDNpyT4mAoWwYO6ZFEiQcmSv9q6Q39FENhT-k acme-client: challenge, token: smDyWHkrv41wVM-3Jcgv0aGuECOL0VLM0_dt1KBzjws, uri: https://127.0.0.1:14000/chalZ/AsOrf1gvS1pwnKTD7kw4zpGGF_Kjcx7wY44c257OJr4, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/smDyWHkrv41wVM-3Jcgv0aGuECOL0VLM0_dt1KBzjws: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/Bh36hABxkxOdqJ5bhGiK7RFo-bT0K49eAJ9olBTdZy0 acme-client: challenge, token: ikzFYVUXIK-NlM6smYbhaPajvZ9oH0Jg-8cnucZX1Jg, uri: https://127.0.0.1:14000/chalZ/U4CvG723X0zyQHVpPbT9IHkaOOhIWhyiohrJ-9L4GEM, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/ikzFYVUXIK-NlM6smYbhaPajvZ9oH0Jg-8cnucZX1Jg: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/U1p6ns99_exFj-WJgysCHza9QRrmCTw_pUTpkM_CzTY acme-client: challenge, token: mZbxLtGGjtG-yy1J1htM5Yopk9Qo6GMgK1SHZjuPLCk, uri: https://127.0.0.1:14000/chalZ/50oZIZkBoPpUgUNmJvGHZ9llK-8OIaIANsXYwjCkxvs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/mZbxLtGGjtG-yy1J1htM5Yopk9Qo6GMgK1SHZjuPLCk: created acme-client: https://127.0.0.1:14000/chalZ/AsOrf1gvS1pwnKTD7kw4zpGGF_Kjcx7wY44c257OJr4: challenge acme-client: https://127.0.0.1:14000/chalZ/U4CvG723X0zyQHVpPbT9IHkaOOhIWhyiohrJ-9L4GEM: challenge acme-client: https://127.0.0.1:14000/chalZ/50oZIZkBoPpUgUNmJvGHZ9llK-8OIaIANsXYwjCkxvs: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/qrSEclpDNpyT4mAoWwYO6ZFEiQcmSv9q6Q39FENhT-k acme-client: challenge, token: smDyWHkrv41wVM-3Jcgv0aGuECOL0VLM0_dt1KBzjws, uri: https://127.0.0.1:14000/chalZ/AsOrf1gvS1pwnKTD7kw4zpGGF_Kjcx7wY44c257OJr4, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Bh36hABxkxOdqJ5bhGiK7RFo-bT0K49eAJ9olBTdZy0 acme-client: challenge, token: ikzFYVUXIK-NlM6smYbhaPajvZ9oH0Jg-8cnucZX1Jg, uri: https://127.0.0.1:14000/chalZ/U4CvG723X0zyQHVpPbT9IHkaOOhIWhyiohrJ-9L4GEM, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/U1p6ns99_exFj-WJgysCHza9QRrmCTw_pUTpkM_CzTY acme-client: challenge, token: mZbxLtGGjtG-yy1J1htM5Yopk9Qo6GMgK1SHZjuPLCk, uri: https://127.0.0.1:14000/chalZ/50oZIZkBoPpUgUNmJvGHZ9llK-8OIaIANsXYwjCkxvs, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/M-NpTeXsN8WOlsj9yYzGwyrJXIaKkLG9vB9dkas1_qc: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6f44edd27100a8be: 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/29c5d6dc416889d8 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/29c5d6dc416889d8 acme-client: https://127.0.0.1:14000/finalize-order/OFq0CgQI7pQwPO4xGsR6BF79nCqBO6W7EJ-880wrqAk: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7e1aaabe5e222f5c: 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/29c5d6dc416889d8 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/3ec15ab2c57e0600 acme-client: dochngreq: https://127.0.0.1:14001/authZ/ZYvQNvL8tjSkwUpPgu_xHUFW9AtW9uOPKeKU5b1Nc54 acme-client: challenge, token: nF-Dz-_DQb83XURtatXBf0ohfY05KO9vVQ03zzCdl5k, uri: https://127.0.0.1:14001/chalZ/Y9KowmxvGYtuqfNoxLQ6gE9h9x7umyIvLqmFYTgny3U, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/nF-Dz-_DQb83XURtatXBf0ohfY05KO9vVQ03zzCdl5k: created acme-client: https://127.0.0.1:14001/chalZ/Y9KowmxvGYtuqfNoxLQ6gE9h9x7umyIvLqmFYTgny3U: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/ZYvQNvL8tjSkwUpPgu_xHUFW9AtW9uOPKeKU5b1Nc54 acme-client: challenge, token: nF-Dz-_DQb83XURtatXBf0ohfY05KO9vVQ03zzCdl5k, uri: https://127.0.0.1:14001/chalZ/Y9KowmxvGYtuqfNoxLQ6gE9h9x7umyIvLqmFYTgny3U, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/z-XJHhKx7I4St0No0rBrI92ryW2Zov0VHan7GAm6-jw: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/0b34fc5ecd7ac6d0: certificate account key: https://127.0.0.1:14001/my-account/3ec15ab2c57e0600 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"