==== 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" 32796 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/6b0a7259557c0037 acme-client: dochngreq: https://127.0.0.1:14000/authZ/JKYH4XxxmcOPffhis28qmtKsFK_fk-_PTaPDsMDOMSM acme-client: challenge, token: Z6DI3VJYZyjffPqfGJM21i93glZE0ELY5hi_dA0BdiI, uri: https://127.0.0.1:14000/chalZ/oBojrp71o6xkcd7EzSSB9IyqSv_d04FwwXU76tWMklY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Z6DI3VJYZyjffPqfGJM21i93glZE0ELY5hi_dA0BdiI: created acme-client: https://127.0.0.1:14000/chalZ/oBojrp71o6xkcd7EzSSB9IyqSv_d04FwwXU76tWMklY: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/JKYH4XxxmcOPffhis28qmtKsFK_fk-_PTaPDsMDOMSM acme-client: challenge, token: Z6DI3VJYZyjffPqfGJM21i93glZE0ELY5hi_dA0BdiI, uri: https://127.0.0.1:14000/chalZ/oBojrp71o6xkcd7EzSSB9IyqSv_d04FwwXU76tWMklY, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/T-kUJMd7ESCiy8oF-CdC5dbE25jo2wA0TiTRDzW33ek: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/4cb6c507979f38db: certificate acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert.pem: created account key: https://127.0.0.1:14000/my-account/6b0a7259557c0037 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/6b0a7259557c0037 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/6b0a7259557c0037 acme-client: dochngreq: https://127.0.0.1:14000/authZ/SmZ1yzGtd5KS_RuQNTOpCTePGTu8-4a29KKS450McAA acme-client: challenge, token: YjO0hL875gkybrjbuphjN6usD-ew8Qk4mKOZ4e9Fp8M, uri: https://127.0.0.1:14000/chalZ/VPj0yGNelxlxgLuqs3hkILoOKETelTWDQ6oDSyB0ioc, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/YjO0hL875gkybrjbuphjN6usD-ew8Qk4mKOZ4e9Fp8M: created acme-client: https://127.0.0.1:14000/chalZ/VPj0yGNelxlxgLuqs3hkILoOKETelTWDQ6oDSyB0ioc: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/SmZ1yzGtd5KS_RuQNTOpCTePGTu8-4a29KKS450McAA acme-client: challenge, token: YjO0hL875gkybrjbuphjN6usD-ew8Qk4mKOZ4e9Fp8M, uri: https://127.0.0.1:14000/chalZ/VPj0yGNelxlxgLuqs3hkILoOKETelTWDQ6oDSyB0ioc, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/HodZmvlZ6bhcI_31azvPETOlNE5eZqRQtoERJwy7fdU: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/54249bf4e1be8a0c: 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/6b0a7259557c0037 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/6b0a7259557c0037 acme-client: dochngreq: https://127.0.0.1:14000/authZ/JOWtbTNLhLqqEonQ5G5fstB4JG_YJ1Ap_Mn-m6_sWa8 acme-client: challenge, token: Lp7Yb_-Aw_wo_qFogWmmJYXS6Mk2YyAciHjMbinsjLY, uri: https://127.0.0.1:14000/chalZ/PfNhsljmLbNADQ-bCEUgWdQjhZ5bkeAdgd-Gironsls, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Lp7Yb_-Aw_wo_qFogWmmJYXS6Mk2YyAciHjMbinsjLY: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/MDiA66kS0TbHJ87FSro_3H63ATWFbn-Wwu9JL0tXMKk acme-client: challenge, token: 1BYr8sHSrMW7WGFrzBka-PDflig-jMCsJ84qPBGRoPA, uri: https://127.0.0.1:14000/chalZ/hb0_1ztXFjIb1zDTHTjByzRnXCw9Qcx6dDm2rns9IrY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/1BYr8sHSrMW7WGFrzBka-PDflig-jMCsJ84qPBGRoPA: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/mb6OiS1lGAV84Z4RDjXyiNs0aMmJQW3Yi5qAtHgzihE acme-client: challenge, token: Oo7cps8qI4T0B0duO56QvEAYgGMQRhCt6ST7KaBndjM, uri: https://127.0.0.1:14000/chalZ/Qsd8nR-sk_a9iF4mvLBr9QQyBWu20Zq3K_mnEPu4c_M, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Oo7cps8qI4T0B0duO56QvEAYgGMQRhCt6ST7KaBndjM: created acme-client: https://127.0.0.1:14000/chalZ/PfNhsljmLbNADQ-bCEUgWdQjhZ5bkeAdgd-Gironsls: challenge acme-client: https://127.0.0.1:14000/chalZ/hb0_1ztXFjIb1zDTHTjByzRnXCw9Qcx6dDm2rns9IrY: challenge acme-client: https://127.0.0.1:14000/chalZ/Qsd8nR-sk_a9iF4mvLBr9QQyBWu20Zq3K_mnEPu4c_M: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/JOWtbTNLhLqqEonQ5G5fstB4JG_YJ1Ap_Mn-m6_sWa8 acme-client: challenge, token: Lp7Yb_-Aw_wo_qFogWmmJYXS6Mk2YyAciHjMbinsjLY, uri: https://127.0.0.1:14000/chalZ/PfNhsljmLbNADQ-bCEUgWdQjhZ5bkeAdgd-Gironsls, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/MDiA66kS0TbHJ87FSro_3H63ATWFbn-Wwu9JL0tXMKk acme-client: challenge, token: 1BYr8sHSrMW7WGFrzBka-PDflig-jMCsJ84qPBGRoPA, uri: https://127.0.0.1:14000/chalZ/hb0_1ztXFjIb1zDTHTjByzRnXCw9Qcx6dDm2rns9IrY, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/mb6OiS1lGAV84Z4RDjXyiNs0aMmJQW3Yi5qAtHgzihE acme-client: challenge, token: Oo7cps8qI4T0B0duO56QvEAYgGMQRhCt6ST7KaBndjM, uri: https://127.0.0.1:14000/chalZ/Qsd8nR-sk_a9iF4mvLBr9QQyBWu20Zq3K_mnEPu4c_M, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/Wg_qdWbNQKoHqB3h_Dzil-hyzryTkAJLiy-C_mb2ytk: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/206bf31a5b899c2c: 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/6b0a7259557c0037 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/6b0a7259557c0037 acme-client: dochngreq: https://127.0.0.1:14000/authZ/z8_cC48HxUzV8wWMRKuJhJUciz7ZIChoH54XSB_308A acme-client: challenge, token: 7h6xnfHwlT5jAliOdd-zMtIY-xUMNOElIC9a_TqtzJs, uri: https://127.0.0.1:14000/chalZ/vurPTEu8D5IEQ5JpvBT6kUL6jhKFyfGAvUEw_PNABNQ, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/7h6xnfHwlT5jAliOdd-zMtIY-xUMNOElIC9a_TqtzJs: created acme-client: https://127.0.0.1:14000/chalZ/vurPTEu8D5IEQ5JpvBT6kUL6jhKFyfGAvUEw_PNABNQ: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/z8_cC48HxUzV8wWMRKuJhJUciz7ZIChoH54XSB_308A acme-client: challenge, token: 7h6xnfHwlT5jAliOdd-zMtIY-xUMNOElIC9a_TqtzJs, uri: https://127.0.0.1:14000/chalZ/vurPTEu8D5IEQ5JpvBT6kUL6jhKFyfGAvUEw_PNABNQ, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/Jozmsy9pDRPzv0GcNmVwrXthIJkPN3L_eQR_0l6_aEM: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6188f4df702e7d27: 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/6b0a7259557c0037 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/36cb141b1b50b8a acme-client: dochngreq: https://127.0.0.1:14001/authZ/_HP4a_vF_XiYYl0ZpGNhHv7Q8b2ciu0iyAqDtHadqRY acme-client: challenge, token: foPXfw2zpq89mtPS6ntxjce2UkbAqORjIIqm_zyZbf4, uri: https://127.0.0.1:14001/chalZ/vkoPgv3JA7tm_9wT2sGRzTbCuluxXdbXA0Ge7n4_cbs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/foPXfw2zpq89mtPS6ntxjce2UkbAqORjIIqm_zyZbf4: created acme-client: https://127.0.0.1:14001/chalZ/vkoPgv3JA7tm_9wT2sGRzTbCuluxXdbXA0Ge7n4_cbs: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/_HP4a_vF_XiYYl0ZpGNhHv7Q8b2ciu0iyAqDtHadqRY acme-client: challenge, token: foPXfw2zpq89mtPS6ntxjce2UkbAqORjIIqm_zyZbf4, uri: https://127.0.0.1:14001/chalZ/vkoPgv3JA7tm_9wT2sGRzTbCuluxXdbXA0Ge7n4_cbs, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/9VP-a4BFn3IWkpt1TLVLjB5cWDfMhX1gTmvi5BJQrW8: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/5d932f73b64f2c51: certificate account key: https://127.0.0.1:14001/my-account/36cb141b1b50b8a 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"