==== 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" 55079 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/389121c3f515c68e acme-client: dochngreq: https://127.0.0.1:14000/authZ/O3sxBT6Q_rwlUpXV4leNS0rsZCwRiTJOcH0DtT5Dzz4 acme-client: challenge, token: JeBBddhh8ibbxApjo-5hFFnEeo1qFb7XaQLBY1zGyR8, uri: https://127.0.0.1:14000/chalZ/1eSXmz5SqQbzP8XEHLnnV66vmQVRb5mPLPE1FhrINGU, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/JeBBddhh8ibbxApjo-5hFFnEeo1qFb7XaQLBY1zGyR8: created acme-client: https://127.0.0.1:14000/chalZ/1eSXmz5SqQbzP8XEHLnnV66vmQVRb5mPLPE1FhrINGU: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/O3sxBT6Q_rwlUpXV4leNS0rsZCwRiTJOcH0DtT5Dzz4 acme-client: challenge, token: JeBBddhh8ibbxApjo-5hFFnEeo1qFb7XaQLBY1zGyR8, uri: https://127.0.0.1:14000/chalZ/1eSXmz5SqQbzP8XEHLnnV66vmQVRb5mPLPE1FhrINGU, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/ObQV0JbYZznGo01IK-tkOQbY_U_9se8wpmM-A8EeFUQ: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/32b4104fcfdb7b8c: certificate account key: https://127.0.0.1:14000/my-account/389121c3f515c68e 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/389121c3f515c68e 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/389121c3f515c68e acme-client: https://127.0.0.1:14000/finalize-order/ouW_bDnlBS9fhDrqT2W9X4vPCuRbyAvg8yZ6oWzbWDQ: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/4f2c1a0e17772855: 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/389121c3f515c68e 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/389121c3f515c68e acme-client: dochngreq: https://127.0.0.1:14000/authZ/XGsHPLoVpQsILcUE1mswcg4OhC0Z5mELQUaEC6h1f4Q acme-client: challenge, token: IlooP7fvjDm_ORnBt7GiJH_tTnmheNQXGuqx28irzRU, uri: https://127.0.0.1:14000/chalZ/IMUJBgUqILm4KVcaux8-cB8HP53bsaBrjFBmxZoUyY4, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/IlooP7fvjDm_ORnBt7GiJH_tTnmheNQXGuqx28irzRU: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/30RkkZoEbixq-gCtY3fZ6CHsjAoTECars9b2eNX8Nvc acme-client: challenge, token: CzSVVoKfNKFPcyTqBhI5peOthW-mEVXXs0NX0ouduAo, uri: https://127.0.0.1:14000/chalZ/mwm3dm_DNpNVjHnBhkqWcYQ08pg7CVgmMnYMkr-1j3A, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/CzSVVoKfNKFPcyTqBhI5peOthW-mEVXXs0NX0ouduAo: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/NWPvl5OVKopc6slsCXG58J_V98xbmmKXJ7YP4jzyowk acme-client: challenge, token: hX0n2MY--p5OlPV8zb37sgY5EbXrdZu53ph3ER9QVzg, uri: https://127.0.0.1:14000/chalZ/y_0gcS5kWtIHP3m4fUrH5AFcw71RbExm50jg26Akfgo, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/hX0n2MY--p5OlPV8zb37sgY5EbXrdZu53ph3ER9QVzg: created acme-client: https://127.0.0.1:14000/chalZ/IMUJBgUqILm4KVcaux8-cB8HP53bsaBrjFBmxZoUyY4: challenge acme-client: https://127.0.0.1:14000/chalZ/mwm3dm_DNpNVjHnBhkqWcYQ08pg7CVgmMnYMkr-1j3A: challenge acme-client: https://127.0.0.1:14000/chalZ/y_0gcS5kWtIHP3m4fUrH5AFcw71RbExm50jg26Akfgo: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/XGsHPLoVpQsILcUE1mswcg4OhC0Z5mELQUaEC6h1f4Q acme-client: challenge, token: IlooP7fvjDm_ORnBt7GiJH_tTnmheNQXGuqx28irzRU, uri: https://127.0.0.1:14000/chalZ/IMUJBgUqILm4KVcaux8-cB8HP53bsaBrjFBmxZoUyY4, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/30RkkZoEbixq-gCtY3fZ6CHsjAoTECars9b2eNX8Nvc acme-client: challenge, token: CzSVVoKfNKFPcyTqBhI5peOthW-mEVXXs0NX0ouduAo, uri: https://127.0.0.1:14000/chalZ/mwm3dm_DNpNVjHnBhkqWcYQ08pg7CVgmMnYMkr-1j3A, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/NWPvl5OVKopc6slsCXG58J_V98xbmmKXJ7YP4jzyowk acme-client: challenge, token: hX0n2MY--p5OlPV8zb37sgY5EbXrdZu53ph3ER9QVzg, uri: https://127.0.0.1:14000/chalZ/y_0gcS5kWtIHP3m4fUrH5AFcw71RbExm50jg26Akfgo, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/8D76uzO0CiOpNd4yZHy1ZtpN4uutEUrkz6Nmx5FMFAU: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/4a1402d3293a92cb: 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/389121c3f515c68e 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/389121c3f515c68e acme-client: dochngreq: https://127.0.0.1:14000/authZ/H2bi4xVLYu6SFrzMC-t52n_lZFkkrz7jcfO5vruLSPo acme-client: challenge, token: L7BMA-fXWLSJJmaXilq9IeAvpD-TFJCeaWH8WeBXftU, uri: https://127.0.0.1:14000/chalZ/meneEsj-4VohQwGB93wRzdXNTHDV4X2yrU0dYu_hjvY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/L7BMA-fXWLSJJmaXilq9IeAvpD-TFJCeaWH8WeBXftU: created acme-client: https://127.0.0.1:14000/chalZ/meneEsj-4VohQwGB93wRzdXNTHDV4X2yrU0dYu_hjvY: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/H2bi4xVLYu6SFrzMC-t52n_lZFkkrz7jcfO5vruLSPo acme-client: challenge, token: L7BMA-fXWLSJJmaXilq9IeAvpD-TFJCeaWH8WeBXftU, uri: https://127.0.0.1:14000/chalZ/meneEsj-4VohQwGB93wRzdXNTHDV4X2yrU0dYu_hjvY, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/nbyGkIqxGn2AUt-xQJ-iR5BweC5W-3SlLQL2JcgDcBI: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/10e531a899dd2515: 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/389121c3f515c68e 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"