==== 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" 63657 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/5184d0d4842a2da1 acme-client: dochngreq: https://127.0.0.1:14000/authZ/kbSkWEsJCWKTxdfgzdVy35mi6M0a-cwb8f9Es0_WT-g acme-client: challenge, token: o3fxkeYjC0bEFiXLFIGOGYrQaR8siYjezNpWpl6xtoU, uri: https://127.0.0.1:14000/chalZ/gZSdfL7fSrZOVg1SAgUhfW-MEQ-j-3UMw40z8c_SrVw, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/o3fxkeYjC0bEFiXLFIGOGYrQaR8siYjezNpWpl6xtoU: created acme-client: https://127.0.0.1:14000/chalZ/gZSdfL7fSrZOVg1SAgUhfW-MEQ-j-3UMw40z8c_SrVw: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/kbSkWEsJCWKTxdfgzdVy35mi6M0a-cwb8f9Es0_WT-g acme-client: challenge, token: o3fxkeYjC0bEFiXLFIGOGYrQaR8siYjezNpWpl6xtoU, uri: https://127.0.0.1:14000/chalZ/gZSdfL7fSrZOVg1SAgUhfW-MEQ-j-3UMw40z8c_SrVw, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/yh43D1ii-ffJfVn9xQ_l8z5WljI8DrGpgl9aFW3PjVI: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6cfe0a17237df3e1: certificate account key: https://127.0.0.1:14000/my-account/5184d0d4842a2da1 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/5184d0d4842a2da1 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/5184d0d4842a2da1 acme-client: dochngreq: https://127.0.0.1:14000/authZ/4WrBcTgjdL76TwKsV6EskJdxPzaK9aYDbVA7iNPCiB0 acme-client: challenge, token: ZYQ2bBgXZG6kevdStce20zAjz-NJZ3JtbcasfLtNha8, uri: https://127.0.0.1:14000/chalZ/9AnGSuqG81uSbSokxk-7FJbPcWvmMKfZlaRNp2_x28c, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/ZYQ2bBgXZG6kevdStce20zAjz-NJZ3JtbcasfLtNha8: created acme-client: https://127.0.0.1:14000/chalZ/9AnGSuqG81uSbSokxk-7FJbPcWvmMKfZlaRNp2_x28c: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/4WrBcTgjdL76TwKsV6EskJdxPzaK9aYDbVA7iNPCiB0 acme-client: challenge, token: ZYQ2bBgXZG6kevdStce20zAjz-NJZ3JtbcasfLtNha8, uri: https://127.0.0.1:14000/chalZ/9AnGSuqG81uSbSokxk-7FJbPcWvmMKfZlaRNp2_x28c, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/yTFJNZYQL1fqizjB4E5PwQ2tYsPWINsq0PTOfG2hpAA: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/54e80aa89bbb92dd: 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/5184d0d4842a2da1 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/5184d0d4842a2da1 acme-client: dochngreq: https://127.0.0.1:14000/authZ/NMP1a6wt80FLnZfhevRkjRWNW50b9Z-bvExpYfzcAwA acme-client: challenge, token: rZ4lwxEkNBxdBGG8rzmer7eQ5JnhF4XtJrHmXPC_APo, uri: https://127.0.0.1:14000/chalZ/0c1_WYfPt3CILTmnB8fcHbuyY3J-E-mJ3HLqAvgC1dM, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/rZ4lwxEkNBxdBGG8rzmer7eQ5JnhF4XtJrHmXPC_APo: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/kxUDroBqwiHC_eIGlMpKhjFhLyMdKsvngWOy1n3oOK8 acme-client: challenge, token: QVFtTONVnLiR3egKJeuiLFR60Wg9zyEX-hEEwUcQ2jI, uri: https://127.0.0.1:14000/chalZ/ESra8Ugz7fuCLhoPNhbyH0iYR7b09On7TwLUDhR8NEs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/QVFtTONVnLiR3egKJeuiLFR60Wg9zyEX-hEEwUcQ2jI: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/kbSkWEsJCWKTxdfgzdVy35mi6M0a-cwb8f9Es0_WT-g acme-client: challenge, token: o3fxkeYjC0bEFiXLFIGOGYrQaR8siYjezNpWpl6xtoU, uri: https://127.0.0.1:14000/chalZ/gZSdfL7fSrZOVg1SAgUhfW-MEQ-j-3UMw40z8c_SrVw, status: 2 acme-client: https://127.0.0.1:14000/chalZ/0c1_WYfPt3CILTmnB8fcHbuyY3J-E-mJ3HLqAvgC1dM: challenge acme-client: https://127.0.0.1:14000/chalZ/ESra8Ugz7fuCLhoPNhbyH0iYR7b09On7TwLUDhR8NEs: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/NMP1a6wt80FLnZfhevRkjRWNW50b9Z-bvExpYfzcAwA acme-client: challenge, token: rZ4lwxEkNBxdBGG8rzmer7eQ5JnhF4XtJrHmXPC_APo, uri: https://127.0.0.1:14000/chalZ/0c1_WYfPt3CILTmnB8fcHbuyY3J-E-mJ3HLqAvgC1dM, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/kxUDroBqwiHC_eIGlMpKhjFhLyMdKsvngWOy1n3oOK8 acme-client: challenge, token: QVFtTONVnLiR3egKJeuiLFR60Wg9zyEX-hEEwUcQ2jI, uri: https://127.0.0.1:14000/chalZ/ESra8Ugz7fuCLhoPNhbyH0iYR7b09On7TwLUDhR8NEs, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/kbSkWEsJCWKTxdfgzdVy35mi6M0a-cwb8f9Es0_WT-g acme-client: challenge, token: o3fxkeYjC0bEFiXLFIGOGYrQaR8siYjezNpWpl6xtoU, uri: https://127.0.0.1:14000/chalZ/gZSdfL7fSrZOVg1SAgUhfW-MEQ-j-3UMw40z8c_SrVw, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/KrsmkRkBMr42pR5r-_dleUOwrCsvP3_FOoltxlAlgy4: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7f52df2ba2d1b1de: 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/5184d0d4842a2da1 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/5184d0d4842a2da1 acme-client: dochngreq: https://127.0.0.1:14000/authZ/2vC6GdnyOQaWOeR9EKgQg8LGN2iCPNPZ9ljXKp9Ry24 acme-client: challenge, token: a-_rOS-6amQmzZQVxN7owRztT_I2tV0gezq70dYx3iU, uri: https://127.0.0.1:14000/chalZ/HGKK03-iRU40FRrhsYKEFvx8f6TVFp0JnF9PV5KPbgc, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/a-_rOS-6amQmzZQVxN7owRztT_I2tV0gezq70dYx3iU: created acme-client: https://127.0.0.1:14000/chalZ/HGKK03-iRU40FRrhsYKEFvx8f6TVFp0JnF9PV5KPbgc: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/2vC6GdnyOQaWOeR9EKgQg8LGN2iCPNPZ9ljXKp9Ry24 acme-client: challenge, token: a-_rOS-6amQmzZQVxN7owRztT_I2tV0gezq70dYx3iU, uri: https://127.0.0.1:14000/chalZ/HGKK03-iRU40FRrhsYKEFvx8f6TVFp0JnF9PV5KPbgc, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/TJrNrPpIpJLLVYhJ1ZOXpZ764Gc8H_BP611RXPB8JOY: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/5b7da719223d0936: 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/5184d0d4842a2da1 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"