==== 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" 30101 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/66fd1d21164a85a acme-client: dochngreq: https://127.0.0.1:14000/authZ/UutuFQkZjA5_Ft60N4a5dZwLIY0PqD55SyrRLr_vU1U acme-client: challenge, token: 0Cyt64dX1IzplEjkklUx2VdYuUQ-2jwVQ8Fu0729Zbs, uri: https://127.0.0.1:14000/chalZ/GGlLJfXEVuu6pl65DIOaaChzXpHmAhW77jYw2JliFDM, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/0Cyt64dX1IzplEjkklUx2VdYuUQ-2jwVQ8Fu0729Zbs: created acme-client: https://127.0.0.1:14000/chalZ/GGlLJfXEVuu6pl65DIOaaChzXpHmAhW77jYw2JliFDM: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/UutuFQkZjA5_Ft60N4a5dZwLIY0PqD55SyrRLr_vU1U acme-client: challenge, token: 0Cyt64dX1IzplEjkklUx2VdYuUQ-2jwVQ8Fu0729Zbs, uri: https://127.0.0.1:14000/chalZ/GGlLJfXEVuu6pl65DIOaaChzXpHmAhW77jYw2JliFDM, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/6lWRTYyhpWRFsC1CAG8kv5U5QBid4QsyUAIwt2VprqI: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/305673bde89948d1: certificate account key: https://127.0.0.1:14000/my-account/66fd1d21164a85a 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/66fd1d21164a85a 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/66fd1d21164a85a acme-client: https://127.0.0.1:14000/finalize-order/YUCIo2HmpevEjtTrvq_q5TSNH1eUtQK7UgagEui1gKg: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6028e8d931a7e834: 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/66fd1d21164a85a 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/66fd1d21164a85a acme-client: dochngreq: https://127.0.0.1:14000/authZ/NV_GwInwHaQ0Qg5XMzcOBTjixKxaSWoOAGdnF9P-11U acme-client: challenge, token: EJ-w1MHlqpGRE_yg45n1Zul82WWPeqfxqnK3XC3rFWw, uri: https://127.0.0.1:14000/chalZ/IxujgoBfnx_6zBBqttxyVvGWxsNPc1DcaMNP-RybAgY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/EJ-w1MHlqpGRE_yg45n1Zul82WWPeqfxqnK3XC3rFWw: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/04aexiGhCUmYl4FIal2GIoAOUNsu0_TDJsU9H8ZOhN4 acme-client: challenge, token: dIHKp5U9-faKRjWqSWpeDFzO-HDUws7vFrDwB2OObhA, uri: https://127.0.0.1:14000/chalZ/24slA3WYWH3ArD_F77KYZBSH7x9Hx0F_jPtkYYZh8Cg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/dIHKp5U9-faKRjWqSWpeDFzO-HDUws7vFrDwB2OObhA: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/O1c6r3AKZ17GNvPavndfmsEqgUE0ifU6d4jWiJ7yKhY acme-client: challenge, token: CHFvOLQ5I0m0g3NNrgAY5iDUC7PiZC_zhCPg9fSRQsM, uri: https://127.0.0.1:14000/chalZ/m6qYZW2-m9SErlKLkSz4Cy9xQEkQ3l58uGpqiXTviII, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/CHFvOLQ5I0m0g3NNrgAY5iDUC7PiZC_zhCPg9fSRQsM: created acme-client: https://127.0.0.1:14000/chalZ/IxujgoBfnx_6zBBqttxyVvGWxsNPc1DcaMNP-RybAgY: challenge acme-client: https://127.0.0.1:14000/chalZ/24slA3WYWH3ArD_F77KYZBSH7x9Hx0F_jPtkYYZh8Cg: challenge acme-client: https://127.0.0.1:14000/chalZ/m6qYZW2-m9SErlKLkSz4Cy9xQEkQ3l58uGpqiXTviII: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/NV_GwInwHaQ0Qg5XMzcOBTjixKxaSWoOAGdnF9P-11U acme-client: challenge, token: EJ-w1MHlqpGRE_yg45n1Zul82WWPeqfxqnK3XC3rFWw, uri: https://127.0.0.1:14000/chalZ/IxujgoBfnx_6zBBqttxyVvGWxsNPc1DcaMNP-RybAgY, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/04aexiGhCUmYl4FIal2GIoAOUNsu0_TDJsU9H8ZOhN4 acme-client: challenge, token: dIHKp5U9-faKRjWqSWpeDFzO-HDUws7vFrDwB2OObhA, uri: https://127.0.0.1:14000/chalZ/24slA3WYWH3ArD_F77KYZBSH7x9Hx0F_jPtkYYZh8Cg, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/O1c6r3AKZ17GNvPavndfmsEqgUE0ifU6d4jWiJ7yKhY acme-client: challenge, token: CHFvOLQ5I0m0g3NNrgAY5iDUC7PiZC_zhCPg9fSRQsM, uri: https://127.0.0.1:14000/chalZ/m6qYZW2-m9SErlKLkSz4Cy9xQEkQ3l58uGpqiXTviII, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/Dr87W-POYU6MxVny9ik6dXgX2rGCo0jyYeMLnsFusmk: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/17b5b18c93561690: 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/66fd1d21164a85a 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/66fd1d21164a85a acme-client: dochngreq: https://127.0.0.1:14000/authZ/3wJA9scVduSIETiUK7v_5fnKKPXYerEzwUMC-TSVdrE acme-client: challenge, token: 7vIdjnMEyW73Tw1-pAgwaCmPH-PHQz5uVln-zi_-zxc, uri: https://127.0.0.1:14000/chalZ/TAIMzc73j6dwm1wFoD_dcD47yf81W573vbeQpgeyQgE, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/7vIdjnMEyW73Tw1-pAgwaCmPH-PHQz5uVln-zi_-zxc: created acme-client: https://127.0.0.1:14000/chalZ/TAIMzc73j6dwm1wFoD_dcD47yf81W573vbeQpgeyQgE: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/3wJA9scVduSIETiUK7v_5fnKKPXYerEzwUMC-TSVdrE acme-client: challenge, token: 7vIdjnMEyW73Tw1-pAgwaCmPH-PHQz5uVln-zi_-zxc, uri: https://127.0.0.1:14000/chalZ/TAIMzc73j6dwm1wFoD_dcD47yf81W573vbeQpgeyQgE, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/cSYzpnK5Ty6NDzx5jGD_f5vosnMDpxLXCQUJWl26PLY: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6ee116f1bbcd47e8: 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/66fd1d21164a85a 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/213ad749ddb098cf acme-client: dochngreq: https://127.0.0.1:14001/authZ/9lvxAQBVNhKcRnn9Ar0y86lrYJFAdwm9wupY40BzInU acme-client: challenge, token: 1hNtPmcGQ4o3vj24J5Jh63HJv9ShoRsJIACuptdeess, uri: https://127.0.0.1:14001/chalZ/YIH53aiIerUf9326OOj7UiAjdi8tCGv-hmMEI2EAByA, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/1hNtPmcGQ4o3vj24J5Jh63HJv9ShoRsJIACuptdeess: created acme-client: https://127.0.0.1:14001/chalZ/YIH53aiIerUf9326OOj7UiAjdi8tCGv-hmMEI2EAByA: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/9lvxAQBVNhKcRnn9Ar0y86lrYJFAdwm9wupY40BzInU acme-client: challenge, token: 1hNtPmcGQ4o3vj24J5Jh63HJv9ShoRsJIACuptdeess, uri: https://127.0.0.1:14001/chalZ/YIH53aiIerUf9326OOj7UiAjdi8tCGv-hmMEI2EAByA, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/Y8NmIdxuD2dEKd64kmM9WyVBUTICpVa-pkcJnGLrk-s: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/18020f23a440abc2: certificate account key: https://127.0.0.1:14001/my-account/213ad749ddb098cf 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"