==== 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" 74356 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/6fd388dbe7186304 acme-client: dochngreq: https://127.0.0.1:14000/authZ/SuuE1anDGhH7xAo-czTb_iOC83ytIcM6wkqg6pf6tqc acme-client: challenge, token: HaOKccVZA-0VPc8Gi_ofisc0-DZHm2lLcqKiHrtMRwU, uri: https://127.0.0.1:14000/chalZ/VowmtFkxdagmQU47lrW00gRRWedd1WcSen8QGeudNdk, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/HaOKccVZA-0VPc8Gi_ofisc0-DZHm2lLcqKiHrtMRwU: created acme-client: https://127.0.0.1:14000/chalZ/VowmtFkxdagmQU47lrW00gRRWedd1WcSen8QGeudNdk: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/SuuE1anDGhH7xAo-czTb_iOC83ytIcM6wkqg6pf6tqc acme-client: challenge, token: HaOKccVZA-0VPc8Gi_ofisc0-DZHm2lLcqKiHrtMRwU, uri: https://127.0.0.1:14000/chalZ/VowmtFkxdagmQU47lrW00gRRWedd1WcSen8QGeudNdk, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/JaWGFdWwDwmyUsuWCv4nbWwllA7qIwMGcN0A36K-L1Q: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/48fb0824eddc3c69: certificate account key: https://127.0.0.1:14000/my-account/6fd388dbe7186304 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/6fd388dbe7186304 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/6fd388dbe7186304 acme-client: https://127.0.0.1:14000/finalize-order/ELtdLSrEjNZajOS4eKQCaDjnsSvtwvpG0j7DrT-G4ZI: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/064968900941771b: 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/6fd388dbe7186304 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/6fd388dbe7186304 acme-client: dochngreq: https://127.0.0.1:14000/authZ/pBKuZgvWUgmssw0lWKKNGXz-n-PWizq68Gn6jl5vGQ0 acme-client: challenge, token: i4eodv323yud-b1EpMMmlZ8SLncUiUIMRbQOTLvCbvA, uri: https://127.0.0.1:14000/chalZ/tLTA8tRc5hLKo52iHz_0Mp-wFi8K_SMNxtaItGwKNpk, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/i4eodv323yud-b1EpMMmlZ8SLncUiUIMRbQOTLvCbvA: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/ukn63N2gCwI3unqO5KjAkZSDqshuqp9RYpxMjb09vzo acme-client: challenge, token: YkmkXrllzDRSXqw4MusK0MkA5vR6JLQY9rfhomxerFE, uri: https://127.0.0.1:14000/chalZ/R54mLzj0w4C1GH2bBBkIBFAxMNeCYhyeBxwKHyMHtfA, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/YkmkXrllzDRSXqw4MusK0MkA5vR6JLQY9rfhomxerFE: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/SuuE1anDGhH7xAo-czTb_iOC83ytIcM6wkqg6pf6tqc acme-client: challenge, token: HaOKccVZA-0VPc8Gi_ofisc0-DZHm2lLcqKiHrtMRwU, uri: https://127.0.0.1:14000/chalZ/VowmtFkxdagmQU47lrW00gRRWedd1WcSen8QGeudNdk, status: 2 acme-client: https://127.0.0.1:14000/chalZ/tLTA8tRc5hLKo52iHz_0Mp-wFi8K_SMNxtaItGwKNpk: challenge acme-client: https://127.0.0.1:14000/chalZ/R54mLzj0w4C1GH2bBBkIBFAxMNeCYhyeBxwKHyMHtfA: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/pBKuZgvWUgmssw0lWKKNGXz-n-PWizq68Gn6jl5vGQ0 acme-client: challenge, token: i4eodv323yud-b1EpMMmlZ8SLncUiUIMRbQOTLvCbvA, uri: https://127.0.0.1:14000/chalZ/tLTA8tRc5hLKo52iHz_0Mp-wFi8K_SMNxtaItGwKNpk, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/ukn63N2gCwI3unqO5KjAkZSDqshuqp9RYpxMjb09vzo acme-client: challenge, token: YkmkXrllzDRSXqw4MusK0MkA5vR6JLQY9rfhomxerFE, uri: https://127.0.0.1:14000/chalZ/R54mLzj0w4C1GH2bBBkIBFAxMNeCYhyeBxwKHyMHtfA, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/SuuE1anDGhH7xAo-czTb_iOC83ytIcM6wkqg6pf6tqc acme-client: challenge, token: HaOKccVZA-0VPc8Gi_ofisc0-DZHm2lLcqKiHrtMRwU, uri: https://127.0.0.1:14000/chalZ/VowmtFkxdagmQU47lrW00gRRWedd1WcSen8QGeudNdk, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/-bBEUyUvYNy0aDF6WeBD_iKW9cm5-ZP0nbrXeB-Wb0o: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/13e7d9039c0cdd27: 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/6fd388dbe7186304 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/6fd388dbe7186304 acme-client: https://127.0.0.1:14000/finalize-order/xlsJ4WzrEr1M1Bfk8ZU-KS0ey4HrW1f5ZPbqZlODj7Q: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/3258fb1e73ff89b5: 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/6fd388dbe7186304 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/476131f8c08ba913 acme-client: dochngreq: https://127.0.0.1:14001/authZ/oU-dtOAfeZKrkqYu9UoZi_5yTHSWmU33EL4c89ON7HY acme-client: challenge, token: 3rJJKGvPmIf6nirU7lvrdMn8ln-qYIDp-JQ3EPkMu4Q, uri: https://127.0.0.1:14001/chalZ/O2b8S8QQ1JPPVvmKSbgGn9-8w9l4ziP0y563KOyjL3s, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/3rJJKGvPmIf6nirU7lvrdMn8ln-qYIDp-JQ3EPkMu4Q: created acme-client: https://127.0.0.1:14001/chalZ/O2b8S8QQ1JPPVvmKSbgGn9-8w9l4ziP0y563KOyjL3s: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/oU-dtOAfeZKrkqYu9UoZi_5yTHSWmU33EL4c89ON7HY acme-client: challenge, token: 3rJJKGvPmIf6nirU7lvrdMn8ln-qYIDp-JQ3EPkMu4Q, uri: https://127.0.0.1:14001/chalZ/O2b8S8QQ1JPPVvmKSbgGn9-8w9l4ziP0y563KOyjL3s, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/BbLDXE26BK_AA0mdqABq6ao0HpTp1SHXg813hiVaMS8: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/62e4325b0370870c: certificate account key: https://127.0.0.1:14001/my-account/476131f8c08ba913 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"