==== 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" 47658 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/7232dde1f113a202 acme-client: dochngreq: https://127.0.0.1:14000/authZ/ayTJLHHIuazWWQdDeCYVlV7ZPf-OURP1RvFay9Xx2q8 acme-client: challenge, token: vVHoq7ztwlPmtyEnRDO7VMKIqNPj2AEF4yO121FW-go, uri: https://127.0.0.1:14000/chalZ/CJ6ggCrPDjsPw5mHWxVxq2__8C2Ymygkjr3oosc1iQ4, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/vVHoq7ztwlPmtyEnRDO7VMKIqNPj2AEF4yO121FW-go: created acme-client: https://127.0.0.1:14000/chalZ/CJ6ggCrPDjsPw5mHWxVxq2__8C2Ymygkjr3oosc1iQ4: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/ayTJLHHIuazWWQdDeCYVlV7ZPf-OURP1RvFay9Xx2q8 acme-client: challenge, token: vVHoq7ztwlPmtyEnRDO7VMKIqNPj2AEF4yO121FW-go, uri: https://127.0.0.1:14000/chalZ/CJ6ggCrPDjsPw5mHWxVxq2__8C2Ymygkjr3oosc1iQ4, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/TZpga4Y3VPpUJ0ITk2fjoqQn2rimhhD9EWh1ZYUnZBA: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/2c7631436a38db9d: certificate account key: https://127.0.0.1:14000/my-account/7232dde1f113a202 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/7232dde1f113a202 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/7232dde1f113a202 acme-client: https://127.0.0.1:14000/finalize-order/_QOH189RUAxF5f7nT0yFVoiT76pVrXhJuWrDNJ6oZIo: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/41365ddbdfff9d32: 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/7232dde1f113a202 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/7232dde1f113a202 acme-client: dochngreq: https://127.0.0.1:14000/authZ/memLahOmnvCMeCX4IULHA-ZT9v7MKUQIgYcEHl_wwo4 acme-client: challenge, token: TIecTNJ6FQSuLRldgZM0SWHF99NQyWBNBOfaMn3Oc2Q, uri: https://127.0.0.1:14000/chalZ/3AGP9ZU5DUssn7CG2Z-4-2wA-4Fld5d2rtIy5yQ-LoA, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/TIecTNJ6FQSuLRldgZM0SWHF99NQyWBNBOfaMn3Oc2Q: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/NAmlmeD3ZSOQXLYJx03K8YOVpFlyshbkpbzrNw791as acme-client: challenge, token: -2qmTin-JxBPCPqSK9ZXZBh4DpF5usy3d81zJp5AnYU, uri: https://127.0.0.1:14000/chalZ/B5jXRSsC3zzQP8zcLUAE46bPmrpTpCTaq5WOaFIRBUI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/-2qmTin-JxBPCPqSK9ZXZBh4DpF5usy3d81zJp5AnYU: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/cUOpZ45VG7T-INZvPn_i-jjg18f4oubDPOdhpU9XkSU acme-client: challenge, token: 4BJJ0lF4ucxrwqeT_axwSzBhvXjNX64hQSSKrXuUOVA, uri: https://127.0.0.1:14000/chalZ/QyueNrLfr5so69A9OA4EPr3BY_WLlFrqSBlQIm73lr8, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/4BJJ0lF4ucxrwqeT_axwSzBhvXjNX64hQSSKrXuUOVA: created acme-client: https://127.0.0.1:14000/chalZ/3AGP9ZU5DUssn7CG2Z-4-2wA-4Fld5d2rtIy5yQ-LoA: challenge acme-client: https://127.0.0.1:14000/chalZ/B5jXRSsC3zzQP8zcLUAE46bPmrpTpCTaq5WOaFIRBUI: challenge acme-client: https://127.0.0.1:14000/chalZ/QyueNrLfr5so69A9OA4EPr3BY_WLlFrqSBlQIm73lr8: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/memLahOmnvCMeCX4IULHA-ZT9v7MKUQIgYcEHl_wwo4 acme-client: challenge, token: TIecTNJ6FQSuLRldgZM0SWHF99NQyWBNBOfaMn3Oc2Q, uri: https://127.0.0.1:14000/chalZ/3AGP9ZU5DUssn7CG2Z-4-2wA-4Fld5d2rtIy5yQ-LoA, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/NAmlmeD3ZSOQXLYJx03K8YOVpFlyshbkpbzrNw791as acme-client: challenge, token: -2qmTin-JxBPCPqSK9ZXZBh4DpF5usy3d81zJp5AnYU, uri: https://127.0.0.1:14000/chalZ/B5jXRSsC3zzQP8zcLUAE46bPmrpTpCTaq5WOaFIRBUI, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/cUOpZ45VG7T-INZvPn_i-jjg18f4oubDPOdhpU9XkSU acme-client: challenge, token: 4BJJ0lF4ucxrwqeT_axwSzBhvXjNX64hQSSKrXuUOVA, uri: https://127.0.0.1:14000/chalZ/QyueNrLfr5so69A9OA4EPr3BY_WLlFrqSBlQIm73lr8, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/MTdT44B-8FGNDbeb6Czz5pD_RYdjerVblRK0VBDB70U: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/5726079b9946c66f: 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/7232dde1f113a202 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/7232dde1f113a202 acme-client: https://127.0.0.1:14000/finalize-order/yJarnsUU6sX6ejz0cvcdLtxdSoQqYvzK7-3gWcnUz14: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7c8c20feca61f22e: 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/7232dde1f113a202 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/67a0f9a2002610fb acme-client: dochngreq: https://127.0.0.1:14001/authZ/RXMEXJ82BsDZVhJf2zjzjDpENJv8yg_FjDGAa-EP5Cg acme-client: challenge, token: IMoJqOSJfXs6wySLq9SoSY4UTnUfQepb2UQwkLCHBJ0, uri: https://127.0.0.1:14001/chalZ/PJsOl8U9dalDMLrdKffqiQgW_22k-opCdMFXeBfhHHA, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/IMoJqOSJfXs6wySLq9SoSY4UTnUfQepb2UQwkLCHBJ0: created acme-client: https://127.0.0.1:14001/chalZ/PJsOl8U9dalDMLrdKffqiQgW_22k-opCdMFXeBfhHHA: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/RXMEXJ82BsDZVhJf2zjzjDpENJv8yg_FjDGAa-EP5Cg acme-client: challenge, token: IMoJqOSJfXs6wySLq9SoSY4UTnUfQepb2UQwkLCHBJ0, uri: https://127.0.0.1:14001/chalZ/PJsOl8U9dalDMLrdKffqiQgW_22k-opCdMFXeBfhHHA, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/VRRbObblECowMsTqTZyrMXhymqCvp-cZpWt3Ukmg2qc: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/5cd67c943a23bf49: certificate account key: https://127.0.0.1:14001/my-account/67a0f9a2002610fb 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"