==== 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" 35639 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/2b2bd15e9301f2b2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/gcUa3hEZnhksORkjDrJ-sYxungVnQXKe2ZxgQ43xnIM acme-client: challenge, token: up2_BpJfWHJBp4BKkYBKeIyC2TPHukEtiazKxOlC2rE, uri: https://127.0.0.1:14000/chalZ/5EntC2KolDYWPnvJXDTUuIk3bJ6700R6BGSUX-Ma6Pk, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/up2_BpJfWHJBp4BKkYBKeIyC2TPHukEtiazKxOlC2rE: created acme-client: https://127.0.0.1:14000/chalZ/5EntC2KolDYWPnvJXDTUuIk3bJ6700R6BGSUX-Ma6Pk: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/gcUa3hEZnhksORkjDrJ-sYxungVnQXKe2ZxgQ43xnIM acme-client: challenge, token: up2_BpJfWHJBp4BKkYBKeIyC2TPHukEtiazKxOlC2rE, uri: https://127.0.0.1:14000/chalZ/5EntC2KolDYWPnvJXDTUuIk3bJ6700R6BGSUX-Ma6Pk, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/GHrj5ge45B6q7DvLl8g8c87TQ-BMNf1MJoBwqUx9gdE: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/155933f286b16900: certificate account key: https://127.0.0.1:14000/my-account/2b2bd15e9301f2b2 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/2b2bd15e9301f2b2 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/2b2bd15e9301f2b2 acme-client: https://127.0.0.1:14000/finalize-order/YpG4ZYwiANVb0MTIq-S3at8al8CxZWnZy9YiEYP0WKY: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/1beb666bdf1a5ac1: 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/2b2bd15e9301f2b2 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/2b2bd15e9301f2b2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/IJjZVlu5c2nAAycZlipfh_BqL5xvZfoHVbsobP80ltA acme-client: challenge, token: KHoPcCtNPvVN_qtX7-uiz-cRtvEqIkVDdfDz3dAPx4g, uri: https://127.0.0.1:14000/chalZ/JsAjARw7RTZr2bgnmHl5wuoP3HEIJ_iWSiSOrqQw-Fs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/KHoPcCtNPvVN_qtX7-uiz-cRtvEqIkVDdfDz3dAPx4g: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/dV0GyaETMONl14bv-KRx1-ebfH9Rf6DzNREXyj5PicM acme-client: challenge, token: 6J4LuZ9YQuk428tLPZ3hrxA6GnNABt8PpECe23SVVTo, uri: https://127.0.0.1:14000/chalZ/1gFfEkYn2L4fkfPxxy0k3dTguR457r-Ile_UNUMHtRM, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/6J4LuZ9YQuk428tLPZ3hrxA6GnNABt8PpECe23SVVTo: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/yQDfMvVv05GHk5jg42NTArUGJ_k3lsJEz_WZVcXGNdk acme-client: challenge, token: pUENuzhq5zpbIkTrjNi1jz5ChCtT40PyHp-qIRgK6i0, uri: https://127.0.0.1:14000/chalZ/DOl_OzjchcLIZFCQW4gmQIMEPcQHZxcHYzCim5hG8Zs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/pUENuzhq5zpbIkTrjNi1jz5ChCtT40PyHp-qIRgK6i0: created acme-client: https://127.0.0.1:14000/chalZ/JsAjARw7RTZr2bgnmHl5wuoP3HEIJ_iWSiSOrqQw-Fs: challenge acme-client: https://127.0.0.1:14000/chalZ/1gFfEkYn2L4fkfPxxy0k3dTguR457r-Ile_UNUMHtRM: challenge acme-client: https://127.0.0.1:14000/chalZ/DOl_OzjchcLIZFCQW4gmQIMEPcQHZxcHYzCim5hG8Zs: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/IJjZVlu5c2nAAycZlipfh_BqL5xvZfoHVbsobP80ltA acme-client: challenge, token: KHoPcCtNPvVN_qtX7-uiz-cRtvEqIkVDdfDz3dAPx4g, uri: https://127.0.0.1:14000/chalZ/JsAjARw7RTZr2bgnmHl5wuoP3HEIJ_iWSiSOrqQw-Fs, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/dV0GyaETMONl14bv-KRx1-ebfH9Rf6DzNREXyj5PicM acme-client: challenge, token: 6J4LuZ9YQuk428tLPZ3hrxA6GnNABt8PpECe23SVVTo, uri: https://127.0.0.1:14000/chalZ/1gFfEkYn2L4fkfPxxy0k3dTguR457r-Ile_UNUMHtRM, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/yQDfMvVv05GHk5jg42NTArUGJ_k3lsJEz_WZVcXGNdk acme-client: challenge, token: pUENuzhq5zpbIkTrjNi1jz5ChCtT40PyHp-qIRgK6i0, uri: https://127.0.0.1:14000/chalZ/DOl_OzjchcLIZFCQW4gmQIMEPcQHZxcHYzCim5hG8Zs, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/sSTXKNI8JrYJe-PIQ0jHw4N07MN194UQcXdaO_PxRwk: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7111813e6e6c1bd7: 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/2b2bd15e9301f2b2 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/2b2bd15e9301f2b2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/-EsFZ1Qc2XusHl-TAwMhnjLrfJrjo5hvJ_bCbPt0etE acme-client: challenge, token: bhd3N4W_diN98A9jPFBgiMS45QoTmyVRcNZjEagRg9o, uri: https://127.0.0.1:14000/chalZ/KAfj_pTM1_P5B7Vw1xUpL8P1R1xobrEKz9pANDw9zKs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/bhd3N4W_diN98A9jPFBgiMS45QoTmyVRcNZjEagRg9o: created acme-client: https://127.0.0.1:14000/chalZ/KAfj_pTM1_P5B7Vw1xUpL8P1R1xobrEKz9pANDw9zKs: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/-EsFZ1Qc2XusHl-TAwMhnjLrfJrjo5hvJ_bCbPt0etE acme-client: challenge, token: bhd3N4W_diN98A9jPFBgiMS45QoTmyVRcNZjEagRg9o, uri: https://127.0.0.1:14000/chalZ/KAfj_pTM1_P5B7Vw1xUpL8P1R1xobrEKz9pANDw9zKs, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/03fsVDY5cRXJaapRmlDD_oJTxwGfNtsIdrPUZSktA04: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/1a8b4dff031edec9: 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/2b2bd15e9301f2b2 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"