==== 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" 17733 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/3d0bc82055105acd acme-client: dochngreq: https://127.0.0.1:14000/authZ/xPouj6p0qROlL-1OJCJepi8KgGH63suYBw38VMEIYtM acme-client: challenge, token: GJFsTnrvJAnsuvCLqTsD-0fHOqHhh-hHt37PquAVrWQ, uri: https://127.0.0.1:14000/chalZ/Ynpn-gUELiz1v45eQy3BRWjXjKNRp3CjMd2g1EDEzhs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/GJFsTnrvJAnsuvCLqTsD-0fHOqHhh-hHt37PquAVrWQ: created acme-client: https://127.0.0.1:14000/chalZ/Ynpn-gUELiz1v45eQy3BRWjXjKNRp3CjMd2g1EDEzhs: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/xPouj6p0qROlL-1OJCJepi8KgGH63suYBw38VMEIYtM acme-client: challenge, token: GJFsTnrvJAnsuvCLqTsD-0fHOqHhh-hHt37PquAVrWQ, uri: https://127.0.0.1:14000/chalZ/Ynpn-gUELiz1v45eQy3BRWjXjKNRp3CjMd2g1EDEzhs, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/ToxpVZF3hnOKg1mG-KLbPrcjghDGl8ZwWr1svNMOi1I: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/2cccbd62037685bc: certificate account key: https://127.0.0.1:14000/my-account/3d0bc82055105acd 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/3d0bc82055105acd 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/3d0bc82055105acd acme-client: https://127.0.0.1:14000/finalize-order/8BZnHrTlx8yUghaUPL95YGUFSU4JDoHlk72gJZOpqjE: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/41cf0799d02e29c7: 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/3d0bc82055105acd 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/3d0bc82055105acd acme-client: dochngreq: https://127.0.0.1:14000/authZ/fZj9eFi1ECQTXWjFvZQeCqKaDm-dt7u73YkcmXY90mM acme-client: challenge, token: 9R2IIC2ucOnWzsO3B3OeE8zbMObcKXMoH_6aN9gZpHw, uri: https://127.0.0.1:14000/chalZ/n3z9ChFu7TP_QRk67MOAB34lJWa-7DoB_URhnZEwnzY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/9R2IIC2ucOnWzsO3B3OeE8zbMObcKXMoH_6aN9gZpHw: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/xPouj6p0qROlL-1OJCJepi8KgGH63suYBw38VMEIYtM acme-client: challenge, token: GJFsTnrvJAnsuvCLqTsD-0fHOqHhh-hHt37PquAVrWQ, uri: https://127.0.0.1:14000/chalZ/Ynpn-gUELiz1v45eQy3BRWjXjKNRp3CjMd2g1EDEzhs, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/vLWpGVH4R260ecJjXdjr3-yOsCEY0XgwQX5CGjEvuqs acme-client: challenge, token: 0XGMqVd3UwVSgi-wUSm1CQWMz0bTTTdokI4nCjqy06Q, uri: https://127.0.0.1:14000/chalZ/1eRaTz8uRr2SrzY2sWs2m6MCQA1YXANcZ5CIBDc2oiw, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/0XGMqVd3UwVSgi-wUSm1CQWMz0bTTTdokI4nCjqy06Q: created acme-client: https://127.0.0.1:14000/chalZ/n3z9ChFu7TP_QRk67MOAB34lJWa-7DoB_URhnZEwnzY: challenge acme-client: https://127.0.0.1:14000/chalZ/1eRaTz8uRr2SrzY2sWs2m6MCQA1YXANcZ5CIBDc2oiw: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/fZj9eFi1ECQTXWjFvZQeCqKaDm-dt7u73YkcmXY90mM acme-client: challenge, token: 9R2IIC2ucOnWzsO3B3OeE8zbMObcKXMoH_6aN9gZpHw, uri: https://127.0.0.1:14000/chalZ/n3z9ChFu7TP_QRk67MOAB34lJWa-7DoB_URhnZEwnzY, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/xPouj6p0qROlL-1OJCJepi8KgGH63suYBw38VMEIYtM acme-client: challenge, token: GJFsTnrvJAnsuvCLqTsD-0fHOqHhh-hHt37PquAVrWQ, uri: https://127.0.0.1:14000/chalZ/Ynpn-gUELiz1v45eQy3BRWjXjKNRp3CjMd2g1EDEzhs, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/vLWpGVH4R260ecJjXdjr3-yOsCEY0XgwQX5CGjEvuqs acme-client: challenge, token: 0XGMqVd3UwVSgi-wUSm1CQWMz0bTTTdokI4nCjqy06Q, uri: https://127.0.0.1:14000/chalZ/1eRaTz8uRr2SrzY2sWs2m6MCQA1YXANcZ5CIBDc2oiw, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/YyBRPtlYZkw44bYNOxh9rRi9CI2JWegkbmLwGu7lOnM: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7a720f80f8deba3b: 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/3d0bc82055105acd 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/3d0bc82055105acd acme-client: dochngreq: https://127.0.0.1:14000/authZ/Ve66g1KHWrLsj5-d3pV-bZlMWxClyKGbggc5JhxMfPc acme-client: challenge, token: tkqSEt7jO9hlyzhDlP76ufMyd6U9spIypxHrZL0U59g, uri: https://127.0.0.1:14000/chalZ/luRZAH3ARUngLSIY0MHUTCgYBlILnbmEZhM4mMX0jAQ, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/tkqSEt7jO9hlyzhDlP76ufMyd6U9spIypxHrZL0U59g: created acme-client: https://127.0.0.1:14000/chalZ/luRZAH3ARUngLSIY0MHUTCgYBlILnbmEZhM4mMX0jAQ: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Ve66g1KHWrLsj5-d3pV-bZlMWxClyKGbggc5JhxMfPc acme-client: challenge, token: tkqSEt7jO9hlyzhDlP76ufMyd6U9spIypxHrZL0U59g, uri: https://127.0.0.1:14000/chalZ/luRZAH3ARUngLSIY0MHUTCgYBlILnbmEZhM4mMX0jAQ, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/v_mdMEidxdcT1xZFIcO_tyYcuCMRpjCrgz6u1s5YvfY: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/377ec43d0b278847: 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/3d0bc82055105acd 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"