==== 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" 1859 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/5f7976a0ce516adf acme-client: dochngreq: https://127.0.0.1:14000/authZ/rB6oGPEgSLZHzVOuSfUnJYwdo2fdQr51pGOQ7DyT7yQ acme-client: challenge, token: eMqVE9D9cGltGllJ9Ke-B2qnIEzuMcriwiydz9nexks, uri: https://127.0.0.1:14000/chalZ/4q0-rpYnmpgfPna4vkUXWXeGPbh3BrZwB6KE4zWgGfs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/eMqVE9D9cGltGllJ9Ke-B2qnIEzuMcriwiydz9nexks: created acme-client: https://127.0.0.1:14000/chalZ/4q0-rpYnmpgfPna4vkUXWXeGPbh3BrZwB6KE4zWgGfs: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/rB6oGPEgSLZHzVOuSfUnJYwdo2fdQr51pGOQ7DyT7yQ acme-client: challenge, token: eMqVE9D9cGltGllJ9Ke-B2qnIEzuMcriwiydz9nexks, uri: https://127.0.0.1:14000/chalZ/4q0-rpYnmpgfPna4vkUXWXeGPbh3BrZwB6KE4zWgGfs, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/yMyB2wguBbGrmH4c0vqQqipkK-Jf6z4jr29tmYuyjmA: certificate acme-client: order.status 2 acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/01ce2fb000d61784: certificate account key: https://127.0.0.1:14000/my-account/5f7976a0ce516adf 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/5f7976a0ce516adf 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/5f7976a0ce516adf acme-client: https://127.0.0.1:14000/finalize-order/KP3eXDfMTekf6aP6QI2Xbk3YqCzDJpTaornAFuCYAR4: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/558d558de1e38cd5: 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/5f7976a0ce516adf 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/5f7976a0ce516adf acme-client: dochngreq: https://127.0.0.1:14000/authZ/-1YpyYc43FgnCsNPtOefxbKhJpbWO2TPNJQUQ_Fj7RM acme-client: challenge, token: Hy4BwApsHsHlGDTX7qlHm0JIKVDJsJScdozBc4JnxOQ, uri: https://127.0.0.1:14000/chalZ/rWamrmVbG4esQPC17ui0rHe4PXY9_wlh3xygDf-C1-w, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Hy4BwApsHsHlGDTX7qlHm0JIKVDJsJScdozBc4JnxOQ: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/BAdyEOw9SHFXuZJOJOVq0fyKSrMRZ2mWbYF1wityfIo acme-client: challenge, token: ijg1o1QB_8IDJVFyaGVLMDSjs8TsqzxW9WlFpcALzuw, uri: https://127.0.0.1:14000/chalZ/ka93FHxL_g1ERh9s54VSsmMfUYSL_M-4NNvzySTNikA, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/ijg1o1QB_8IDJVFyaGVLMDSjs8TsqzxW9WlFpcALzuw: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/hid2IZBvfWPzwz7dkwRtQZoFGDHNG04n-9ThPZIBtF4 acme-client: challenge, token: _H-HFrLo15BZ5YnOhDuhDy0ZvMvDl7SPdLrQCIssWfw, uri: https://127.0.0.1:14000/chalZ/iLSYgydI2OvYvXcCdZDRHtOShFfN_ILjSREouonXzzM, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/_H-HFrLo15BZ5YnOhDuhDy0ZvMvDl7SPdLrQCIssWfw: created acme-client: https://127.0.0.1:14000/chalZ/rWamrmVbG4esQPC17ui0rHe4PXY9_wlh3xygDf-C1-w: challenge acme-client: https://127.0.0.1:14000/chalZ/ka93FHxL_g1ERh9s54VSsmMfUYSL_M-4NNvzySTNikA: challenge acme-client: https://127.0.0.1:14000/chalZ/iLSYgydI2OvYvXcCdZDRHtOShFfN_ILjSREouonXzzM: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/-1YpyYc43FgnCsNPtOefxbKhJpbWO2TPNJQUQ_Fj7RM acme-client: challenge, token: Hy4BwApsHsHlGDTX7qlHm0JIKVDJsJScdozBc4JnxOQ, uri: https://127.0.0.1:14000/chalZ/rWamrmVbG4esQPC17ui0rHe4PXY9_wlh3xygDf-C1-w, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/BAdyEOw9SHFXuZJOJOVq0fyKSrMRZ2mWbYF1wityfIo acme-client: challenge, token: ijg1o1QB_8IDJVFyaGVLMDSjs8TsqzxW9WlFpcALzuw, uri: https://127.0.0.1:14000/chalZ/ka93FHxL_g1ERh9s54VSsmMfUYSL_M-4NNvzySTNikA, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/hid2IZBvfWPzwz7dkwRtQZoFGDHNG04n-9ThPZIBtF4 acme-client: challenge, token: _H-HFrLo15BZ5YnOhDuhDy0ZvMvDl7SPdLrQCIssWfw, uri: https://127.0.0.1:14000/chalZ/iLSYgydI2OvYvXcCdZDRHtOShFfN_ILjSREouonXzzM, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/Q1PNXfJ8Er3QPQBNB-ndi32YBG9X_S6R0V89yrhTH7w: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/1b577a255cab0127: 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/5f7976a0ce516adf 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/5f7976a0ce516adf acme-client: dochngreq: https://127.0.0.1:14000/authZ/cRNPaVFSemVxwrcXNj-jH58jqDcwV0gb9i4ERd6Cvl4 acme-client: challenge, token: qMr_Np_l1r3QJj_pQZfGqx1Z5Myxf0KdZ5BJRcunieg, uri: https://127.0.0.1:14000/chalZ/EM0eUmQGKz0HrCCOdMwoB1Eaq2bn67TF3OggD09Xevc, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/qMr_Np_l1r3QJj_pQZfGqx1Z5Myxf0KdZ5BJRcunieg: created acme-client: https://127.0.0.1:14000/chalZ/EM0eUmQGKz0HrCCOdMwoB1Eaq2bn67TF3OggD09Xevc: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/cRNPaVFSemVxwrcXNj-jH58jqDcwV0gb9i4ERd6Cvl4 acme-client: challenge, token: qMr_Np_l1r3QJj_pQZfGqx1Z5Myxf0KdZ5BJRcunieg, uri: https://127.0.0.1:14000/chalZ/EM0eUmQGKz0HrCCOdMwoB1Eaq2bn67TF3OggD09Xevc, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/Qs9rE9KmGXzYd44fiSOArkreFwF0WaXVzo9bxKaZbIs: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7cec5b89ce805a5c: 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/5f7976a0ce516adf 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/3e3be733be64cf2d acme-client: dochngreq: https://127.0.0.1:14001/authZ/RoOUEmgjynPk3feT3jnS-nc05tE9kgLmScKvTFkaokQ acme-client: challenge, token: QP2xj2MI32wHF6vDT-UFYCoi8WGAAxd17pZWxZqLthU, uri: https://127.0.0.1:14001/chalZ/ndP5O3nGqn5ZPwLqIaL_Xkf8_4WFgQJ6KMGJqsWWNh8, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/QP2xj2MI32wHF6vDT-UFYCoi8WGAAxd17pZWxZqLthU: created acme-client: https://127.0.0.1:14001/chalZ/ndP5O3nGqn5ZPwLqIaL_Xkf8_4WFgQJ6KMGJqsWWNh8: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/RoOUEmgjynPk3feT3jnS-nc05tE9kgLmScKvTFkaokQ acme-client: challenge, token: QP2xj2MI32wHF6vDT-UFYCoi8WGAAxd17pZWxZqLthU, uri: https://127.0.0.1:14001/chalZ/ndP5O3nGqn5ZPwLqIaL_Xkf8_4WFgQJ6KMGJqsWWNh8, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/_7pJ3kjOVVzpMtC5UCF0w0_MRNTGbZfTq-uj1Vg1bUk: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/3c3b119f7d6ef2a5: certificate account key: https://127.0.0.1:14001/my-account/3e3be733be64cf2d 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"