==== 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" 77586 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/55d9dbaad4aa35ab acme-client: dochngreq: https://127.0.0.1:14000/authZ/zoz_dYLSR9dEXspDL8UWID3h29Qe4dslTjg9gPNeRcQ acme-client: challenge, token: 1heebV9mrYW_GYDWgTtp0XekO-m9JTUGaAV6te5hPmw, uri: https://127.0.0.1:14000/chalZ/m4faZajxE3ZVPVKaEplj51WhZMe5st0bwv1E_L8jBWM, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/1heebV9mrYW_GYDWgTtp0XekO-m9JTUGaAV6te5hPmw: created acme-client: https://127.0.0.1:14000/chalZ/m4faZajxE3ZVPVKaEplj51WhZMe5st0bwv1E_L8jBWM: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/zoz_dYLSR9dEXspDL8UWID3h29Qe4dslTjg9gPNeRcQ acme-client: challenge, token: 1heebV9mrYW_GYDWgTtp0XekO-m9JTUGaAV6te5hPmw, uri: https://127.0.0.1:14000/chalZ/m4faZajxE3ZVPVKaEplj51WhZMe5st0bwv1E_L8jBWM, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/_t0fXgD7xxUZY7Bgs10EbHJ8WhdwrDtk61CFcUDK2EI: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/4055154355187181: certificate account key: https://127.0.0.1:14000/my-account/55d9dbaad4aa35ab 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/55d9dbaad4aa35ab 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/55d9dbaad4aa35ab acme-client: dochngreq: https://127.0.0.1:14000/authZ/ldAZJ7g8cV-UPIQH1WO77JF6zGMqZPcZtqMVG_-rXjU acme-client: challenge, token: tSefCyv-3-6ELKUlQFSeCV10bj-NtdjHYYBgqCWjFpY, uri: https://127.0.0.1:14000/chalZ/D22n7pHynZlDL7n3axi_jCYhAFH0NYbfOksBL6WBZVw, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/tSefCyv-3-6ELKUlQFSeCV10bj-NtdjHYYBgqCWjFpY: created acme-client: https://127.0.0.1:14000/chalZ/D22n7pHynZlDL7n3axi_jCYhAFH0NYbfOksBL6WBZVw: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/ldAZJ7g8cV-UPIQH1WO77JF6zGMqZPcZtqMVG_-rXjU acme-client: challenge, token: tSefCyv-3-6ELKUlQFSeCV10bj-NtdjHYYBgqCWjFpY, uri: https://127.0.0.1:14000/chalZ/D22n7pHynZlDL7n3axi_jCYhAFH0NYbfOksBL6WBZVw, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/qigA07icdJFndmAqkhwWVOie4YGdVxJ-C-wbPF6HRwQ: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/043c998b7bfa5e1e: 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/55d9dbaad4aa35ab 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/55d9dbaad4aa35ab acme-client: dochngreq: https://127.0.0.1:14000/authZ/r3B775B5CsbKINVTjz2lwI64NjkrIHhg642mEn-sXqE acme-client: challenge, token: SpxPCrDpm4jCn53tKre4IUSG4qlftNT0AcxgWfitj0w, uri: https://127.0.0.1:14000/chalZ/KNCXQRhzk1kV_XIiD7J4uGEC5FdPxFQSL4qoQHERHuY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/SpxPCrDpm4jCn53tKre4IUSG4qlftNT0AcxgWfitj0w: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/XppkB7J7xPNed4urPXW3h_DD7-JET1HygiCzkHQrL1k acme-client: challenge, token: 2wyYAyXsIL3rretjVG7XdcG-goh6aBWxFoy_w9E4FTs, uri: https://127.0.0.1:14000/chalZ/CZFNqdBOnghrhOLfj6A3f7JwFfbWGGh5AqUs9gvz9Ro, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/2wyYAyXsIL3rretjVG7XdcG-goh6aBWxFoy_w9E4FTs: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/GpHL85_DDrx__Vpki3s6afyHfdxM3kRVQAACi8TAPnk acme-client: challenge, token: SZuVblq6aD403ONQeeZShufx9zYikzCMxCACnVtpPBI, uri: https://127.0.0.1:14000/chalZ/25Xv96K7w91OIwY62X16Pil2MerCaWdu0LD_-G6y-A0, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/SZuVblq6aD403ONQeeZShufx9zYikzCMxCACnVtpPBI: created acme-client: https://127.0.0.1:14000/chalZ/KNCXQRhzk1kV_XIiD7J4uGEC5FdPxFQSL4qoQHERHuY: challenge acme-client: https://127.0.0.1:14000/chalZ/CZFNqdBOnghrhOLfj6A3f7JwFfbWGGh5AqUs9gvz9Ro: challenge acme-client: https://127.0.0.1:14000/chalZ/25Xv96K7w91OIwY62X16Pil2MerCaWdu0LD_-G6y-A0: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/r3B775B5CsbKINVTjz2lwI64NjkrIHhg642mEn-sXqE acme-client: challenge, token: SpxPCrDpm4jCn53tKre4IUSG4qlftNT0AcxgWfitj0w, uri: https://127.0.0.1:14000/chalZ/KNCXQRhzk1kV_XIiD7J4uGEC5FdPxFQSL4qoQHERHuY, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/XppkB7J7xPNed4urPXW3h_DD7-JET1HygiCzkHQrL1k acme-client: challenge, token: 2wyYAyXsIL3rretjVG7XdcG-goh6aBWxFoy_w9E4FTs, uri: https://127.0.0.1:14000/chalZ/CZFNqdBOnghrhOLfj6A3f7JwFfbWGGh5AqUs9gvz9Ro, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/GpHL85_DDrx__Vpki3s6afyHfdxM3kRVQAACi8TAPnk acme-client: challenge, token: SZuVblq6aD403ONQeeZShufx9zYikzCMxCACnVtpPBI, uri: https://127.0.0.1:14000/chalZ/25Xv96K7w91OIwY62X16Pil2MerCaWdu0LD_-G6y-A0, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/djW8FC3HaXcnYd6JLDjpNpXTf3ajuN7SeN1HwdFhvUE: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/1fcdf9fbad4f144d: 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/55d9dbaad4aa35ab 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/55d9dbaad4aa35ab acme-client: dochngreq: https://127.0.0.1:14000/authZ/y5f0ajprOkNgS35clgNbqG2kA3NWWWfowGtb5DUEj9o acme-client: challenge, token: DtAPUVyhqjWwbh9_Cu3Nz0yg5ABZSvGDNXFOoDIlFNk, uri: https://127.0.0.1:14000/chalZ/pfurpep8B5th1KtABNsmUeXdyNNwKXRZeFWMHoCWWl4, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/DtAPUVyhqjWwbh9_Cu3Nz0yg5ABZSvGDNXFOoDIlFNk: created acme-client: https://127.0.0.1:14000/chalZ/pfurpep8B5th1KtABNsmUeXdyNNwKXRZeFWMHoCWWl4: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/y5f0ajprOkNgS35clgNbqG2kA3NWWWfowGtb5DUEj9o acme-client: challenge, token: DtAPUVyhqjWwbh9_Cu3Nz0yg5ABZSvGDNXFOoDIlFNk, uri: https://127.0.0.1:14000/chalZ/pfurpep8B5th1KtABNsmUeXdyNNwKXRZeFWMHoCWWl4, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/EbPBtOmlFVkmXbxMPpGLQfHtYsXqx-C4qdJCUhIzqZ0: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/38be9e9ac24f8c58: 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/55d9dbaad4aa35ab 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"