==== 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" 5633 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/9dc92df029796b0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/YSWX3TPn3d9ZpBVn62_Au7amhW7vW5rBnQs7GUSznMU acme-client: challenge, token: FFNhAVy3iPCHKAe5-k2myzYAh-JBy-8H6d5iFEZ0XyQ, uri: https://127.0.0.1:14000/chalZ/WDNFROqR0j737uq1MnhoDou0yrBfZHkk_oGAZs-Umpw, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/FFNhAVy3iPCHKAe5-k2myzYAh-JBy-8H6d5iFEZ0XyQ: created acme-client: https://127.0.0.1:14000/chalZ/WDNFROqR0j737uq1MnhoDou0yrBfZHkk_oGAZs-Umpw: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/YSWX3TPn3d9ZpBVn62_Au7amhW7vW5rBnQs7GUSznMU acme-client: challenge, token: FFNhAVy3iPCHKAe5-k2myzYAh-JBy-8H6d5iFEZ0XyQ, uri: https://127.0.0.1:14000/chalZ/WDNFROqR0j737uq1MnhoDou0yrBfZHkk_oGAZs-Umpw, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/atmq7puUzRMsEWDDF9ObR7o3jJunkfDf28kGxoG4CoU: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/3015e3c2f2dbc6: certificate account key: https://127.0.0.1:14000/my-account/9dc92df029796b0 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/9dc92df029796b0 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/9dc92df029796b0 acme-client: https://127.0.0.1:14000/finalize-order/oEbjxvSn1swMBwweKjzpetFpgbCcBV0ZKblyNa4TAxo: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/43d6cc87ca3832b4: 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/9dc92df029796b0 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/9dc92df029796b0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/c6j19imuHFgjuzEM878JYO6RKrDLz6qHDSgx-DUZYtA acme-client: challenge, token: E_ADXV9NJaLyz4-LuMeB1HUpQRHaBBJxtHauGWfZXnA, uri: https://127.0.0.1:14000/chalZ/-FT62p1JqlPhGozIpHq9Nrap3aO5vGesiyXvmMEofSg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/E_ADXV9NJaLyz4-LuMeB1HUpQRHaBBJxtHauGWfZXnA: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/5GhhqmMHl23HaKZrI5Y-vWauDPkQtaInac5baYdvj6c acme-client: challenge, token: kUp4vPrL6zgM1qkxGPgpoyAFnMIdBgsW1HxfMMJwC6k, uri: https://127.0.0.1:14000/chalZ/mo7s-8ArPnFAfoiI3vm65d3x6uzSJH-CWC9PdSuCS-U, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/kUp4vPrL6zgM1qkxGPgpoyAFnMIdBgsW1HxfMMJwC6k: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/VtvmanKJKpxTmN4gl53atb2FoyEbQ63EWpn7eGWTrPw acme-client: challenge, token: CeBlmtWfe8zw7JxwQbBESlD08I7xrl0VYilr_KWojok, uri: https://127.0.0.1:14000/chalZ/TFaberfpJ7Zg9BvCPdQSBg2N5Z1XgCbYbGed_6TJTQI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/CeBlmtWfe8zw7JxwQbBESlD08I7xrl0VYilr_KWojok: created acme-client: https://127.0.0.1:14000/chalZ/-FT62p1JqlPhGozIpHq9Nrap3aO5vGesiyXvmMEofSg: challenge acme-client: https://127.0.0.1:14000/chalZ/mo7s-8ArPnFAfoiI3vm65d3x6uzSJH-CWC9PdSuCS-U: challenge acme-client: https://127.0.0.1:14000/chalZ/TFaberfpJ7Zg9BvCPdQSBg2N5Z1XgCbYbGed_6TJTQI: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/c6j19imuHFgjuzEM878JYO6RKrDLz6qHDSgx-DUZYtA acme-client: challenge, token: E_ADXV9NJaLyz4-LuMeB1HUpQRHaBBJxtHauGWfZXnA, uri: https://127.0.0.1:14000/chalZ/-FT62p1JqlPhGozIpHq9Nrap3aO5vGesiyXvmMEofSg, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/5GhhqmMHl23HaKZrI5Y-vWauDPkQtaInac5baYdvj6c acme-client: challenge, token: kUp4vPrL6zgM1qkxGPgpoyAFnMIdBgsW1HxfMMJwC6k, uri: https://127.0.0.1:14000/chalZ/mo7s-8ArPnFAfoiI3vm65d3x6uzSJH-CWC9PdSuCS-U, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/VtvmanKJKpxTmN4gl53atb2FoyEbQ63EWpn7eGWTrPw acme-client: challenge, token: CeBlmtWfe8zw7JxwQbBESlD08I7xrl0VYilr_KWojok, uri: https://127.0.0.1:14000/chalZ/TFaberfpJ7Zg9BvCPdQSBg2N5Z1XgCbYbGed_6TJTQI, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/BPodUaUVZf9Bkvg77YcZpdk-_jteASoPAwT7M_ea3Sk: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0637905c6ac06681: 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/9dc92df029796b0 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/9dc92df029796b0 acme-client: https://127.0.0.1:14000/finalize-order/fEWeDwga9lMI_-fZOImRtu2desOzxnPs0Vq8qQuk1r4: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7cdcaec9c84c29da: 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/9dc92df029796b0 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/271fc2c6e62cfb1 acme-client: dochngreq: https://127.0.0.1:14001/authZ/DEdhBS4gssp_Axhgpn8xbib7htcQB1tdjcL2u2RcaUM acme-client: challenge, token: eprvuSR0uu7ulYYINEFFUuHlLM2-W6kXh4pN01ISW6I, uri: https://127.0.0.1:14001/chalZ/WPcdFRKT_-WAJdLXwhf6x8B3tiOfekfrYOKa47InuQM, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/eprvuSR0uu7ulYYINEFFUuHlLM2-W6kXh4pN01ISW6I: created acme-client: https://127.0.0.1:14001/chalZ/WPcdFRKT_-WAJdLXwhf6x8B3tiOfekfrYOKa47InuQM: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/DEdhBS4gssp_Axhgpn8xbib7htcQB1tdjcL2u2RcaUM acme-client: challenge, token: eprvuSR0uu7ulYYINEFFUuHlLM2-W6kXh4pN01ISW6I, uri: https://127.0.0.1:14001/chalZ/WPcdFRKT_-WAJdLXwhf6x8B3tiOfekfrYOKa47InuQM, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/_KtFwYkklXy2gwB3Aap8yF4M9wgzSZOrhD0Dc8HWTE8: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/2dfea54413237fa4: certificate account key: https://127.0.0.1:14001/my-account/271fc2c6e62cfb1 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"