==== 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" 57686 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/6ba74ee1fd25c74 acme-client: dochngreq: https://127.0.0.1:14000/authZ/5j8ZH3j-apVYrwIrZ3kYnuVQ4vFICeaWy20DazeKLDQ acme-client: challenge, token: 0evlG-7PRElEKVPz-gj4aNHQaJnYC7wU10tnwB5r5zA, uri: https://127.0.0.1:14000/chalZ/u7WWQENNhxA3z-zJU4w4ZgaguvJD5SwA_CiopvRo_0Q, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/0evlG-7PRElEKVPz-gj4aNHQaJnYC7wU10tnwB5r5zA: created acme-client: https://127.0.0.1:14000/chalZ/u7WWQENNhxA3z-zJU4w4ZgaguvJD5SwA_CiopvRo_0Q: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/5j8ZH3j-apVYrwIrZ3kYnuVQ4vFICeaWy20DazeKLDQ acme-client: challenge, token: 0evlG-7PRElEKVPz-gj4aNHQaJnYC7wU10tnwB5r5zA, uri: https://127.0.0.1:14000/chalZ/u7WWQENNhxA3z-zJU4w4ZgaguvJD5SwA_CiopvRo_0Q, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/CQ9GjBAvTxh8euPCBwNm77PjzngYtU2tGYPPe2THe7A: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/2440995d03eac835: certificate account key: https://127.0.0.1:14000/my-account/6ba74ee1fd25c74 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/6ba74ee1fd25c74 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/6ba74ee1fd25c74 acme-client: https://127.0.0.1:14000/finalize-order/R7d2V1y3E9_E0k80DHSXLtavvAL06-yYKvpm9tSR4JY: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/717ce0e42deb42a4: 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/6ba74ee1fd25c74 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/6ba74ee1fd25c74 acme-client: dochngreq: https://127.0.0.1:14000/authZ/q5M44PNvdhsRJNYt2kiUQEd8muadz6wGRjQe9QZ2Bws acme-client: challenge, token: YZ9OZJruFp4EU8AHLqaEVGEIxtToKtYOshWZSfg_rBY, uri: https://127.0.0.1:14000/chalZ/BiRa6ArXY-0fjWLfv2eLAR57-IUt1PjyR3VBL3MvH7E, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/YZ9OZJruFp4EU8AHLqaEVGEIxtToKtYOshWZSfg_rBY: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/XGxKXJEB51hfBfOy46rUEP-8TeSd29DHbE0DeYnmXbk acme-client: challenge, token: rLPNjpT3gX2LQpFw8ljZeSk_6MEXWt6aqn4ye-tLh_k, uri: https://127.0.0.1:14000/chalZ/j3d4u6l72rpiFOpQYmijGRX7lGOUx1WepIjCbzi1G04, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/rLPNjpT3gX2LQpFw8ljZeSk_6MEXWt6aqn4ye-tLh_k: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/GjZAge3XXjkbR5QAHvQX7oQbS4UdcyxjoL7z8ex0EwY acme-client: challenge, token: IAcgurm6SYGhoTH8ozU7ZH-ykxILkkWe1Iv2uX-v8gY, uri: https://127.0.0.1:14000/chalZ/2n85RUCSb3PerJSks4l4B1u_LRfPWcNVKTiumzDvzbQ, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/IAcgurm6SYGhoTH8ozU7ZH-ykxILkkWe1Iv2uX-v8gY: created acme-client: https://127.0.0.1:14000/chalZ/BiRa6ArXY-0fjWLfv2eLAR57-IUt1PjyR3VBL3MvH7E: challenge acme-client: https://127.0.0.1:14000/chalZ/j3d4u6l72rpiFOpQYmijGRX7lGOUx1WepIjCbzi1G04: challenge acme-client: https://127.0.0.1:14000/chalZ/2n85RUCSb3PerJSks4l4B1u_LRfPWcNVKTiumzDvzbQ: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/q5M44PNvdhsRJNYt2kiUQEd8muadz6wGRjQe9QZ2Bws acme-client: challenge, token: YZ9OZJruFp4EU8AHLqaEVGEIxtToKtYOshWZSfg_rBY, uri: https://127.0.0.1:14000/chalZ/BiRa6ArXY-0fjWLfv2eLAR57-IUt1PjyR3VBL3MvH7E, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/XGxKXJEB51hfBfOy46rUEP-8TeSd29DHbE0DeYnmXbk acme-client: challenge, token: rLPNjpT3gX2LQpFw8ljZeSk_6MEXWt6aqn4ye-tLh_k, uri: https://127.0.0.1:14000/chalZ/j3d4u6l72rpiFOpQYmijGRX7lGOUx1WepIjCbzi1G04, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/GjZAge3XXjkbR5QAHvQX7oQbS4UdcyxjoL7z8ex0EwY acme-client: challenge, token: IAcgurm6SYGhoTH8ozU7ZH-ykxILkkWe1Iv2uX-v8gY, uri: https://127.0.0.1:14000/chalZ/2n85RUCSb3PerJSks4l4B1u_LRfPWcNVKTiumzDvzbQ, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/19WjrzmibQMTb_nq-zmSoLD4mAOdqQ5WOLWyjYTK_pg: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/3abb480213e91d85: 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/6ba74ee1fd25c74 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/6ba74ee1fd25c74 acme-client: https://127.0.0.1:14000/finalize-order/Bmkmdkcjs9qP3SKT8bRwFV298yRx3u266NDJ7jmi5xs: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/3c416bbd32efae16: 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/6ba74ee1fd25c74 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/719f2b7ee913fdc8 acme-client: dochngreq: https://127.0.0.1:14001/authZ/tZ53PSHIFXHVIlolbMOBlgXAxWvj1rGYP5vXPmW5gTg acme-client: challenge, token: hHvVBlw5sVfuJ3nuWyH2hlS5CRpRWdw0kgvYE_VKijs, uri: https://127.0.0.1:14001/chalZ/NL_4qIBLtWD-XiVWDZDqeiAy6On4y2zeIZw7LDSu2pg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/hHvVBlw5sVfuJ3nuWyH2hlS5CRpRWdw0kgvYE_VKijs: created acme-client: https://127.0.0.1:14001/chalZ/NL_4qIBLtWD-XiVWDZDqeiAy6On4y2zeIZw7LDSu2pg: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/tZ53PSHIFXHVIlolbMOBlgXAxWvj1rGYP5vXPmW5gTg acme-client: challenge, token: hHvVBlw5sVfuJ3nuWyH2hlS5CRpRWdw0kgvYE_VKijs, uri: https://127.0.0.1:14001/chalZ/NL_4qIBLtWD-XiVWDZDqeiAy6On4y2zeIZw7LDSu2pg, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/eIuQNqObSsmVpf9JuuJHqI9ghZ-KWXK1EquDH6Y8ZGA: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/4d6222c76df6d074: certificate account key: https://127.0.0.1:14001/my-account/719f2b7ee913fdc8 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"