==== 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" 35465 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/38b355d1de136896 acme-client: dochngreq: https://127.0.0.1:14000/authZ/LDEV8h1UYJt8ZX52mtSB-fofJrvkZGrTTtl5WQf6ndI acme-client: challenge, token: 8xq29ALwUe_MMCs9P-8LGdQtIPx09f_xm5kXqDMYrbc, uri: https://127.0.0.1:14000/chalZ/kvyElC6hNmLTJMmGrBc3FFRisOYb-Ps-OUfQDrRUjNs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/8xq29ALwUe_MMCs9P-8LGdQtIPx09f_xm5kXqDMYrbc: created acme-client: https://127.0.0.1:14000/chalZ/kvyElC6hNmLTJMmGrBc3FFRisOYb-Ps-OUfQDrRUjNs: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/LDEV8h1UYJt8ZX52mtSB-fofJrvkZGrTTtl5WQf6ndI acme-client: challenge, token: 8xq29ALwUe_MMCs9P-8LGdQtIPx09f_xm5kXqDMYrbc, uri: https://127.0.0.1:14000/chalZ/kvyElC6hNmLTJMmGrBc3FFRisOYb-Ps-OUfQDrRUjNs, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/_VZWZrmmr4BvfUyCiJAKIDLDqjbCpk42M5bNBqML4gA: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/493cdf862f822ed3: certificate account key: https://127.0.0.1:14000/my-account/38b355d1de136896 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/38b355d1de136896 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/38b355d1de136896 acme-client: https://127.0.0.1:14000/finalize-order/SYdUJefkeiQ0rfqH1CA9PmvlfSfMf4QlqOiAVC2KeLs: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/5069a2a651e9844c: 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/38b355d1de136896 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/38b355d1de136896 acme-client: dochngreq: https://127.0.0.1:14000/authZ/gWr5eR1a7FrMZRZur-Gll5cANhqgcTgHL9UhY5Qsqws acme-client: challenge, token: m04Qgo2-Ugmt4Fxb3SKbN16lC1kFVNyT--Wh0t-6gzk, uri: https://127.0.0.1:14000/chalZ/wI9JDgkuCxGlkgo2oF7ZXqObCkk6efc41caLCHmsnLg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/m04Qgo2-Ugmt4Fxb3SKbN16lC1kFVNyT--Wh0t-6gzk: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/7ar3ZaV3RNAQDH_Ze_sTACGFyso56Salw6n6GK8-Ulk acme-client: challenge, token: N605UsDNY4wreWSg09IuYPynB12SRCGHf1V9M8z_36o, uri: https://127.0.0.1:14000/chalZ/5I7arZEHhUrJ3t7MUgjfSAbn1gmbCKCz-AW5vPG2C0U, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/N605UsDNY4wreWSg09IuYPynB12SRCGHf1V9M8z_36o: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/LDEV8h1UYJt8ZX52mtSB-fofJrvkZGrTTtl5WQf6ndI acme-client: challenge, token: 8xq29ALwUe_MMCs9P-8LGdQtIPx09f_xm5kXqDMYrbc, uri: https://127.0.0.1:14000/chalZ/kvyElC6hNmLTJMmGrBc3FFRisOYb-Ps-OUfQDrRUjNs, status: 2 acme-client: https://127.0.0.1:14000/chalZ/wI9JDgkuCxGlkgo2oF7ZXqObCkk6efc41caLCHmsnLg: challenge acme-client: https://127.0.0.1:14000/chalZ/5I7arZEHhUrJ3t7MUgjfSAbn1gmbCKCz-AW5vPG2C0U: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/gWr5eR1a7FrMZRZur-Gll5cANhqgcTgHL9UhY5Qsqws acme-client: challenge, token: m04Qgo2-Ugmt4Fxb3SKbN16lC1kFVNyT--Wh0t-6gzk, uri: https://127.0.0.1:14000/chalZ/wI9JDgkuCxGlkgo2oF7ZXqObCkk6efc41caLCHmsnLg, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/7ar3ZaV3RNAQDH_Ze_sTACGFyso56Salw6n6GK8-Ulk acme-client: challenge, token: N605UsDNY4wreWSg09IuYPynB12SRCGHf1V9M8z_36o, uri: https://127.0.0.1:14000/chalZ/5I7arZEHhUrJ3t7MUgjfSAbn1gmbCKCz-AW5vPG2C0U, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/LDEV8h1UYJt8ZX52mtSB-fofJrvkZGrTTtl5WQf6ndI acme-client: challenge, token: 8xq29ALwUe_MMCs9P-8LGdQtIPx09f_xm5kXqDMYrbc, uri: https://127.0.0.1:14000/chalZ/kvyElC6hNmLTJMmGrBc3FFRisOYb-Ps-OUfQDrRUjNs, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/KchpGqygWFdbFT7fVjBElGzb_tfeXFs-aiDd6ELP3LU: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6597c4f4d95e0970: 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/38b355d1de136896 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/38b355d1de136896 acme-client: dochngreq: https://127.0.0.1:14000/authZ/ywN9VfYqFh_ziNZ12h3ZJskA6vxb_wfoKqnJmXneA8w acme-client: challenge, token: V0T4_miAmLhsllJzqKOmgDyXHvopov-AqLAYSr7bCU8, uri: https://127.0.0.1:14000/chalZ/Fz5RF1XSmVvCGQTtNDRA0DmkLI8zyz-gkxHKFQZZMYU, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/V0T4_miAmLhsllJzqKOmgDyXHvopov-AqLAYSr7bCU8: created acme-client: https://127.0.0.1:14000/chalZ/Fz5RF1XSmVvCGQTtNDRA0DmkLI8zyz-gkxHKFQZZMYU: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/ywN9VfYqFh_ziNZ12h3ZJskA6vxb_wfoKqnJmXneA8w acme-client: challenge, token: V0T4_miAmLhsllJzqKOmgDyXHvopov-AqLAYSr7bCU8, uri: https://127.0.0.1:14000/chalZ/Fz5RF1XSmVvCGQTtNDRA0DmkLI8zyz-gkxHKFQZZMYU, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/6uwwllQ0yWRpMokuwQHbbiJAtEeatY0fqodhHR67OH8: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/76b0905a13acc16f: 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/38b355d1de136896 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"