==== 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" 56703 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/75669b7119d65da2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/II9nwJqjTB0FjcqWO3Vl8NWFkoFzvFyq3KZ2_p8ytHg acme-client: challenge, token: 3OHirIiCAYZ-nQNpxaOmF7ChM7r13Z7N-hmh5CcF8zw, uri: https://127.0.0.1:14000/chalZ/KAVc8-Mw5CDLxVjG94Ov6Pks3QafT646zmqQKqeUbEo, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/3OHirIiCAYZ-nQNpxaOmF7ChM7r13Z7N-hmh5CcF8zw: created acme-client: https://127.0.0.1:14000/chalZ/KAVc8-Mw5CDLxVjG94Ov6Pks3QafT646zmqQKqeUbEo: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/II9nwJqjTB0FjcqWO3Vl8NWFkoFzvFyq3KZ2_p8ytHg acme-client: challenge, token: 3OHirIiCAYZ-nQNpxaOmF7ChM7r13Z7N-hmh5CcF8zw, uri: https://127.0.0.1:14000/chalZ/KAVc8-Mw5CDLxVjG94Ov6Pks3QafT646zmqQKqeUbEo, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/COZpm0na9Gj9bZ2OCGHjms3FUnLDfds5t4KqdIF7ny0: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/063763ac31794ba2: certificate account key: https://127.0.0.1:14000/my-account/75669b7119d65da2 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/75669b7119d65da2 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/75669b7119d65da2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/DieFvalypAI-45Imwoh_onHPkn61TFskF-I4xONZpfU acme-client: challenge, token: KXq8FrbPs5z6ItqXSDZsJ2QjGQT9E2g-cysMYe9CsLE, uri: https://127.0.0.1:14000/chalZ/usCKAGaPmMVbtfSA7P_j2KZmhbl9qUsTVZjSfzJTIYE, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/KXq8FrbPs5z6ItqXSDZsJ2QjGQT9E2g-cysMYe9CsLE: created acme-client: https://127.0.0.1:14000/chalZ/usCKAGaPmMVbtfSA7P_j2KZmhbl9qUsTVZjSfzJTIYE: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/DieFvalypAI-45Imwoh_onHPkn61TFskF-I4xONZpfU acme-client: challenge, token: KXq8FrbPs5z6ItqXSDZsJ2QjGQT9E2g-cysMYe9CsLE, uri: https://127.0.0.1:14000/chalZ/usCKAGaPmMVbtfSA7P_j2KZmhbl9qUsTVZjSfzJTIYE, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/iKKknLRqyv-eOXd2a7Va390YYlw2eU3qcI7T0mpYZyQ: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/657b934f2a17713d: 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/75669b7119d65da2 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/75669b7119d65da2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Ja8fRgtKhKgPmxyGxeYgQooHKV4yJAyHYIrj6PHJs-8 acme-client: challenge, token: 1IZbSh8myATLCJhJGWgHEBtin5TO7oVfWfOuH6HQCpw, uri: https://127.0.0.1:14000/chalZ/vYWtTxsWLEzxz4OafDjiCAFC4zeGYa70iYiLwR6sqQk, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/1IZbSh8myATLCJhJGWgHEBtin5TO7oVfWfOuH6HQCpw: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/BbJwDNbvblDQMTsUc5Aadfvt-alp4jUDjnnpNXsu4JE acme-client: challenge, token: pOQBCa5YfT3-EtnJhjOnSEUvaAfQWhuycuItYLG_ENo, uri: https://127.0.0.1:14000/chalZ/CW7Jb1iyp2U_eBp54po-EFKt0ub6BqvqJ5QDbnF9CV8, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/pOQBCa5YfT3-EtnJhjOnSEUvaAfQWhuycuItYLG_ENo: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/q7Q4fcg3PyjYIX31IMtIRMHJ7WMhmkuA4jGJ1WTDWe0 acme-client: challenge, token: SzuZG2FAej_mvI8-1hPPuHa0lSkj_OwlKwZeT1mS7jQ, uri: https://127.0.0.1:14000/chalZ/xKT1UU5hvTuJhFZG4dX6syW1hOuBiH1PysfNcQdrxfg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/SzuZG2FAej_mvI8-1hPPuHa0lSkj_OwlKwZeT1mS7jQ: created acme-client: https://127.0.0.1:14000/chalZ/vYWtTxsWLEzxz4OafDjiCAFC4zeGYa70iYiLwR6sqQk: challenge acme-client: https://127.0.0.1:14000/chalZ/CW7Jb1iyp2U_eBp54po-EFKt0ub6BqvqJ5QDbnF9CV8: challenge acme-client: https://127.0.0.1:14000/chalZ/xKT1UU5hvTuJhFZG4dX6syW1hOuBiH1PysfNcQdrxfg: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Ja8fRgtKhKgPmxyGxeYgQooHKV4yJAyHYIrj6PHJs-8 acme-client: challenge, token: 1IZbSh8myATLCJhJGWgHEBtin5TO7oVfWfOuH6HQCpw, uri: https://127.0.0.1:14000/chalZ/vYWtTxsWLEzxz4OafDjiCAFC4zeGYa70iYiLwR6sqQk, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/BbJwDNbvblDQMTsUc5Aadfvt-alp4jUDjnnpNXsu4JE acme-client: challenge, token: pOQBCa5YfT3-EtnJhjOnSEUvaAfQWhuycuItYLG_ENo, uri: https://127.0.0.1:14000/chalZ/CW7Jb1iyp2U_eBp54po-EFKt0ub6BqvqJ5QDbnF9CV8, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/q7Q4fcg3PyjYIX31IMtIRMHJ7WMhmkuA4jGJ1WTDWe0 acme-client: challenge, token: SzuZG2FAej_mvI8-1hPPuHa0lSkj_OwlKwZeT1mS7jQ, uri: https://127.0.0.1:14000/chalZ/xKT1UU5hvTuJhFZG4dX6syW1hOuBiH1PysfNcQdrxfg, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/dPresMsiWy2n9qmXwAipunaudAw1yNu4sHVUokyk7Ck: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/60564e70f3d721db: 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/75669b7119d65da2 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/75669b7119d65da2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/V5dUOYTMP7MehEFiDzX2LAWfyEXFtTbBJTbdaKSA1Vo acme-client: challenge, token: 7MxG-14f1B5cgYPa5EJkCuelax9SsIu115x-MsdOb1M, uri: https://127.0.0.1:14000/chalZ/4w_pa4pNWYt-pxfGfNy4cM59BtJAOAC14KeBVPBeiLY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/7MxG-14f1B5cgYPa5EJkCuelax9SsIu115x-MsdOb1M: created acme-client: https://127.0.0.1:14000/chalZ/4w_pa4pNWYt-pxfGfNy4cM59BtJAOAC14KeBVPBeiLY: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/V5dUOYTMP7MehEFiDzX2LAWfyEXFtTbBJTbdaKSA1Vo acme-client: challenge, token: 7MxG-14f1B5cgYPa5EJkCuelax9SsIu115x-MsdOb1M, uri: https://127.0.0.1:14000/chalZ/4w_pa4pNWYt-pxfGfNy4cM59BtJAOAC14KeBVPBeiLY, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/VffKDarY_fOMot9lyIE52Bi0MjoLkr17okm8NEy9miI: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/10bc91afd939185c: 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/75669b7119d65da2 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"