==== 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" 5359 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/35a7957805b3212a acme-client: dochngreq: https://127.0.0.1:14000/authZ/7K9VkQETIlCUlPo37fchM6KxjL6fBoJr1Jq24ZigTRM acme-client: challenge, token: LO2OILBTrDHoJTXnpHw8B16nAuz2YTgR8q3O7vT9GmU, uri: https://127.0.0.1:14000/chalZ/3o1QGOLSkPRHzPfaEnR1ytJ6zVE3ZcVmNAsOL9Wl3YE, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/LO2OILBTrDHoJTXnpHw8B16nAuz2YTgR8q3O7vT9GmU: created acme-client: https://127.0.0.1:14000/chalZ/3o1QGOLSkPRHzPfaEnR1ytJ6zVE3ZcVmNAsOL9Wl3YE: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/7K9VkQETIlCUlPo37fchM6KxjL6fBoJr1Jq24ZigTRM acme-client: challenge, token: LO2OILBTrDHoJTXnpHw8B16nAuz2YTgR8q3O7vT9GmU, uri: https://127.0.0.1:14000/chalZ/3o1QGOLSkPRHzPfaEnR1ytJ6zVE3ZcVmNAsOL9Wl3YE, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/NY9l9Mdv0df6W608zYqyUMbEfBVaiXZ1rM_7G_xdjuI: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/65b13175c84a3563: certificate account key: https://127.0.0.1:14000/my-account/35a7957805b3212a 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/35a7957805b3212a 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/35a7957805b3212a acme-client: dochngreq: https://127.0.0.1:14000/authZ/XGa4UWxdw0-7R6mKtnDXnpSvem8A92G8UpZ5h2zviWs acme-client: challenge, token: 1s_w5sRjBFeG0gLXe765HoQVtFAV_E9FhvEcv5W2RjU, uri: https://127.0.0.1:14000/chalZ/lplDfg85bBdAR3qVlvlvMIhqcxdtIr3H3SGzQ_M-24I, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/1s_w5sRjBFeG0gLXe765HoQVtFAV_E9FhvEcv5W2RjU: created acme-client: https://127.0.0.1:14000/chalZ/lplDfg85bBdAR3qVlvlvMIhqcxdtIr3H3SGzQ_M-24I: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/XGa4UWxdw0-7R6mKtnDXnpSvem8A92G8UpZ5h2zviWs acme-client: challenge, token: 1s_w5sRjBFeG0gLXe765HoQVtFAV_E9FhvEcv5W2RjU, uri: https://127.0.0.1:14000/chalZ/lplDfg85bBdAR3qVlvlvMIhqcxdtIr3H3SGzQ_M-24I, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/yJESpZc8GNZK4DciW_jt8tzcCTyQZGLszXdZrgNYyjU: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6f8470fa0ff3c08c: 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/35a7957805b3212a 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/35a7957805b3212a acme-client: dochngreq: https://127.0.0.1:14000/authZ/NFD0Ju_VHqP7xQvDmLMXUvvJCFXG6BNkM2v6rVR8u1w acme-client: challenge, token: 9zIvvFuKrHJSRJUli_nGXNASD3MnNgTnprt4bUtiv_w, uri: https://127.0.0.1:14000/chalZ/6zkKNa2pPffElpclIUcvqPr39Ki7Mi8fqmudI41xZa0, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/9zIvvFuKrHJSRJUli_nGXNASD3MnNgTnprt4bUtiv_w: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/7K9VkQETIlCUlPo37fchM6KxjL6fBoJr1Jq24ZigTRM acme-client: challenge, token: LO2OILBTrDHoJTXnpHw8B16nAuz2YTgR8q3O7vT9GmU, uri: https://127.0.0.1:14000/chalZ/3o1QGOLSkPRHzPfaEnR1ytJ6zVE3ZcVmNAsOL9Wl3YE, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/KX9CwIROlKwENltI-Nri7Wws3OWlLWeUSZvEUtKQsLw acme-client: challenge, token: nwAHrPBMiZ0IkcFslJps7SR9mrQUflqD35bsK3PREYM, uri: https://127.0.0.1:14000/chalZ/iJkHCtTPeRe_c6mlODWJlOFtglhlb3FQgah7zbCZvaU, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/nwAHrPBMiZ0IkcFslJps7SR9mrQUflqD35bsK3PREYM: created acme-client: https://127.0.0.1:14000/chalZ/6zkKNa2pPffElpclIUcvqPr39Ki7Mi8fqmudI41xZa0: challenge acme-client: https://127.0.0.1:14000/chalZ/iJkHCtTPeRe_c6mlODWJlOFtglhlb3FQgah7zbCZvaU: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/NFD0Ju_VHqP7xQvDmLMXUvvJCFXG6BNkM2v6rVR8u1w acme-client: challenge, token: 9zIvvFuKrHJSRJUli_nGXNASD3MnNgTnprt4bUtiv_w, uri: https://127.0.0.1:14000/chalZ/6zkKNa2pPffElpclIUcvqPr39Ki7Mi8fqmudI41xZa0, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/7K9VkQETIlCUlPo37fchM6KxjL6fBoJr1Jq24ZigTRM acme-client: challenge, token: LO2OILBTrDHoJTXnpHw8B16nAuz2YTgR8q3O7vT9GmU, uri: https://127.0.0.1:14000/chalZ/3o1QGOLSkPRHzPfaEnR1ytJ6zVE3ZcVmNAsOL9Wl3YE, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/KX9CwIROlKwENltI-Nri7Wws3OWlLWeUSZvEUtKQsLw acme-client: challenge, token: nwAHrPBMiZ0IkcFslJps7SR9mrQUflqD35bsK3PREYM, uri: https://127.0.0.1:14000/chalZ/iJkHCtTPeRe_c6mlODWJlOFtglhlb3FQgah7zbCZvaU, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/5p4eaUlG5H4EFavTn9lv6nb9uIVeWve5NOm7cHCqAV8: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/381e83e4dcab4a9c: 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/35a7957805b3212a 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/35a7957805b3212a acme-client: dochngreq: https://127.0.0.1:14000/authZ/5bFJgInhwnUpgp9wdoTOuP-F9Kfmiko6LQnu4nghQBM acme-client: challenge, token: l3qEWYskB04PULOR6EdFbq7kEfA0qcFWcb2vKxFWxbA, uri: https://127.0.0.1:14000/chalZ/I-RL24YKU-dapBqozfSKCcQk3ajReue1kwLyZC-Y0CU, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/l3qEWYskB04PULOR6EdFbq7kEfA0qcFWcb2vKxFWxbA: created acme-client: https://127.0.0.1:14000/chalZ/I-RL24YKU-dapBqozfSKCcQk3ajReue1kwLyZC-Y0CU: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/5bFJgInhwnUpgp9wdoTOuP-F9Kfmiko6LQnu4nghQBM acme-client: challenge, token: l3qEWYskB04PULOR6EdFbq7kEfA0qcFWcb2vKxFWxbA, uri: https://127.0.0.1:14000/chalZ/I-RL24YKU-dapBqozfSKCcQk3ajReue1kwLyZC-Y0CU, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/z063k0ehwZ4928yHjX86sfGs8MXEd8TRipZqNVXRPo4: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0859f24bc0f3b9b3: 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/35a7957805b3212a 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"