==== 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" 36898 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/248e75b6151901c1 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Q5jCYiCng_sSb0LclUeklpf_7tXWt513L40saW7_Q7A acme-client: challenge, token: 84RIlw6s4qU84ucvbqQWmV_k825cJv8a18pt91GF42g, uri: https://127.0.0.1:14000/chalZ/psg5z5Pb4hJHJCU--qpZG8nMgh3OULjQ-wLoUL2HIZQ, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/84RIlw6s4qU84ucvbqQWmV_k825cJv8a18pt91GF42g: created acme-client: https://127.0.0.1:14000/chalZ/psg5z5Pb4hJHJCU--qpZG8nMgh3OULjQ-wLoUL2HIZQ: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Q5jCYiCng_sSb0LclUeklpf_7tXWt513L40saW7_Q7A acme-client: challenge, token: 84RIlw6s4qU84ucvbqQWmV_k825cJv8a18pt91GF42g, uri: https://127.0.0.1:14000/chalZ/psg5z5Pb4hJHJCU--qpZG8nMgh3OULjQ-wLoUL2HIZQ, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/5z6u9JUCQV-l7GD_4qAE2m8DR6n5_tQq0Hv1wkP96uc: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/041f9fcacf941424: certificate account key: https://127.0.0.1:14000/my-account/248e75b6151901c1 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/248e75b6151901c1 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/248e75b6151901c1 acme-client: dochngreq: https://127.0.0.1:14000/authZ/XlRkbf7CqGiGV1Cot8O0Bo0ft_SZ_O2c8_qU2GrdeOI acme-client: challenge, token: qgtC7EHoqPs7H6ZOw4C4PYvLiuPoFHcFlYF94rVqr-Y, uri: https://127.0.0.1:14000/chalZ/qCoH4sXeinCfVyl3R8gwGGsA1OjqIYrupI-pPmXX6JA, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/qgtC7EHoqPs7H6ZOw4C4PYvLiuPoFHcFlYF94rVqr-Y: created acme-client: https://127.0.0.1:14000/chalZ/qCoH4sXeinCfVyl3R8gwGGsA1OjqIYrupI-pPmXX6JA: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/XlRkbf7CqGiGV1Cot8O0Bo0ft_SZ_O2c8_qU2GrdeOI acme-client: challenge, token: qgtC7EHoqPs7H6ZOw4C4PYvLiuPoFHcFlYF94rVqr-Y, uri: https://127.0.0.1:14000/chalZ/qCoH4sXeinCfVyl3R8gwGGsA1OjqIYrupI-pPmXX6JA, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/O_OsR4oE8TJNASNUKNCSvrTDQdXbjbMT8paD9fxyznk: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/60d538912d1ff003: 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/248e75b6151901c1 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/248e75b6151901c1 acme-client: dochngreq: https://127.0.0.1:14000/authZ/8NlPn-aaJuLlme-VENBifT40xH3_NE4iGP7LZWlvJaA acme-client: challenge, token: 3nE0NXv5Pei1suhHsWtDRdCrpzrXQa7XDisoBvaKpyc, uri: https://127.0.0.1:14000/chalZ/KB6335i-9Xp67_ms8Kdh8rjdtqeYBqHcS74ttgE4dBE, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/3nE0NXv5Pei1suhHsWtDRdCrpzrXQa7XDisoBvaKpyc: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/Q5jCYiCng_sSb0LclUeklpf_7tXWt513L40saW7_Q7A acme-client: challenge, token: 84RIlw6s4qU84ucvbqQWmV_k825cJv8a18pt91GF42g, uri: https://127.0.0.1:14000/chalZ/psg5z5Pb4hJHJCU--qpZG8nMgh3OULjQ-wLoUL2HIZQ, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/3LlIoIuFpPWklH3Ah7wOEyts41Tm-SERo6ITES8VoSU acme-client: challenge, token: oKIMpxzFeafCO6igUWtqHFVsWiR-vCc0cGZl4OvL-Ao, uri: https://127.0.0.1:14000/chalZ/YnT9kqENs1Cz-XXzSJcxgr4Hv1Z0Nh6nPQP85-hnWnU, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/oKIMpxzFeafCO6igUWtqHFVsWiR-vCc0cGZl4OvL-Ao: created acme-client: https://127.0.0.1:14000/chalZ/KB6335i-9Xp67_ms8Kdh8rjdtqeYBqHcS74ttgE4dBE: challenge acme-client: https://127.0.0.1:14000/chalZ/YnT9kqENs1Cz-XXzSJcxgr4Hv1Z0Nh6nPQP85-hnWnU: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/8NlPn-aaJuLlme-VENBifT40xH3_NE4iGP7LZWlvJaA acme-client: challenge, token: 3nE0NXv5Pei1suhHsWtDRdCrpzrXQa7XDisoBvaKpyc, uri: https://127.0.0.1:14000/chalZ/KB6335i-9Xp67_ms8Kdh8rjdtqeYBqHcS74ttgE4dBE, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Q5jCYiCng_sSb0LclUeklpf_7tXWt513L40saW7_Q7A acme-client: challenge, token: 84RIlw6s4qU84ucvbqQWmV_k825cJv8a18pt91GF42g, uri: https://127.0.0.1:14000/chalZ/psg5z5Pb4hJHJCU--qpZG8nMgh3OULjQ-wLoUL2HIZQ, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/3LlIoIuFpPWklH3Ah7wOEyts41Tm-SERo6ITES8VoSU acme-client: challenge, token: oKIMpxzFeafCO6igUWtqHFVsWiR-vCc0cGZl4OvL-Ao, uri: https://127.0.0.1:14000/chalZ/YnT9kqENs1Cz-XXzSJcxgr4Hv1Z0Nh6nPQP85-hnWnU, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/S_4_Y9U8-r28EYMj6c3LVgsVU2hcgKIWPn5EVPR8zN0: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/2e9ea9b84a73fbc2: 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/248e75b6151901c1 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/248e75b6151901c1 acme-client: dochngreq: https://127.0.0.1:14000/authZ/FJX6jbNPUdAhND0EJFikRvxA4161OEO_X_ga11F4btM acme-client: challenge, token: cC1IKLHdFLFYrk57s6XpMqH_lEg6ZPKb_HNQfgD6ITY, uri: https://127.0.0.1:14000/chalZ/52vAdNsUvXLQG9itqGDmlkpvTNy2k6ogU_CNl9N4OoA, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/cC1IKLHdFLFYrk57s6XpMqH_lEg6ZPKb_HNQfgD6ITY: created acme-client: https://127.0.0.1:14000/chalZ/52vAdNsUvXLQG9itqGDmlkpvTNy2k6ogU_CNl9N4OoA: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/FJX6jbNPUdAhND0EJFikRvxA4161OEO_X_ga11F4btM acme-client: challenge, token: cC1IKLHdFLFYrk57s6XpMqH_lEg6ZPKb_HNQfgD6ITY, uri: https://127.0.0.1:14000/chalZ/52vAdNsUvXLQG9itqGDmlkpvTNy2k6ogU_CNl9N4OoA, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/3qNXB4_K3qWWdX82Hr8vP6vioV1HOPE4nPEvomdZwCw: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/05076a91c791d952: 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/248e75b6151901c1 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"