==== 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" 76856 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/3c1d6c04c3fc2181 acme-client: dochngreq: https://127.0.0.1:14000/authZ/YYDERqWAtl_8_dGSrOZbdKKAFGTRwdBisqQjVWtQ-wY acme-client: challenge, token: yo0QMhWs16Ssp2oslTSWANgsAxz8Ds6w-K9CMkyIXmE, uri: https://127.0.0.1:14000/chalZ/D_O13DjrFAKPZkiANx6IISFKAZfKyZnYQw-j_aa6cR0, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/yo0QMhWs16Ssp2oslTSWANgsAxz8Ds6w-K9CMkyIXmE: created acme-client: https://127.0.0.1:14000/chalZ/D_O13DjrFAKPZkiANx6IISFKAZfKyZnYQw-j_aa6cR0: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/YYDERqWAtl_8_dGSrOZbdKKAFGTRwdBisqQjVWtQ-wY acme-client: challenge, token: yo0QMhWs16Ssp2oslTSWANgsAxz8Ds6w-K9CMkyIXmE, uri: https://127.0.0.1:14000/chalZ/D_O13DjrFAKPZkiANx6IISFKAZfKyZnYQw-j_aa6cR0, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/txf9exffOkx2NBkttXLKNw5h5ycEeO5_b0S9p8H-Yz4: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/23a4cef07adb7a35: certificate account key: https://127.0.0.1:14000/my-account/3c1d6c04c3fc2181 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/3c1d6c04c3fc2181 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/3c1d6c04c3fc2181 acme-client: dochngreq: https://127.0.0.1:14000/authZ/DdF2wl4Z4LdYmtvdPE71tXGMVqGoSURi4MVJFuVLNtc acme-client: challenge, token: K97pYK618IHix_pFcrQoADp-rn6e3fdUVlEjEsblkdk, uri: https://127.0.0.1:14000/chalZ/xDZTz-qBFJzAhROtjOLYNqFaiQBUzus7xnUiGz3dV7s, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/K97pYK618IHix_pFcrQoADp-rn6e3fdUVlEjEsblkdk: created acme-client: https://127.0.0.1:14000/chalZ/xDZTz-qBFJzAhROtjOLYNqFaiQBUzus7xnUiGz3dV7s: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/DdF2wl4Z4LdYmtvdPE71tXGMVqGoSURi4MVJFuVLNtc acme-client: challenge, token: K97pYK618IHix_pFcrQoADp-rn6e3fdUVlEjEsblkdk, uri: https://127.0.0.1:14000/chalZ/xDZTz-qBFJzAhROtjOLYNqFaiQBUzus7xnUiGz3dV7s, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/7Nb0LAOWOIBRSebx9IhjWZ8rvEnR4gUuZjBvSrFdbr8: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/710983d0b2513acb: 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/3c1d6c04c3fc2181 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/3c1d6c04c3fc2181 acme-client: dochngreq: https://127.0.0.1:14000/authZ/YYDERqWAtl_8_dGSrOZbdKKAFGTRwdBisqQjVWtQ-wY acme-client: challenge, token: yo0QMhWs16Ssp2oslTSWANgsAxz8Ds6w-K9CMkyIXmE, uri: https://127.0.0.1:14000/chalZ/D_O13DjrFAKPZkiANx6IISFKAZfKyZnYQw-j_aa6cR0, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/VKad4AxuGBadnR19pX8T8ScKC66MWgvsAui_8w1gCqg acme-client: challenge, token: FjFnc2hou9tjCtjHmUQQKnurdx56m_tcbWJ8iDUO7B4, uri: https://127.0.0.1:14000/chalZ/569zPAsq26lQ9r4FCs-WW0NMed5R3vBU2LrsLjwakgY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/FjFnc2hou9tjCtjHmUQQKnurdx56m_tcbWJ8iDUO7B4: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/qXO-yu7PuiApLzJIwtwE31VUu-hL8Kq_vj3_kk2kfh4 acme-client: challenge, token: X77b3k5Bls2SjrHW0tQwbU72VxLm3Bzb3adPixZyTvw, uri: https://127.0.0.1:14000/chalZ/kGFhmMhfy8qu6SqcKcMO-QRGmTwg9W9YAfeAyHAG_EE, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/X77b3k5Bls2SjrHW0tQwbU72VxLm3Bzb3adPixZyTvw: created acme-client: https://127.0.0.1:14000/chalZ/569zPAsq26lQ9r4FCs-WW0NMed5R3vBU2LrsLjwakgY: challenge acme-client: https://127.0.0.1:14000/chalZ/kGFhmMhfy8qu6SqcKcMO-QRGmTwg9W9YAfeAyHAG_EE: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/YYDERqWAtl_8_dGSrOZbdKKAFGTRwdBisqQjVWtQ-wY acme-client: challenge, token: yo0QMhWs16Ssp2oslTSWANgsAxz8Ds6w-K9CMkyIXmE, uri: https://127.0.0.1:14000/chalZ/D_O13DjrFAKPZkiANx6IISFKAZfKyZnYQw-j_aa6cR0, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/VKad4AxuGBadnR19pX8T8ScKC66MWgvsAui_8w1gCqg acme-client: challenge, token: FjFnc2hou9tjCtjHmUQQKnurdx56m_tcbWJ8iDUO7B4, uri: https://127.0.0.1:14000/chalZ/569zPAsq26lQ9r4FCs-WW0NMed5R3vBU2LrsLjwakgY, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/qXO-yu7PuiApLzJIwtwE31VUu-hL8Kq_vj3_kk2kfh4 acme-client: challenge, token: X77b3k5Bls2SjrHW0tQwbU72VxLm3Bzb3adPixZyTvw, uri: https://127.0.0.1:14000/chalZ/kGFhmMhfy8qu6SqcKcMO-QRGmTwg9W9YAfeAyHAG_EE, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/UnZk1jxJXdV-4KbROnmmGP_c1WKkFH06-YkfpNLOky8: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/62211ce5c62172e7: 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/3c1d6c04c3fc2181 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/3c1d6c04c3fc2181 acme-client: dochngreq: https://127.0.0.1:14000/authZ/udQsr_h-e6kavCJChkvqzGlQ4O4Ya6kd3jgCPo-IuY0 acme-client: challenge, token: kVBJ0viQT0l5wrzrBzDzOO1Z8aPSqArrBxiIcC33B0g, uri: https://127.0.0.1:14000/chalZ/mICSVVgDnkDFbCli9wtKE0NkJy4frVRP-sRHMZFX7mQ, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/kVBJ0viQT0l5wrzrBzDzOO1Z8aPSqArrBxiIcC33B0g: created acme-client: https://127.0.0.1:14000/chalZ/mICSVVgDnkDFbCli9wtKE0NkJy4frVRP-sRHMZFX7mQ: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/udQsr_h-e6kavCJChkvqzGlQ4O4Ya6kd3jgCPo-IuY0 acme-client: challenge, token: kVBJ0viQT0l5wrzrBzDzOO1Z8aPSqArrBxiIcC33B0g, uri: https://127.0.0.1:14000/chalZ/mICSVVgDnkDFbCli9wtKE0NkJy4frVRP-sRHMZFX7mQ, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/r_pa5HxBFbElVwFzuBTNwY1pkDLTobIyjXkwM28cH-8: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7316c80ef6433d89: 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/3c1d6c04c3fc2181 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"