==== 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" 73932 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/5a0c3255fd5c59d7 acme-client: dochngreq: https://127.0.0.1:14000/authZ/iuEm_cHP_T58poIeYiNxsTINtCNwd0xshgIdj-d3TiM acme-client: challenge, token: VJIa6Vh1pJgXNMFI6Mk0gmGga4fIvhyTe-OXA9JeC2s, uri: https://127.0.0.1:14000/chalZ/T-BQOlHrtCIwU84cLIx_xDVViymgiNMBvaIy-ELR5k8, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/VJIa6Vh1pJgXNMFI6Mk0gmGga4fIvhyTe-OXA9JeC2s: created acme-client: https://127.0.0.1:14000/chalZ/T-BQOlHrtCIwU84cLIx_xDVViymgiNMBvaIy-ELR5k8: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/iuEm_cHP_T58poIeYiNxsTINtCNwd0xshgIdj-d3TiM acme-client: challenge, token: VJIa6Vh1pJgXNMFI6Mk0gmGga4fIvhyTe-OXA9JeC2s, uri: https://127.0.0.1:14000/chalZ/T-BQOlHrtCIwU84cLIx_xDVViymgiNMBvaIy-ELR5k8, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/uwL7PXUWbsRK0MlHrTlHqjYRgPuIKtxRgtuboZ-0pDg: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7057b2122289537d: certificate account key: https://127.0.0.1:14000/my-account/5a0c3255fd5c59d7 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/5a0c3255fd5c59d7 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/5a0c3255fd5c59d7 acme-client: https://127.0.0.1:14000/finalize-order/kwcTqm7IAaXaMJa4b5T0ShdRjgLHs5GqT2Q_Pt9dUHE: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/2ff5b97951f825dc: 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/5a0c3255fd5c59d7 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/5a0c3255fd5c59d7 acme-client: dochngreq: https://127.0.0.1:14000/authZ/RbgwdC8w7oBHn4CwQWJym8Sk8akMNeBtiV0CRmmWPUA acme-client: challenge, token: K6rS22Kq0srHKg8tRhFXFskrwUjgXhOq80isKYUTRlw, uri: https://127.0.0.1:14000/chalZ/RIOBbuv7ng5bdB_Mxr9qCq-im_cHvzLLLhXlrRMw_Rs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/K6rS22Kq0srHKg8tRhFXFskrwUjgXhOq80isKYUTRlw: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/GJMQXCQ09Gvvu_U1t1Ba4BzpzkT-EQk9D7pJwFPDV9s acme-client: challenge, token: TM_-xcFFtIFm6d4r0MqhT62uCiA8nhDFhFxJErmgFH4, uri: https://127.0.0.1:14000/chalZ/kd3HZejX1_6Xc5zmwAW-U5HnWt1iZMKc0X0f5EHegUs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/TM_-xcFFtIFm6d4r0MqhT62uCiA8nhDFhFxJErmgFH4: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/1oWLAuHi6GsG_tksk9a-s8vODSEQj75v-TwFbppdUBM acme-client: challenge, token: q40Jz-RIQY33wYOYu9QQHV-OcM_ZL58nRoKv9ZXYrrI, uri: https://127.0.0.1:14000/chalZ/ac9VRqTbIAUAcE_VtRfRQuZ2RvAmF7O5H_5TXiK14cM, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/q40Jz-RIQY33wYOYu9QQHV-OcM_ZL58nRoKv9ZXYrrI: created acme-client: https://127.0.0.1:14000/chalZ/RIOBbuv7ng5bdB_Mxr9qCq-im_cHvzLLLhXlrRMw_Rs: challenge acme-client: https://127.0.0.1:14000/chalZ/kd3HZejX1_6Xc5zmwAW-U5HnWt1iZMKc0X0f5EHegUs: challenge acme-client: https://127.0.0.1:14000/chalZ/ac9VRqTbIAUAcE_VtRfRQuZ2RvAmF7O5H_5TXiK14cM: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/RbgwdC8w7oBHn4CwQWJym8Sk8akMNeBtiV0CRmmWPUA acme-client: challenge, token: K6rS22Kq0srHKg8tRhFXFskrwUjgXhOq80isKYUTRlw, uri: https://127.0.0.1:14000/chalZ/RIOBbuv7ng5bdB_Mxr9qCq-im_cHvzLLLhXlrRMw_Rs, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/GJMQXCQ09Gvvu_U1t1Ba4BzpzkT-EQk9D7pJwFPDV9s acme-client: challenge, token: TM_-xcFFtIFm6d4r0MqhT62uCiA8nhDFhFxJErmgFH4, uri: https://127.0.0.1:14000/chalZ/kd3HZejX1_6Xc5zmwAW-U5HnWt1iZMKc0X0f5EHegUs, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/1oWLAuHi6GsG_tksk9a-s8vODSEQj75v-TwFbppdUBM acme-client: challenge, token: q40Jz-RIQY33wYOYu9QQHV-OcM_ZL58nRoKv9ZXYrrI, uri: https://127.0.0.1:14000/chalZ/ac9VRqTbIAUAcE_VtRfRQuZ2RvAmF7O5H_5TXiK14cM, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/AQOE8BQZEHkv7-KfOtL7nGLGXX8lu3S6bQQPKSg6Mlo: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6b5db140858d6b53: 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/5a0c3255fd5c59d7 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/5a0c3255fd5c59d7 acme-client: dochngreq: https://127.0.0.1:14000/authZ/yPnSc4isqUWQpXUXZlTpbOEK5U7bkr1uq60kWLRo9yQ acme-client: challenge, token: oBBLR8IDeIWjKPImRMvI2nwNNMTtDVJ_fQBivKCfxpY, uri: https://127.0.0.1:14000/chalZ/cjMydBsO6pav-dfVra50qVWe30LKa9emAnOlJh8bvxs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/oBBLR8IDeIWjKPImRMvI2nwNNMTtDVJ_fQBivKCfxpY: created acme-client: https://127.0.0.1:14000/chalZ/cjMydBsO6pav-dfVra50qVWe30LKa9emAnOlJh8bvxs: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/yPnSc4isqUWQpXUXZlTpbOEK5U7bkr1uq60kWLRo9yQ acme-client: challenge, token: oBBLR8IDeIWjKPImRMvI2nwNNMTtDVJ_fQBivKCfxpY, uri: https://127.0.0.1:14000/chalZ/cjMydBsO6pav-dfVra50qVWe30LKa9emAnOlJh8bvxs, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/GBiH-2HJgYVQHJIfIJK1_qEfhCMV7zSSL1t7m96CjMw: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/51247fcfd7f64006: 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/5a0c3255fd5c59d7 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/3cfe9f170f95cd2e acme-client: dochngreq: https://127.0.0.1:14001/authZ/MNga8lfGjHfVAisdiLqGfX1RPbuzZNVVVj39sEtp03M acme-client: challenge, token: 0YG24bNlvhVwWHe5B9YX0lYioiZJl4I7zTwmV1fPlTA, uri: https://127.0.0.1:14001/chalZ/o4jI_LzGnyjVr6Q67l-e5gZsU6j4uZVeBVKJnC3MJZ8, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/0YG24bNlvhVwWHe5B9YX0lYioiZJl4I7zTwmV1fPlTA: created acme-client: https://127.0.0.1:14001/chalZ/o4jI_LzGnyjVr6Q67l-e5gZsU6j4uZVeBVKJnC3MJZ8: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/MNga8lfGjHfVAisdiLqGfX1RPbuzZNVVVj39sEtp03M acme-client: challenge, token: 0YG24bNlvhVwWHe5B9YX0lYioiZJl4I7zTwmV1fPlTA, uri: https://127.0.0.1:14001/chalZ/o4jI_LzGnyjVr6Q67l-e5gZsU6j4uZVeBVKJnC3MJZ8, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/Md3jDTJ-5aymi0Cnn9NQJYB2lEwSPtdrrVkIxfYRt9Q: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/2aec03cf17e2eaeb: certificate account key: https://127.0.0.1:14001/my-account/3cfe9f170f95cd2e 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"