==== 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" 54313 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/9a0a5b3e7be2831 acme-client: dochngreq: https://127.0.0.1:14000/authZ/t9FkjCDjCqsN3W6FwW_BKIdmLVaPI1rWyy36Xj9yqiM acme-client: challenge, token: wnS51Ud7bIfDk_y_7mgeoYX4qZot4rcDj1QgYk-iz_0, uri: https://127.0.0.1:14000/chalZ/xgcazVcaTOVsmBF-Hh_001eTgM0vDugpyED5QIqLGZc, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/wnS51Ud7bIfDk_y_7mgeoYX4qZot4rcDj1QgYk-iz_0: created acme-client: https://127.0.0.1:14000/chalZ/xgcazVcaTOVsmBF-Hh_001eTgM0vDugpyED5QIqLGZc: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/t9FkjCDjCqsN3W6FwW_BKIdmLVaPI1rWyy36Xj9yqiM acme-client: challenge, token: wnS51Ud7bIfDk_y_7mgeoYX4qZot4rcDj1QgYk-iz_0, uri: https://127.0.0.1:14000/chalZ/xgcazVcaTOVsmBF-Hh_001eTgM0vDugpyED5QIqLGZc, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/fbS7fhFBC2tJDdcBjWJ0RgttBqK60w5wATA2dg-A0io: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7d52af53e6fcaef3: certificate account key: https://127.0.0.1:14000/my-account/9a0a5b3e7be2831 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/9a0a5b3e7be2831 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/9a0a5b3e7be2831 acme-client: https://127.0.0.1:14000/finalize-order/j1qfvBKW2zEfqM-xlx2o_jPuIUlFoMqEDI-XxreL194: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/516d896f06855849: 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/9a0a5b3e7be2831 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/9a0a5b3e7be2831 acme-client: dochngreq: https://127.0.0.1:14000/authZ/t9FkjCDjCqsN3W6FwW_BKIdmLVaPI1rWyy36Xj9yqiM acme-client: challenge, token: wnS51Ud7bIfDk_y_7mgeoYX4qZot4rcDj1QgYk-iz_0, uri: https://127.0.0.1:14000/chalZ/xgcazVcaTOVsmBF-Hh_001eTgM0vDugpyED5QIqLGZc, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/kS_ZYSPY2AlxnwxxcDCwKL3xiC-peLfcVavNpi_uBYc acme-client: challenge, token: V5WAHKyg9Eg6hRB6X6JL7OHUn3fqU7AZpYw5JqwSgcM, uri: https://127.0.0.1:14000/chalZ/IsvmFRSc0q7WXFwYSSSa7iodjBv66MQqyJd4bUUxhZs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/V5WAHKyg9Eg6hRB6X6JL7OHUn3fqU7AZpYw5JqwSgcM: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/WzvDr65id0jklMsXNUmh8xy4WeNZsGQf6RwaLC8tTDs acme-client: challenge, token: L1i1bdPyorh6-nj7Rm68o1FFbAIPAH2zNmzTHmjtXBM, uri: https://127.0.0.1:14000/chalZ/jZtlXXey7bgDQkJMGY75pjuFl9p7kD9xWl2jgEfRUiU, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/L1i1bdPyorh6-nj7Rm68o1FFbAIPAH2zNmzTHmjtXBM: created acme-client: https://127.0.0.1:14000/chalZ/IsvmFRSc0q7WXFwYSSSa7iodjBv66MQqyJd4bUUxhZs: challenge acme-client: https://127.0.0.1:14000/chalZ/jZtlXXey7bgDQkJMGY75pjuFl9p7kD9xWl2jgEfRUiU: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/t9FkjCDjCqsN3W6FwW_BKIdmLVaPI1rWyy36Xj9yqiM acme-client: challenge, token: wnS51Ud7bIfDk_y_7mgeoYX4qZot4rcDj1QgYk-iz_0, uri: https://127.0.0.1:14000/chalZ/xgcazVcaTOVsmBF-Hh_001eTgM0vDugpyED5QIqLGZc, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/kS_ZYSPY2AlxnwxxcDCwKL3xiC-peLfcVavNpi_uBYc acme-client: challenge, token: V5WAHKyg9Eg6hRB6X6JL7OHUn3fqU7AZpYw5JqwSgcM, uri: https://127.0.0.1:14000/chalZ/IsvmFRSc0q7WXFwYSSSa7iodjBv66MQqyJd4bUUxhZs, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/WzvDr65id0jklMsXNUmh8xy4WeNZsGQf6RwaLC8tTDs acme-client: challenge, token: L1i1bdPyorh6-nj7Rm68o1FFbAIPAH2zNmzTHmjtXBM, uri: https://127.0.0.1:14000/chalZ/jZtlXXey7bgDQkJMGY75pjuFl9p7kD9xWl2jgEfRUiU, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/iBt8pkHT_DqmBUANCc0V3l4msFhVgUPQDHz_iKWVK2A: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/2fddc743dcbb99bd: 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/9a0a5b3e7be2831 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/9a0a5b3e7be2831 acme-client: dochngreq: https://127.0.0.1:14000/authZ/UE-r2Nx1XKGr9CkOJHMQYZBftRUIA56492HH-v_pl0w acme-client: challenge, token: q0yUvWbhA8QaJS-zqWu7FIN_HMc1LWnIlviAyOuWHTo, uri: https://127.0.0.1:14000/chalZ/JfCipNY0jVLeY0nkyiGtYqjRU0SiFGuZnVkQO5gCWJg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/q0yUvWbhA8QaJS-zqWu7FIN_HMc1LWnIlviAyOuWHTo: created acme-client: https://127.0.0.1:14000/chalZ/JfCipNY0jVLeY0nkyiGtYqjRU0SiFGuZnVkQO5gCWJg: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/UE-r2Nx1XKGr9CkOJHMQYZBftRUIA56492HH-v_pl0w acme-client: challenge, token: q0yUvWbhA8QaJS-zqWu7FIN_HMc1LWnIlviAyOuWHTo, uri: https://127.0.0.1:14000/chalZ/JfCipNY0jVLeY0nkyiGtYqjRU0SiFGuZnVkQO5gCWJg, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/psnzsWMjnS_vi31h29cm-DjNrR6ZNSMKUsT7uUXyS1I: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6983e7b14e8313da: 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/9a0a5b3e7be2831 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/7d91f7db2a1dbb91 acme-client: dochngreq: https://127.0.0.1:14001/authZ/ynOdZlcNkTtkAUOu1_KYz1mpuLSOLtt0WeQekrdYSYs acme-client: challenge, token: PHBAWzcU5F_uwMYLEAJGq2SLyuKNPIIl04bqdQqte0o, uri: https://127.0.0.1:14001/chalZ/3Fax-FMXpuQJ1lyKoGejOvvt5aNhBrenvJdhreAnK2w, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/PHBAWzcU5F_uwMYLEAJGq2SLyuKNPIIl04bqdQqte0o: created acme-client: https://127.0.0.1:14001/chalZ/3Fax-FMXpuQJ1lyKoGejOvvt5aNhBrenvJdhreAnK2w: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/ynOdZlcNkTtkAUOu1_KYz1mpuLSOLtt0WeQekrdYSYs acme-client: challenge, token: PHBAWzcU5F_uwMYLEAJGq2SLyuKNPIIl04bqdQqte0o, uri: https://127.0.0.1:14001/chalZ/3Fax-FMXpuQJ1lyKoGejOvvt5aNhBrenvJdhreAnK2w, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/Ur68QJFK3osrlzlJZYepkVtdPtNF28CQbl0K6xnZG0w: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/22fa8d9abd809d2b: certificate account key: https://127.0.0.1:14001/my-account/7d91f7db2a1dbb91 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"