==== 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" 95321 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/79544304996e3b5b acme-client: dochngreq: https://127.0.0.1:14000/authZ/ThJgsHjJOIC6Imc8Czq1LZjHSoBrPyizeFIEghFEXfc acme-client: challenge, token: -GP-lvsfD2CEfqo_hUmTFzqz-fLds48NpeJjXAdCClA, uri: https://127.0.0.1:14000/chalZ/kPr2PBRusuSFytIXjhM1DdjftPPrvDT7JIvzfNNDNPg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/-GP-lvsfD2CEfqo_hUmTFzqz-fLds48NpeJjXAdCClA: created acme-client: https://127.0.0.1:14000/chalZ/kPr2PBRusuSFytIXjhM1DdjftPPrvDT7JIvzfNNDNPg: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/ThJgsHjJOIC6Imc8Czq1LZjHSoBrPyizeFIEghFEXfc acme-client: challenge, token: -GP-lvsfD2CEfqo_hUmTFzqz-fLds48NpeJjXAdCClA, uri: https://127.0.0.1:14000/chalZ/kPr2PBRusuSFytIXjhM1DdjftPPrvDT7JIvzfNNDNPg, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/938QWQNgCsfs5vkVIczjNNMz7XCzA4ETi7WiX_Rfd58: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0f4e8a9fa1f78b69: certificate account key: https://127.0.0.1:14000/my-account/79544304996e3b5b 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/79544304996e3b5b 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/79544304996e3b5b acme-client: dochngreq: https://127.0.0.1:14000/authZ/Gy0wHgTuhs6XssgFYsU8jrQ43VBE8ZmiAb56VRI8XSo acme-client: challenge, token: s8a-1c-Mvh4ZhvIGCqn3iV0As3KEIX72LJsuDKOvCUk, uri: https://127.0.0.1:14000/chalZ/4qEXKbvyjmPwGIO9uJuc7PWnqD7pu9UTmfz1fG3XIpo, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/s8a-1c-Mvh4ZhvIGCqn3iV0As3KEIX72LJsuDKOvCUk: created acme-client: https://127.0.0.1:14000/chalZ/4qEXKbvyjmPwGIO9uJuc7PWnqD7pu9UTmfz1fG3XIpo: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Gy0wHgTuhs6XssgFYsU8jrQ43VBE8ZmiAb56VRI8XSo acme-client: challenge, token: s8a-1c-Mvh4ZhvIGCqn3iV0As3KEIX72LJsuDKOvCUk, uri: https://127.0.0.1:14000/chalZ/4qEXKbvyjmPwGIO9uJuc7PWnqD7pu9UTmfz1fG3XIpo, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/HLjIDIjRqgMFhhTKpiNFoD-sFni4RC0ynfgNAk5CGLk: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/5eb0e6aecbe186c6: 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/79544304996e3b5b 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/79544304996e3b5b acme-client: dochngreq: https://127.0.0.1:14000/authZ/J7ybgL-TFT2I7iCUVuMzBOyESk9TuOgTI3M_2_q0rJo acme-client: challenge, token: VTq0Zr3HidLFhn_9rBrbP4DRYqsQOuwaAuSTfRnhpA4, uri: https://127.0.0.1:14000/chalZ/vok8BgXD9vG2f-63x7ok2N9lswS4cLKblhcmcfe7eUc, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/VTq0Zr3HidLFhn_9rBrbP4DRYqsQOuwaAuSTfRnhpA4: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/3keWyo3LlxWiVIKMljcYGQP8GJ-CRiikPtYv7mf2L-M acme-client: challenge, token: akV97AcP3Dyvy_maKCgBk-M9vITAKiHMJDmTAm1rsJE, uri: https://127.0.0.1:14000/chalZ/jFkcPP9TaINlcmC5yUYd8ykbNmHEF8isWTxFcxY33pM, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/akV97AcP3Dyvy_maKCgBk-M9vITAKiHMJDmTAm1rsJE: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/ThJgsHjJOIC6Imc8Czq1LZjHSoBrPyizeFIEghFEXfc acme-client: challenge, token: -GP-lvsfD2CEfqo_hUmTFzqz-fLds48NpeJjXAdCClA, uri: https://127.0.0.1:14000/chalZ/kPr2PBRusuSFytIXjhM1DdjftPPrvDT7JIvzfNNDNPg, status: 2 acme-client: https://127.0.0.1:14000/chalZ/vok8BgXD9vG2f-63x7ok2N9lswS4cLKblhcmcfe7eUc: challenge acme-client: https://127.0.0.1:14000/chalZ/jFkcPP9TaINlcmC5yUYd8ykbNmHEF8isWTxFcxY33pM: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/J7ybgL-TFT2I7iCUVuMzBOyESk9TuOgTI3M_2_q0rJo acme-client: challenge, token: VTq0Zr3HidLFhn_9rBrbP4DRYqsQOuwaAuSTfRnhpA4, uri: https://127.0.0.1:14000/chalZ/vok8BgXD9vG2f-63x7ok2N9lswS4cLKblhcmcfe7eUc, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/3keWyo3LlxWiVIKMljcYGQP8GJ-CRiikPtYv7mf2L-M acme-client: challenge, token: akV97AcP3Dyvy_maKCgBk-M9vITAKiHMJDmTAm1rsJE, uri: https://127.0.0.1:14000/chalZ/jFkcPP9TaINlcmC5yUYd8ykbNmHEF8isWTxFcxY33pM, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/ThJgsHjJOIC6Imc8Czq1LZjHSoBrPyizeFIEghFEXfc acme-client: challenge, token: -GP-lvsfD2CEfqo_hUmTFzqz-fLds48NpeJjXAdCClA, uri: https://127.0.0.1:14000/chalZ/kPr2PBRusuSFytIXjhM1DdjftPPrvDT7JIvzfNNDNPg, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/nZtKGfeAcgtJvQKSrB3gtAwWGv0CQqw_oFZUJu7a8Is: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/5a045a8a365ec04e: 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/79544304996e3b5b 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/79544304996e3b5b acme-client: dochngreq: https://127.0.0.1:14000/authZ/n80BtjCr_Rfvle6jbgHHp7wKji6GGLzVI55uqvR-Uhk acme-client: challenge, token: 5KwW5b7G03SqZe3NT0QbS7fSPm1x7NYhv4W8JjwEBa0, uri: https://127.0.0.1:14000/chalZ/pYGQXB00X7lxRoPbUjL2lqojR3GxWEyG1eo4YiaqoBU, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/5KwW5b7G03SqZe3NT0QbS7fSPm1x7NYhv4W8JjwEBa0: created acme-client: https://127.0.0.1:14000/chalZ/pYGQXB00X7lxRoPbUjL2lqojR3GxWEyG1eo4YiaqoBU: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/n80BtjCr_Rfvle6jbgHHp7wKji6GGLzVI55uqvR-Uhk acme-client: challenge, token: 5KwW5b7G03SqZe3NT0QbS7fSPm1x7NYhv4W8JjwEBa0, uri: https://127.0.0.1:14000/chalZ/pYGQXB00X7lxRoPbUjL2lqojR3GxWEyG1eo4YiaqoBU, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/m5zdjKAHxjgCa2KCwDZ-DogKDII5k_I0q87F2scbF1I: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/3cac60edf95ca424: 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/79544304996e3b5b 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"