==== 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" 46372 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/76a4278a4e78be68 acme-client: dochngreq: https://127.0.0.1:14000/authZ/CeGgSddaUVXhfw8X32H354n35dXVoFdRlHPKE3EajRU acme-client: challenge, token: QB4lqm06wqtJGP6_XH5a25onBSO_R-dMRr7zHxpPhME, uri: https://127.0.0.1:14000/chalZ/mQlKv3O5MKM8NDhJgeqBGr4w0RGmlp_hJGjnNgkvhjc, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/QB4lqm06wqtJGP6_XH5a25onBSO_R-dMRr7zHxpPhME: created acme-client: https://127.0.0.1:14000/chalZ/mQlKv3O5MKM8NDhJgeqBGr4w0RGmlp_hJGjnNgkvhjc: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/CeGgSddaUVXhfw8X32H354n35dXVoFdRlHPKE3EajRU acme-client: challenge, token: QB4lqm06wqtJGP6_XH5a25onBSO_R-dMRr7zHxpPhME, uri: https://127.0.0.1:14000/chalZ/mQlKv3O5MKM8NDhJgeqBGr4w0RGmlp_hJGjnNgkvhjc, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/mY5uB6Tr7kXsPAz12QPqjGq5WFWdI3hhr0sNN8GU6is: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6726c3fdce2385fb: certificate account key: https://127.0.0.1:14000/my-account/76a4278a4e78be68 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/76a4278a4e78be68 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/76a4278a4e78be68 acme-client: dochngreq: https://127.0.0.1:14000/authZ/-nY27an3po3J0-y2jlapvETWk0yeu8p7-KIoeHTilTc acme-client: challenge, token: Szl2BqJV3aO8L3DotXyMPA9hMc6aq82Wd-pCg4XPWTQ, uri: https://127.0.0.1:14000/chalZ/sH6SujXTAc5Oi5fDWk1qEn6TvGKbV9CDM3HwIpM5BXI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Szl2BqJV3aO8L3DotXyMPA9hMc6aq82Wd-pCg4XPWTQ: created acme-client: https://127.0.0.1:14000/chalZ/sH6SujXTAc5Oi5fDWk1qEn6TvGKbV9CDM3HwIpM5BXI: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/-nY27an3po3J0-y2jlapvETWk0yeu8p7-KIoeHTilTc acme-client: challenge, token: Szl2BqJV3aO8L3DotXyMPA9hMc6aq82Wd-pCg4XPWTQ, uri: https://127.0.0.1:14000/chalZ/sH6SujXTAc5Oi5fDWk1qEn6TvGKbV9CDM3HwIpM5BXI, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/6uj7_CKon_EvNR51iZmWWCsU9DUXocgcLwOCvqFjxL8: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/2d47e9bb2646d26c: 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/76a4278a4e78be68 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/76a4278a4e78be68 acme-client: dochngreq: https://127.0.0.1:14000/authZ/e7W3BoiaLnbBboxAMIItR5N-QaSG4A8e3rnIlWpLmmY acme-client: challenge, token: g5VwD7I4hxhA8SjTlfVytej922cCTX7OFeOcyDfswJQ, uri: https://127.0.0.1:14000/chalZ/lc26DZGSngMLyFJPtjnLe6nUilAk98ZNkuhEJUAUi28, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/g5VwD7I4hxhA8SjTlfVytej922cCTX7OFeOcyDfswJQ: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/W_2jJtXdOyekm3FgCtTEM9XWpwmeOquKeUKCZL7Ov4U acme-client: challenge, token: 1xET6T4rU1CfoZ00r7fXcuSBuR0iy-WzeIFX-jLk1oY, uri: https://127.0.0.1:14000/chalZ/uES4PzycDdMtGHqttRayWPB2lg_nDEB75KQ51Oz6bqk, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/1xET6T4rU1CfoZ00r7fXcuSBuR0iy-WzeIFX-jLk1oY: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/xTSxSCn-zhWy2JKA01wleD2IyroGFTbE73laIHWNil8 acme-client: challenge, token: F5gRwlTQYT10eGNUKa3Rg-sKI97znUO86M8zJz3yvkA, uri: https://127.0.0.1:14000/chalZ/H6DZ93y_I3qHLkCtMWf-Sjci9tc60un-PjHut2a94g4, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/F5gRwlTQYT10eGNUKa3Rg-sKI97znUO86M8zJz3yvkA: created acme-client: https://127.0.0.1:14000/chalZ/lc26DZGSngMLyFJPtjnLe6nUilAk98ZNkuhEJUAUi28: challenge acme-client: https://127.0.0.1:14000/chalZ/uES4PzycDdMtGHqttRayWPB2lg_nDEB75KQ51Oz6bqk: challenge acme-client: https://127.0.0.1:14000/chalZ/H6DZ93y_I3qHLkCtMWf-Sjci9tc60un-PjHut2a94g4: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/e7W3BoiaLnbBboxAMIItR5N-QaSG4A8e3rnIlWpLmmY acme-client: challenge, token: g5VwD7I4hxhA8SjTlfVytej922cCTX7OFeOcyDfswJQ, uri: https://127.0.0.1:14000/chalZ/lc26DZGSngMLyFJPtjnLe6nUilAk98ZNkuhEJUAUi28, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/W_2jJtXdOyekm3FgCtTEM9XWpwmeOquKeUKCZL7Ov4U acme-client: challenge, token: 1xET6T4rU1CfoZ00r7fXcuSBuR0iy-WzeIFX-jLk1oY, uri: https://127.0.0.1:14000/chalZ/uES4PzycDdMtGHqttRayWPB2lg_nDEB75KQ51Oz6bqk, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/xTSxSCn-zhWy2JKA01wleD2IyroGFTbE73laIHWNil8 acme-client: challenge, token: F5gRwlTQYT10eGNUKa3Rg-sKI97znUO86M8zJz3yvkA, uri: https://127.0.0.1:14000/chalZ/H6DZ93y_I3qHLkCtMWf-Sjci9tc60un-PjHut2a94g4, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/rTjcmVJlLoWMPXlH3js3pc0pJObzRFdmx3_UOTRMcA8: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/59041b204ad3146b: 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/76a4278a4e78be68 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/76a4278a4e78be68 acme-client: dochngreq: https://127.0.0.1:14000/authZ/mDVTc06MQqWZeKlWlgmmt-p11RfSRbPF3UGnolVoA5M acme-client: challenge, token: 9pUSjGiY3mkTs5z6K99xKL3M_sAHESiMW3CDtdbMYE0, uri: https://127.0.0.1:14000/chalZ/yXUd2wNy3Wnf6Lmd6YKBlai95dMcseY0pweyOtgvKEE, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/9pUSjGiY3mkTs5z6K99xKL3M_sAHESiMW3CDtdbMYE0: created acme-client: https://127.0.0.1:14000/chalZ/yXUd2wNy3Wnf6Lmd6YKBlai95dMcseY0pweyOtgvKEE: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/mDVTc06MQqWZeKlWlgmmt-p11RfSRbPF3UGnolVoA5M acme-client: challenge, token: 9pUSjGiY3mkTs5z6K99xKL3M_sAHESiMW3CDtdbMYE0, uri: https://127.0.0.1:14000/chalZ/yXUd2wNy3Wnf6Lmd6YKBlai95dMcseY0pweyOtgvKEE, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/yarjHYmH2JrzWwS8l7nAHBfhib3gbYpk_0SyCuZ62Aw: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7e54ef099d3a3213: 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/76a4278a4e78be68 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/1dfe5a0a2f28218f acme-client: dochngreq: https://127.0.0.1:14001/authZ/3jc_qewlgL6r1WNk-rp2eAC89q8CMSglzRGepBasWiI acme-client: challenge, token: tvCVQKRqrPBgr-1enpWL86bu87m3BOqje5jVFzmEY40, uri: https://127.0.0.1:14001/chalZ/fpfTPo-6yn_pFfVOBvLC_sfVGGpOvVVqh0eL5fZo6Wo, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/tvCVQKRqrPBgr-1enpWL86bu87m3BOqje5jVFzmEY40: created acme-client: https://127.0.0.1:14001/chalZ/fpfTPo-6yn_pFfVOBvLC_sfVGGpOvVVqh0eL5fZo6Wo: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/3jc_qewlgL6r1WNk-rp2eAC89q8CMSglzRGepBasWiI acme-client: challenge, token: tvCVQKRqrPBgr-1enpWL86bu87m3BOqje5jVFzmEY40, uri: https://127.0.0.1:14001/chalZ/fpfTPo-6yn_pFfVOBvLC_sfVGGpOvVVqh0eL5fZo6Wo, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/XsLorYI4UQdrh-qYj66q_jDvB_M85NIfgUyF69z1D7U: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/536e3584b94f4560: certificate account key: https://127.0.0.1:14001/my-account/1dfe5a0a2f28218f 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"