==== 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" 39914 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/65522ca50c7147c3 acme-client: dochngreq: https://127.0.0.1:14000/authZ/NPPA5XCtAA_0IomWqR6zRrBpSul1oTtyBv-A-FyXYSA acme-client: challenge, token: AlEHBk15bNIV5xxedAYyIDMKlieWqscmGyp2bqvDQ8c, uri: https://127.0.0.1:14000/chalZ/ySUdqjAl53XWCEDF4mUeqN47AIe5hfZR_hM_iVv1Hmk, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/AlEHBk15bNIV5xxedAYyIDMKlieWqscmGyp2bqvDQ8c: created acme-client: https://127.0.0.1:14000/chalZ/ySUdqjAl53XWCEDF4mUeqN47AIe5hfZR_hM_iVv1Hmk: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/NPPA5XCtAA_0IomWqR6zRrBpSul1oTtyBv-A-FyXYSA acme-client: challenge, token: AlEHBk15bNIV5xxedAYyIDMKlieWqscmGyp2bqvDQ8c, uri: https://127.0.0.1:14000/chalZ/ySUdqjAl53XWCEDF4mUeqN47AIe5hfZR_hM_iVv1Hmk, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/mT5yUNHl_C0VnxiE9JwzYAQl5r_YVM1y0lm46hWEyec: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6cb5b74a336fe10a: certificate account key: https://127.0.0.1:14000/my-account/65522ca50c7147c3 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/65522ca50c7147c3 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/65522ca50c7147c3 acme-client: dochngreq: https://127.0.0.1:14000/authZ/zECZtanbymTsS7T14N3KjDpD-9VnNrxsRyeR7dPislc acme-client: challenge, token: ezdG3_wMQLQ1Kt21Mc7lcal9abjhHHHf9tNBlOUydTo, uri: https://127.0.0.1:14000/chalZ/ZVrN0ZaLyBxIfqh-SkZhkR0wZ6v3rw-xASPlTXWuQGY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/ezdG3_wMQLQ1Kt21Mc7lcal9abjhHHHf9tNBlOUydTo: created acme-client: https://127.0.0.1:14000/chalZ/ZVrN0ZaLyBxIfqh-SkZhkR0wZ6v3rw-xASPlTXWuQGY: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/zECZtanbymTsS7T14N3KjDpD-9VnNrxsRyeR7dPislc acme-client: challenge, token: ezdG3_wMQLQ1Kt21Mc7lcal9abjhHHHf9tNBlOUydTo, uri: https://127.0.0.1:14000/chalZ/ZVrN0ZaLyBxIfqh-SkZhkR0wZ6v3rw-xASPlTXWuQGY, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/aP2LFt62p8zbRGaijyOBVgQRB9Zi0MKc2FoKLqnLHu0: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/20d8f228633fd379: 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/65522ca50c7147c3 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/65522ca50c7147c3 acme-client: dochngreq: https://127.0.0.1:14000/authZ/S9irDel-0wd_5SIbSDjFpSXvFDFxs9HU5gvp_ScoejY acme-client: challenge, token: mvvBjpNsFXV_Pyp7ZLfYFmv0q9i7TYJmqYbkYMwisZk, uri: https://127.0.0.1:14000/chalZ/jIjD2yVwri6jMIdwkrs7dX-uZ_UaibhhikJUBZ2Nxsg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/mvvBjpNsFXV_Pyp7ZLfYFmv0q9i7TYJmqYbkYMwisZk: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/NPPA5XCtAA_0IomWqR6zRrBpSul1oTtyBv-A-FyXYSA acme-client: challenge, token: AlEHBk15bNIV5xxedAYyIDMKlieWqscmGyp2bqvDQ8c, uri: https://127.0.0.1:14000/chalZ/ySUdqjAl53XWCEDF4mUeqN47AIe5hfZR_hM_iVv1Hmk, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/pB6dBhI1qhMPDmBDitAkWNMx_Iafvojok2aR7TqDMVU acme-client: challenge, token: TcX1KPa4BmXftENtCiSxmVymD6zygGOAblMN1e0gO3E, uri: https://127.0.0.1:14000/chalZ/eEFilAiIpJrNw9BjRZPMcDeaBhTuCHul1nwGm0fv88g, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/TcX1KPa4BmXftENtCiSxmVymD6zygGOAblMN1e0gO3E: created acme-client: https://127.0.0.1:14000/chalZ/jIjD2yVwri6jMIdwkrs7dX-uZ_UaibhhikJUBZ2Nxsg: challenge acme-client: https://127.0.0.1:14000/chalZ/eEFilAiIpJrNw9BjRZPMcDeaBhTuCHul1nwGm0fv88g: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/S9irDel-0wd_5SIbSDjFpSXvFDFxs9HU5gvp_ScoejY acme-client: challenge, token: mvvBjpNsFXV_Pyp7ZLfYFmv0q9i7TYJmqYbkYMwisZk, uri: https://127.0.0.1:14000/chalZ/jIjD2yVwri6jMIdwkrs7dX-uZ_UaibhhikJUBZ2Nxsg, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/NPPA5XCtAA_0IomWqR6zRrBpSul1oTtyBv-A-FyXYSA acme-client: challenge, token: AlEHBk15bNIV5xxedAYyIDMKlieWqscmGyp2bqvDQ8c, uri: https://127.0.0.1:14000/chalZ/ySUdqjAl53XWCEDF4mUeqN47AIe5hfZR_hM_iVv1Hmk, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/pB6dBhI1qhMPDmBDitAkWNMx_Iafvojok2aR7TqDMVU acme-client: challenge, token: TcX1KPa4BmXftENtCiSxmVymD6zygGOAblMN1e0gO3E, uri: https://127.0.0.1:14000/chalZ/eEFilAiIpJrNw9BjRZPMcDeaBhTuCHul1nwGm0fv88g, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/RjF4fyjE60qqyFNaxAnRU1BMFJJ_jbZsCJKG18SlNxk: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0a0ffa417763d68f: 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/65522ca50c7147c3 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/65522ca50c7147c3 acme-client: https://127.0.0.1:14000/finalize-order/Z6rMvOsD78KanP55P5b5KvH1AZt155l7aa4DBz4USkY: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0938cc0c19f7ed19: 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/65522ca50c7147c3 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"