==== 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" 17072 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/70fc91dcde8f4341 acme-client: dochngreq: https://127.0.0.1:14000/authZ/jjmZzNdTYXiHkHxISImQNdgV-OFURVMOUIvd8sayR3g acme-client: challenge, token: BRxeigYbVXmspdRNrXBhbJCv0NRUnKw0w0Q8mCLfr3I, uri: https://127.0.0.1:14000/chalZ/PAfik5ohR1aRotqqcDIXnsgfWeTZvg5KQtcjWRC_-xY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/BRxeigYbVXmspdRNrXBhbJCv0NRUnKw0w0Q8mCLfr3I: created acme-client: https://127.0.0.1:14000/chalZ/PAfik5ohR1aRotqqcDIXnsgfWeTZvg5KQtcjWRC_-xY: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/jjmZzNdTYXiHkHxISImQNdgV-OFURVMOUIvd8sayR3g acme-client: challenge, token: BRxeigYbVXmspdRNrXBhbJCv0NRUnKw0w0Q8mCLfr3I, uri: https://127.0.0.1:14000/chalZ/PAfik5ohR1aRotqqcDIXnsgfWeTZvg5KQtcjWRC_-xY, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/44BcUMnpB0xa1r_mmmLPgoz17kzI8LU6GLLmipGl8Ok: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/3901590981d83259: certificate account key: https://127.0.0.1:14000/my-account/70fc91dcde8f4341 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/70fc91dcde8f4341 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/70fc91dcde8f4341 acme-client: dochngreq: https://127.0.0.1:14000/authZ/heAm00_bMCjoFZ5qVURN5u-G7xa5j1yKh-RjkyND65U acme-client: challenge, token: GiVTUS5EMdoxTLcc-ikgxoCDxw8DYuclVNKp2kwCfUo, uri: https://127.0.0.1:14000/chalZ/-WP4Ck6w28T8at7xbPGg3EEublUB9gC0NXYorjWpNsQ, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/GiVTUS5EMdoxTLcc-ikgxoCDxw8DYuclVNKp2kwCfUo: created acme-client: https://127.0.0.1:14000/chalZ/-WP4Ck6w28T8at7xbPGg3EEublUB9gC0NXYorjWpNsQ: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/heAm00_bMCjoFZ5qVURN5u-G7xa5j1yKh-RjkyND65U acme-client: challenge, token: GiVTUS5EMdoxTLcc-ikgxoCDxw8DYuclVNKp2kwCfUo, uri: https://127.0.0.1:14000/chalZ/-WP4Ck6w28T8at7xbPGg3EEublUB9gC0NXYorjWpNsQ, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/X58HWzCSoUUzSnzp6VDE8qvbpcM-bJ5tutLW2fvWEDw: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/43c7b6bc80bf970e: 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/70fc91dcde8f4341 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/70fc91dcde8f4341 acme-client: dochngreq: https://127.0.0.1:14000/authZ/2A4UszvuXBdsssBnDIePm1ULKTPg5AQMdWoCV5uObD4 acme-client: challenge, token: WdOXQxq1xgVma35RX0hvy9nWZmdEo9LP37hlLH5S9lg, uri: https://127.0.0.1:14000/chalZ/NTsHYYD9yfRm3uhbP65h2vGPuNAfWuKNigr2LetmhUc, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/WdOXQxq1xgVma35RX0hvy9nWZmdEo9LP37hlLH5S9lg: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/GQv9jhqPW1bnSsZ9emcKuvsfvctaRCM7ojhofqyu2wo acme-client: challenge, token: hFop3-PnakM2tT329jPjR499ifGqyitiYHgVIOLxRXQ, uri: https://127.0.0.1:14000/chalZ/NeHSjzkgF6ERzzKtJOPizB5G7i9pK3wTaIVdHA1UFBQ, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/hFop3-PnakM2tT329jPjR499ifGqyitiYHgVIOLxRXQ: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/oADDiB3PKaTfhU1tnsj7pBeGUQ6izy35ZGmhWxzjRf0 acme-client: challenge, token: guXiY59IltKMHjkK1tZQ_BDU2k5MeUJSo1qceV8M70Y, uri: https://127.0.0.1:14000/chalZ/ZSZEMkbOJamKK1EmTbk_hJcCO4QpLlvobJQl7lALVhU, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/guXiY59IltKMHjkK1tZQ_BDU2k5MeUJSo1qceV8M70Y: created acme-client: https://127.0.0.1:14000/chalZ/NTsHYYD9yfRm3uhbP65h2vGPuNAfWuKNigr2LetmhUc: challenge acme-client: https://127.0.0.1:14000/chalZ/NeHSjzkgF6ERzzKtJOPizB5G7i9pK3wTaIVdHA1UFBQ: challenge acme-client: https://127.0.0.1:14000/chalZ/ZSZEMkbOJamKK1EmTbk_hJcCO4QpLlvobJQl7lALVhU: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/2A4UszvuXBdsssBnDIePm1ULKTPg5AQMdWoCV5uObD4 acme-client: challenge, token: WdOXQxq1xgVma35RX0hvy9nWZmdEo9LP37hlLH5S9lg, uri: https://127.0.0.1:14000/chalZ/NTsHYYD9yfRm3uhbP65h2vGPuNAfWuKNigr2LetmhUc, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/GQv9jhqPW1bnSsZ9emcKuvsfvctaRCM7ojhofqyu2wo acme-client: challenge, token: hFop3-PnakM2tT329jPjR499ifGqyitiYHgVIOLxRXQ, uri: https://127.0.0.1:14000/chalZ/NeHSjzkgF6ERzzKtJOPizB5G7i9pK3wTaIVdHA1UFBQ, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/oADDiB3PKaTfhU1tnsj7pBeGUQ6izy35ZGmhWxzjRf0 acme-client: challenge, token: guXiY59IltKMHjkK1tZQ_BDU2k5MeUJSo1qceV8M70Y, uri: https://127.0.0.1:14000/chalZ/ZSZEMkbOJamKK1EmTbk_hJcCO4QpLlvobJQl7lALVhU, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/SU0dO99dUn1xOrbOMouUkWluQUmutTaaFRdQptELZoY: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/1961e0b78ff2d137: 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/70fc91dcde8f4341 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/70fc91dcde8f4341 acme-client: dochngreq: https://127.0.0.1:14000/authZ/5SCx9175UPYz3xjloghSjPS736EJPTgbnPqQi7PBBJM acme-client: challenge, token: COVNtHiClkCMNu5bB6qOEtiXgkE5JodM7fqQ6ljZe1E, uri: https://127.0.0.1:14000/chalZ/fOR8Lk-q9UL5Z73k5J1r5yTDH8y2MNkcdE9FiwruNbw, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/COVNtHiClkCMNu5bB6qOEtiXgkE5JodM7fqQ6ljZe1E: created acme-client: https://127.0.0.1:14000/chalZ/fOR8Lk-q9UL5Z73k5J1r5yTDH8y2MNkcdE9FiwruNbw: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/5SCx9175UPYz3xjloghSjPS736EJPTgbnPqQi7PBBJM acme-client: challenge, token: COVNtHiClkCMNu5bB6qOEtiXgkE5JodM7fqQ6ljZe1E, uri: https://127.0.0.1:14000/chalZ/fOR8Lk-q9UL5Z73k5J1r5yTDH8y2MNkcdE9FiwruNbw, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/6_Wl5NdliewjcAOT9_gJl496Joj8UhBont2iUbmNPn8: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/53a434fd7eea7101: 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/70fc91dcde8f4341 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"