==== 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" 93368 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/1404d45788ae20ff acme-client: dochngreq: https://127.0.0.1:14000/authZ/F8pGUUE_8C4Asv-D0ggBqLowR3DJa_WREPpMCEVhN_U acme-client: challenge, token: 3MUxXUP5JuR3NwkSwqaqQch2KHLj8VQxNi2HiJySMhY, uri: https://127.0.0.1:14000/chalZ/Brdlx90ZFnvLCqYZUOfDdglmOoS0WWZtBR0hbMv033A, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/3MUxXUP5JuR3NwkSwqaqQch2KHLj8VQxNi2HiJySMhY: created acme-client: https://127.0.0.1:14000/chalZ/Brdlx90ZFnvLCqYZUOfDdglmOoS0WWZtBR0hbMv033A: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/F8pGUUE_8C4Asv-D0ggBqLowR3DJa_WREPpMCEVhN_U acme-client: challenge, token: 3MUxXUP5JuR3NwkSwqaqQch2KHLj8VQxNi2HiJySMhY, uri: https://127.0.0.1:14000/chalZ/Brdlx90ZFnvLCqYZUOfDdglmOoS0WWZtBR0hbMv033A, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/2PyBZrJFqUuWLdv30o4oCabtHY8hubXJ6aKWteHY14w: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/723d6c1b89a39d31: certificate account key: https://127.0.0.1:14000/my-account/1404d45788ae20ff 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/1404d45788ae20ff 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/1404d45788ae20ff acme-client: dochngreq: https://127.0.0.1:14000/authZ/mkjpqQ_bSG9j6GG4YMx5U7wW_pnnp9YHFSS2rNGnU8I acme-client: challenge, token: uNg1t-R-mMzRwMLs_eRBGh6sgC2lvq5Tjj-NpSaYTuA, uri: https://127.0.0.1:14000/chalZ/m0SXvflR50QXnhGkYxHRM_jSXAKA0I8_sgGEQ49d0Rw, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/uNg1t-R-mMzRwMLs_eRBGh6sgC2lvq5Tjj-NpSaYTuA: created acme-client: https://127.0.0.1:14000/chalZ/m0SXvflR50QXnhGkYxHRM_jSXAKA0I8_sgGEQ49d0Rw: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/mkjpqQ_bSG9j6GG4YMx5U7wW_pnnp9YHFSS2rNGnU8I acme-client: challenge, token: uNg1t-R-mMzRwMLs_eRBGh6sgC2lvq5Tjj-NpSaYTuA, uri: https://127.0.0.1:14000/chalZ/m0SXvflR50QXnhGkYxHRM_jSXAKA0I8_sgGEQ49d0Rw, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/zvBU_06QN0xBQgdEsh9vVN1jhKkI8JstAhW130Me9J4: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/3cdd364698f79e4c: 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/1404d45788ae20ff 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/1404d45788ae20ff acme-client: dochngreq: https://127.0.0.1:14000/authZ/Jz3ZHTbY8HdWWbS1Ixgr4z6vOBkRhaF8JvQbaao1mKU acme-client: challenge, token: JgbUY2Qce8EvwXnGR6CFsHp54f_aczrCRyC9nJAI9Yc, uri: https://127.0.0.1:14000/chalZ/NCAuBhOE8bUqPu78EXKhnahUD17aedS4PUhSuLL_3WE, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/JgbUY2Qce8EvwXnGR6CFsHp54f_aczrCRyC9nJAI9Yc: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/xn9VQ9Y4XQjHUSaPu2lz_doPMAZCKOtBNEiR0hT6TLA acme-client: challenge, token: QwqC9lcjR4vFTu49ugb3Y0jeCC_yzfF4x2W0TKLl07s, uri: https://127.0.0.1:14000/chalZ/QhNCSsUpBbcWeoTvOw_D0oIQd1zGSAeq5Kv1N52FHyo, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/QwqC9lcjR4vFTu49ugb3Y0jeCC_yzfF4x2W0TKLl07s: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/F8pGUUE_8C4Asv-D0ggBqLowR3DJa_WREPpMCEVhN_U acme-client: challenge, token: 3MUxXUP5JuR3NwkSwqaqQch2KHLj8VQxNi2HiJySMhY, uri: https://127.0.0.1:14000/chalZ/Brdlx90ZFnvLCqYZUOfDdglmOoS0WWZtBR0hbMv033A, status: 2 acme-client: https://127.0.0.1:14000/chalZ/NCAuBhOE8bUqPu78EXKhnahUD17aedS4PUhSuLL_3WE: challenge acme-client: https://127.0.0.1:14000/chalZ/QhNCSsUpBbcWeoTvOw_D0oIQd1zGSAeq5Kv1N52FHyo: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Jz3ZHTbY8HdWWbS1Ixgr4z6vOBkRhaF8JvQbaao1mKU acme-client: challenge, token: JgbUY2Qce8EvwXnGR6CFsHp54f_aczrCRyC9nJAI9Yc, uri: https://127.0.0.1:14000/chalZ/NCAuBhOE8bUqPu78EXKhnahUD17aedS4PUhSuLL_3WE, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/xn9VQ9Y4XQjHUSaPu2lz_doPMAZCKOtBNEiR0hT6TLA acme-client: challenge, token: QwqC9lcjR4vFTu49ugb3Y0jeCC_yzfF4x2W0TKLl07s, uri: https://127.0.0.1:14000/chalZ/QhNCSsUpBbcWeoTvOw_D0oIQd1zGSAeq5Kv1N52FHyo, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/F8pGUUE_8C4Asv-D0ggBqLowR3DJa_WREPpMCEVhN_U acme-client: challenge, token: 3MUxXUP5JuR3NwkSwqaqQch2KHLj8VQxNi2HiJySMhY, uri: https://127.0.0.1:14000/chalZ/Brdlx90ZFnvLCqYZUOfDdglmOoS0WWZtBR0hbMv033A, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/Z3uUYYTghOmkvdmZl2iNI0-FhBnl-sZiMOo24U7Tv8Q: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/65735e1651e2b698: 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/1404d45788ae20ff 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/1404d45788ae20ff acme-client: dochngreq: https://127.0.0.1:14000/authZ/sBsXwsqbvyaGLjraOaaGjVJvwRJERayHSJvIVo3l-jk acme-client: challenge, token: a05tszvYlEoiWNPsjn40ezJtxLhnov34JBIQN41AqTc, uri: https://127.0.0.1:14000/chalZ/OYpSxzRBNzevkoYStwzC2nfWdeYzavRwFVrTqQptjSY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/a05tszvYlEoiWNPsjn40ezJtxLhnov34JBIQN41AqTc: created acme-client: https://127.0.0.1:14000/chalZ/OYpSxzRBNzevkoYStwzC2nfWdeYzavRwFVrTqQptjSY: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/sBsXwsqbvyaGLjraOaaGjVJvwRJERayHSJvIVo3l-jk acme-client: challenge, token: a05tszvYlEoiWNPsjn40ezJtxLhnov34JBIQN41AqTc, uri: https://127.0.0.1:14000/chalZ/OYpSxzRBNzevkoYStwzC2nfWdeYzavRwFVrTqQptjSY, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/KTuyl2XD41UILh2d_0OQLJrnw0uJ91IGfV-OuLSCl_c: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/63829594adbe0dd6: 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/1404d45788ae20ff 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/20a7f3e405bd3f54 acme-client: dochngreq: https://127.0.0.1:14001/authZ/ko8hVUcxfLrUUXQjbLzD1zsYVkjup77osrm80Z4FlGE acme-client: challenge, token: b3nfERCS7QvQMPlMIe2BKraW5rKtk81HzasH50QbdPw, uri: https://127.0.0.1:14001/chalZ/znctQ7MDCgobs__fjLkbVqmhHWzrAbqG0oyKXLRuJq8, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/b3nfERCS7QvQMPlMIe2BKraW5rKtk81HzasH50QbdPw: created acme-client: https://127.0.0.1:14001/chalZ/znctQ7MDCgobs__fjLkbVqmhHWzrAbqG0oyKXLRuJq8: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/ko8hVUcxfLrUUXQjbLzD1zsYVkjup77osrm80Z4FlGE acme-client: challenge, token: b3nfERCS7QvQMPlMIe2BKraW5rKtk81HzasH50QbdPw, uri: https://127.0.0.1:14001/chalZ/znctQ7MDCgobs__fjLkbVqmhHWzrAbqG0oyKXLRuJq8, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/mEjBgzDUg8Pux-spSt3XSv-oWZpeVQf6iNiaDvgvQYo: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/31ed419f6ed681b9: certificate account key: https://127.0.0.1:14001/my-account/20a7f3e405bd3f54 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"