==== 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" 48703 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/757dd85ef591641c acme-client: dochngreq: https://127.0.0.1:14000/authZ/8ig1P2jzDX4H2bU4IOXaMSIfArWzHg3yvN3gwh8PXNU acme-client: challenge, token: G3Gc9ZSCAGDQa4TIGgWdBgFgC8lVGoJvLaKkGyY58Oo, uri: https://127.0.0.1:14000/chalZ/m_dgb43GfkGMAZIGfh0TXfOsl1rAcMIr11yCxGuIQKg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/G3Gc9ZSCAGDQa4TIGgWdBgFgC8lVGoJvLaKkGyY58Oo: created acme-client: https://127.0.0.1:14000/chalZ/m_dgb43GfkGMAZIGfh0TXfOsl1rAcMIr11yCxGuIQKg: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/8ig1P2jzDX4H2bU4IOXaMSIfArWzHg3yvN3gwh8PXNU acme-client: challenge, token: G3Gc9ZSCAGDQa4TIGgWdBgFgC8lVGoJvLaKkGyY58Oo, uri: https://127.0.0.1:14000/chalZ/m_dgb43GfkGMAZIGfh0TXfOsl1rAcMIr11yCxGuIQKg, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/KdT92b-sf-Tl4QV8zuGUSrf_VWky8shX0PL6VGkl9kU: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/58679519ce993da7: certificate account key: https://127.0.0.1:14000/my-account/757dd85ef591641c 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/757dd85ef591641c 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/757dd85ef591641c acme-client: https://127.0.0.1:14000/finalize-order/oeNBPSp4SVyXD2V4eTMBclWvJgdgEHE5uiFwITxx9vU: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/2396e0f1075b4f2c: 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/757dd85ef591641c 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/757dd85ef591641c acme-client: dochngreq: https://127.0.0.1:14000/authZ/BxzVvR2CbGxgeR8RXzg6Sm2A7FoX_BQuEzUtQ56cgoE acme-client: challenge, token: WTRgIyJd1o_-U5VmZOJZjIASDvADKytG5PCK3aTdQdw, uri: https://127.0.0.1:14000/chalZ/ZIKgRGH7rXsz-HEhL_ScCySCRfjxldxp6KyWmi__Rrk, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/WTRgIyJd1o_-U5VmZOJZjIASDvADKytG5PCK3aTdQdw: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/gM9ZKpiT3eAZPfEdinwW7UOaAgwBlzzygeeNfRWIdro acme-client: challenge, token: Ue8gvVFKXHZJuOV6bLSntXhp79EQcJiI72U1fnqd-eo, uri: https://127.0.0.1:14000/chalZ/sesDwjhNn7GfME0SQj7wtcclyiZAY58CUE5Oy16Runo, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Ue8gvVFKXHZJuOV6bLSntXhp79EQcJiI72U1fnqd-eo: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/8ig1P2jzDX4H2bU4IOXaMSIfArWzHg3yvN3gwh8PXNU acme-client: challenge, token: G3Gc9ZSCAGDQa4TIGgWdBgFgC8lVGoJvLaKkGyY58Oo, uri: https://127.0.0.1:14000/chalZ/m_dgb43GfkGMAZIGfh0TXfOsl1rAcMIr11yCxGuIQKg, status: 2 acme-client: https://127.0.0.1:14000/chalZ/ZIKgRGH7rXsz-HEhL_ScCySCRfjxldxp6KyWmi__Rrk: challenge acme-client: https://127.0.0.1:14000/chalZ/sesDwjhNn7GfME0SQj7wtcclyiZAY58CUE5Oy16Runo: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/BxzVvR2CbGxgeR8RXzg6Sm2A7FoX_BQuEzUtQ56cgoE acme-client: challenge, token: WTRgIyJd1o_-U5VmZOJZjIASDvADKytG5PCK3aTdQdw, uri: https://127.0.0.1:14000/chalZ/ZIKgRGH7rXsz-HEhL_ScCySCRfjxldxp6KyWmi__Rrk, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/gM9ZKpiT3eAZPfEdinwW7UOaAgwBlzzygeeNfRWIdro acme-client: challenge, token: Ue8gvVFKXHZJuOV6bLSntXhp79EQcJiI72U1fnqd-eo, uri: https://127.0.0.1:14000/chalZ/sesDwjhNn7GfME0SQj7wtcclyiZAY58CUE5Oy16Runo, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/8ig1P2jzDX4H2bU4IOXaMSIfArWzHg3yvN3gwh8PXNU acme-client: challenge, token: G3Gc9ZSCAGDQa4TIGgWdBgFgC8lVGoJvLaKkGyY58Oo, uri: https://127.0.0.1:14000/chalZ/m_dgb43GfkGMAZIGfh0TXfOsl1rAcMIr11yCxGuIQKg, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/WTYtQA3XFwaIxkY2Z_IVqAqyYT7rqxRwof64p7x6g-4: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7581b51657c50f51: 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/757dd85ef591641c 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/757dd85ef591641c acme-client: https://127.0.0.1:14000/finalize-order/FbmMD_c7vG2KXollbhg1e8Dg7i7dLp8cPfx_NVffffc: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/03206fb648f87485: 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/757dd85ef591641c 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/1a9aca6f771a8b1c acme-client: dochngreq: https://127.0.0.1:14001/authZ/KRMc68PRCZniRGYzgxQSTB3aCumCgkB9v33UoQTsB_E acme-client: challenge, token: Laqr_nEDomuEKUumXTmWSJyUnhWgMQw4bDwKpbRDjm0, uri: https://127.0.0.1:14001/chalZ/FLFnQrUCVzUGgnFeXe-4Pgdi3YgpxjMMNiT494FQkjA, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Laqr_nEDomuEKUumXTmWSJyUnhWgMQw4bDwKpbRDjm0: created acme-client: https://127.0.0.1:14001/chalZ/FLFnQrUCVzUGgnFeXe-4Pgdi3YgpxjMMNiT494FQkjA: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/KRMc68PRCZniRGYzgxQSTB3aCumCgkB9v33UoQTsB_E acme-client: challenge, token: Laqr_nEDomuEKUumXTmWSJyUnhWgMQw4bDwKpbRDjm0, uri: https://127.0.0.1:14001/chalZ/FLFnQrUCVzUGgnFeXe-4Pgdi3YgpxjMMNiT494FQkjA, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/9QoNMjPD-1yVgMuRGB_D6cJppnLaCVg3BKEvvcjDm3g: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/49a2cc8c6cc889d6: certificate account key: https://127.0.0.1:14001/my-account/1a9aca6f771a8b1c 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"