==== 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" 53418 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/77c1576887d16750 acme-client: dochngreq: https://127.0.0.1:14000/authZ/FZieX5dKsCU8WNAERF0qalXlON1bRPwyXWjoP4InzoU acme-client: challenge, token: dsqWDD3A9nm6r8cUuyLa1HuPoW-ZBUvgNGWOx7DN-3o, uri: https://127.0.0.1:14000/chalZ/yqPMkth20Q-NnxJy3OZu_q7A-Dg-tyhj7BhrQ79Lmyw, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/dsqWDD3A9nm6r8cUuyLa1HuPoW-ZBUvgNGWOx7DN-3o: created acme-client: https://127.0.0.1:14000/chalZ/yqPMkth20Q-NnxJy3OZu_q7A-Dg-tyhj7BhrQ79Lmyw: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/FZieX5dKsCU8WNAERF0qalXlON1bRPwyXWjoP4InzoU acme-client: challenge, token: dsqWDD3A9nm6r8cUuyLa1HuPoW-ZBUvgNGWOx7DN-3o, uri: https://127.0.0.1:14000/chalZ/yqPMkth20Q-NnxJy3OZu_q7A-Dg-tyhj7BhrQ79Lmyw, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/fKrTHCHOe2fFNGJZrD5kvxhX-fRe3mHMpBd_qjbFfwI: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/593702dbf7f99edd: certificate acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert.pem: created account key: https://127.0.0.1:14000/my-account/77c1576887d16750 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/77c1576887d16750 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/77c1576887d16750 acme-client: dochngreq: https://127.0.0.1:14000/authZ/SZzSTB6yG92BWjHF6OWxzLo3ldc0vqFYU3dsUqDtlGQ acme-client: challenge, token: MRWIRrlX_trJvr3lMFfk8giFWpZBqNsli-o1A-z5ER0, uri: https://127.0.0.1:14000/chalZ/vXxJr1So9lDd3YeaXPuKIZWIp_M2-gg9neYmE_nd-R8, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/MRWIRrlX_trJvr3lMFfk8giFWpZBqNsli-o1A-z5ER0: created acme-client: https://127.0.0.1:14000/chalZ/vXxJr1So9lDd3YeaXPuKIZWIp_M2-gg9neYmE_nd-R8: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/SZzSTB6yG92BWjHF6OWxzLo3ldc0vqFYU3dsUqDtlGQ acme-client: challenge, token: MRWIRrlX_trJvr3lMFfk8giFWpZBqNsli-o1A-z5ER0, uri: https://127.0.0.1:14000/chalZ/vXxJr1So9lDd3YeaXPuKIZWIp_M2-gg9neYmE_nd-R8, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/QG823zB1CQjEnMeDtL8GpUqPRsW-fEX9I0VAaEQxTVo: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/484acb65e68204fa: 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/77c1576887d16750 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/77c1576887d16750 acme-client: dochngreq: https://127.0.0.1:14000/authZ/10YxMKEaW7KuQtZAxe0h9-t62F8m2cBC6VJxyhRlac0 acme-client: challenge, token: qw0HvLTxVv14qhTWcOLlW7LgsW_G2yO-FOcNvekqiNQ, uri: https://127.0.0.1:14000/chalZ/kBtiwZoYFFuawwPsMcIajpAk_5_ItJ1w0wWibKu5rRc, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/qw0HvLTxVv14qhTWcOLlW7LgsW_G2yO-FOcNvekqiNQ: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/3N3qoIVHFJWYRG-7Ndscw8SeJ4u_hHQ5ds22HPEZ8Go acme-client: challenge, token: XzDtPj-rwv1RDk-m95VAODTPL9cHnVyGFvjH9Ek-IJ8, uri: https://127.0.0.1:14000/chalZ/PK1bWKhqnVjSZskzqWpUqx5rCdNYkNBxehGSWuDHO-o, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/XzDtPj-rwv1RDk-m95VAODTPL9cHnVyGFvjH9Ek-IJ8: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/VGxXwoqjUzul2ysRKFO1PBTjnBwx-KguwqdixtH5E6A acme-client: challenge, token: byjgXsHNp2Sf--hB3wNU36MCDvoLMWNU4yLlb6kSyoU, uri: https://127.0.0.1:14000/chalZ/InWf5_twFkpHd5cOj1xOivqcmOkdfc8dkLelfiqQyME, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/byjgXsHNp2Sf--hB3wNU36MCDvoLMWNU4yLlb6kSyoU: created acme-client: https://127.0.0.1:14000/chalZ/kBtiwZoYFFuawwPsMcIajpAk_5_ItJ1w0wWibKu5rRc: challenge acme-client: https://127.0.0.1:14000/chalZ/PK1bWKhqnVjSZskzqWpUqx5rCdNYkNBxehGSWuDHO-o: challenge acme-client: https://127.0.0.1:14000/chalZ/InWf5_twFkpHd5cOj1xOivqcmOkdfc8dkLelfiqQyME: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/10YxMKEaW7KuQtZAxe0h9-t62F8m2cBC6VJxyhRlac0 acme-client: challenge, token: qw0HvLTxVv14qhTWcOLlW7LgsW_G2yO-FOcNvekqiNQ, uri: https://127.0.0.1:14000/chalZ/kBtiwZoYFFuawwPsMcIajpAk_5_ItJ1w0wWibKu5rRc, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/3N3qoIVHFJWYRG-7Ndscw8SeJ4u_hHQ5ds22HPEZ8Go acme-client: challenge, token: XzDtPj-rwv1RDk-m95VAODTPL9cHnVyGFvjH9Ek-IJ8, uri: https://127.0.0.1:14000/chalZ/PK1bWKhqnVjSZskzqWpUqx5rCdNYkNBxehGSWuDHO-o, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/VGxXwoqjUzul2ysRKFO1PBTjnBwx-KguwqdixtH5E6A acme-client: challenge, token: byjgXsHNp2Sf--hB3wNU36MCDvoLMWNU4yLlb6kSyoU, uri: https://127.0.0.1:14000/chalZ/InWf5_twFkpHd5cOj1xOivqcmOkdfc8dkLelfiqQyME, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/Ir7Zb5g0tJWP8tDtzxbeMFjLgRuwP6wM8KWUjS4B56Y: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/433ca18178bb02b0: 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/77c1576887d16750 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/77c1576887d16750 acme-client: https://127.0.0.1:14000/finalize-order/RPwuvRwNkj7hVLTdMlDWZ65bgUjZ5EoDeFXX4W0aP0A: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6dfd0388f950d4e9: 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/77c1576887d16750 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/23297f7f46fef247 acme-client: dochngreq: https://127.0.0.1:14001/authZ/J37JSsMJmiFsm-4SnGrXU24G__ev7W1h8zYn9N01Mo4 acme-client: challenge, token: h_rHpRS_yo7pBJzkiZ0_gao2deHokLAZ5aLxBNbJdGg, uri: https://127.0.0.1:14001/chalZ/sS3QY8eutzCCXeZvhMHUFGF3cLSkOo3wQn5OvZW9sDA, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/h_rHpRS_yo7pBJzkiZ0_gao2deHokLAZ5aLxBNbJdGg: created acme-client: https://127.0.0.1:14001/chalZ/sS3QY8eutzCCXeZvhMHUFGF3cLSkOo3wQn5OvZW9sDA: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/J37JSsMJmiFsm-4SnGrXU24G__ev7W1h8zYn9N01Mo4 acme-client: challenge, token: h_rHpRS_yo7pBJzkiZ0_gao2deHokLAZ5aLxBNbJdGg, uri: https://127.0.0.1:14001/chalZ/sS3QY8eutzCCXeZvhMHUFGF3cLSkOo3wQn5OvZW9sDA, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/IsuYqr3T1hh2Bcs6fiE4pTnIUNEUp1z98qdwm-kZlmU: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/4aebe2d2c29756ec: certificate account key: https://127.0.0.1:14001/my-account/23297f7f46fef247 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"