==== 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" 97782 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/5c2840ac7e87a2e9 acme-client: dochngreq: https://127.0.0.1:14000/authZ/q1eYni1vGnzJQkIaXAuAjp6MUR3qV8ogykhhKoUT1pw acme-client: challenge, token: NGeTA9Q8xGKeDyhtKcDkjeVFf2gn8inJPbig89DCv2Y, uri: https://127.0.0.1:14000/chalZ/XRQNvhzTJxrq_AMqBT6lLnUOTi5pNbnbAq8N6DJSJok, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/NGeTA9Q8xGKeDyhtKcDkjeVFf2gn8inJPbig89DCv2Y: created acme-client: https://127.0.0.1:14000/chalZ/XRQNvhzTJxrq_AMqBT6lLnUOTi5pNbnbAq8N6DJSJok: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/q1eYni1vGnzJQkIaXAuAjp6MUR3qV8ogykhhKoUT1pw acme-client: challenge, token: NGeTA9Q8xGKeDyhtKcDkjeVFf2gn8inJPbig89DCv2Y, uri: https://127.0.0.1:14000/chalZ/XRQNvhzTJxrq_AMqBT6lLnUOTi5pNbnbAq8N6DJSJok, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/dAKJBYrzFIlktAoEu8wsie9fHD-UwnsTpt8x4edqZyM: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/532ab199f3bf37cc: certificate account key: https://127.0.0.1:14000/my-account/5c2840ac7e87a2e9 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/5c2840ac7e87a2e9 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/5c2840ac7e87a2e9 acme-client: https://127.0.0.1:14000/finalize-order/YM6WU4Ip0-jVd9KyIj86NlYDLvjT-cQOFMZ_OpxM3yM: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/770440f7fbe52d73: 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/5c2840ac7e87a2e9 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/5c2840ac7e87a2e9 acme-client: dochngreq: https://127.0.0.1:14000/authZ/uDccmUJnS3wKRHE5EExUv6adaQwfMYvsUJhYd4UDGOA acme-client: challenge, token: gYpnNXIQoCDxaJ1epqCxelcmgjFBjgOcuGOpXaeibNQ, uri: https://127.0.0.1:14000/chalZ/Bb2dfMBlukwX0sFFlr55l9mPTas7PHKFVUIb1xEwRYc, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/gYpnNXIQoCDxaJ1epqCxelcmgjFBjgOcuGOpXaeibNQ: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/RapDWZhc6Om0usjElYd1yYYDldhYKJRIEginc-mOYzM acme-client: challenge, token: PgPMwMHw9Xy1Fas4PT-1iEVwgZICM122BbKBGJSWTW8, uri: https://127.0.0.1:14000/chalZ/KkgD2ZTQXHUx9alpJvO9TCHzle8nIYLB8vRK0dVBCpY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/PgPMwMHw9Xy1Fas4PT-1iEVwgZICM122BbKBGJSWTW8: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/ygywbNQHZMlbtub3qRZ0MH2eRt1htUCKDZh-NDcye5c acme-client: challenge, token: 9DgNT6U7oSgBZ3Z08gg4zq8T4gsHk8aAoJ_eSe8X3pM, uri: https://127.0.0.1:14000/chalZ/lhdhbk8vXIEYX3NtKaY3YK6eBoM05IfYedSPMhgttsg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/9DgNT6U7oSgBZ3Z08gg4zq8T4gsHk8aAoJ_eSe8X3pM: created acme-client: https://127.0.0.1:14000/chalZ/Bb2dfMBlukwX0sFFlr55l9mPTas7PHKFVUIb1xEwRYc: challenge acme-client: https://127.0.0.1:14000/chalZ/KkgD2ZTQXHUx9alpJvO9TCHzle8nIYLB8vRK0dVBCpY: challenge acme-client: https://127.0.0.1:14000/chalZ/lhdhbk8vXIEYX3NtKaY3YK6eBoM05IfYedSPMhgttsg: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/uDccmUJnS3wKRHE5EExUv6adaQwfMYvsUJhYd4UDGOA acme-client: challenge, token: gYpnNXIQoCDxaJ1epqCxelcmgjFBjgOcuGOpXaeibNQ, uri: https://127.0.0.1:14000/chalZ/Bb2dfMBlukwX0sFFlr55l9mPTas7PHKFVUIb1xEwRYc, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/RapDWZhc6Om0usjElYd1yYYDldhYKJRIEginc-mOYzM acme-client: challenge, token: PgPMwMHw9Xy1Fas4PT-1iEVwgZICM122BbKBGJSWTW8, uri: https://127.0.0.1:14000/chalZ/KkgD2ZTQXHUx9alpJvO9TCHzle8nIYLB8vRK0dVBCpY, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/ygywbNQHZMlbtub3qRZ0MH2eRt1htUCKDZh-NDcye5c acme-client: challenge, token: 9DgNT6U7oSgBZ3Z08gg4zq8T4gsHk8aAoJ_eSe8X3pM, uri: https://127.0.0.1:14000/chalZ/lhdhbk8vXIEYX3NtKaY3YK6eBoM05IfYedSPMhgttsg, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/SRK_F1E_vGPjhZYY7aOF6AvtY4H6MRfcbtiqJ29hGec: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/3a9f5078ba3fda73: 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/5c2840ac7e87a2e9 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/5c2840ac7e87a2e9 acme-client: dochngreq: https://127.0.0.1:14000/authZ/GMKYx9ZKFa8mW-K-azoO0ewEr9KuLS6iOvrck-MLhII acme-client: challenge, token: S0nJem1alaaWirovnCX_rcNO8EgwfajWpSB9lSrw-Ec, uri: https://127.0.0.1:14000/chalZ/Y8fmEwZbvBWl2Zk9_jxJgEs2oUAP-zoDv_bPYqdQpsI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/S0nJem1alaaWirovnCX_rcNO8EgwfajWpSB9lSrw-Ec: created acme-client: https://127.0.0.1:14000/chalZ/Y8fmEwZbvBWl2Zk9_jxJgEs2oUAP-zoDv_bPYqdQpsI: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/GMKYx9ZKFa8mW-K-azoO0ewEr9KuLS6iOvrck-MLhII acme-client: challenge, token: S0nJem1alaaWirovnCX_rcNO8EgwfajWpSB9lSrw-Ec, uri: https://127.0.0.1:14000/chalZ/Y8fmEwZbvBWl2Zk9_jxJgEs2oUAP-zoDv_bPYqdQpsI, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/T4Op6sAHFrHqCJGUgeEp7dwOoTwMJCfJ_Ou4p4IU70w: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/4c1a9d88932ee6d2: 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/5c2840ac7e87a2e9 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"