==== 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" 37805 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/4a870611425de335 acme-client: dochngreq: https://127.0.0.1:14000/authZ/naf-5wbgqhN1WSPdfnTzstxOGn0jyjPnYlyNKglIB2M acme-client: challenge, token: NB-ytoqQ_L5bpyIcB3eStHJaiTF11COeSbq8DSNeo2A, uri: https://127.0.0.1:14000/chalZ/0PeBt09G6-1lOcq8qFlARdbh7pRZ32z8zPWWutQJCKs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/NB-ytoqQ_L5bpyIcB3eStHJaiTF11COeSbq8DSNeo2A: created acme-client: https://127.0.0.1:14000/chalZ/0PeBt09G6-1lOcq8qFlARdbh7pRZ32z8zPWWutQJCKs: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/naf-5wbgqhN1WSPdfnTzstxOGn0jyjPnYlyNKglIB2M acme-client: challenge, token: NB-ytoqQ_L5bpyIcB3eStHJaiTF11COeSbq8DSNeo2A, uri: https://127.0.0.1:14000/chalZ/0PeBt09G6-1lOcq8qFlARdbh7pRZ32z8zPWWutQJCKs, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/uUcUFKhtdnv0rWKVMe7RPMYOey92SarLsR2s0eG4PU8: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/407c5400e7bf9795: certificate account key: https://127.0.0.1:14000/my-account/4a870611425de335 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/4a870611425de335 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/4a870611425de335 acme-client: dochngreq: https://127.0.0.1:14000/authZ/FValc9C-eMRfWxMr8CEAqyOORU_L-0FaeMGo50bOUS0 acme-client: challenge, token: IoB65y3vQuZtgrwa-zmxhA9UC17ttifub9oJ1oqMdeo, uri: https://127.0.0.1:14000/chalZ/eO0qDxvpBcZvF1SW8jT2k7XJcsPDPyeYKV-qX5oFIDE, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/IoB65y3vQuZtgrwa-zmxhA9UC17ttifub9oJ1oqMdeo: created acme-client: https://127.0.0.1:14000/chalZ/eO0qDxvpBcZvF1SW8jT2k7XJcsPDPyeYKV-qX5oFIDE: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/FValc9C-eMRfWxMr8CEAqyOORU_L-0FaeMGo50bOUS0 acme-client: challenge, token: IoB65y3vQuZtgrwa-zmxhA9UC17ttifub9oJ1oqMdeo, uri: https://127.0.0.1:14000/chalZ/eO0qDxvpBcZvF1SW8jT2k7XJcsPDPyeYKV-qX5oFIDE, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/zr31IyTjXKl2X4mTFNVgCSVSPS6vMtlR2UuDq1cVlxM: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/70d19ee56ac14079: 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/4a870611425de335 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/4a870611425de335 acme-client: dochngreq: https://127.0.0.1:14000/authZ/s0lmYhBxfjzhEBrNCXaw3fKsM6XEznpyZlZV9SekF9Q acme-client: challenge, token: dDIxL41SklWt8_GJVQgMsQ1_lfGCkTEKvyQfU--nprs, uri: https://127.0.0.1:14000/chalZ/xLUQqr3vw-qFLhjvc-0OrUf7nhi64okGzUUa9FGPYJg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/dDIxL41SklWt8_GJVQgMsQ1_lfGCkTEKvyQfU--nprs: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/n4VBxPSbvQDfa23QrWpz7RXjZE7088VJd3hp99GmQ1g acme-client: challenge, token: josYoBUFPcDeeNNhW7I9yIJFj-WbPEwjb5OcVwalah4, uri: https://127.0.0.1:14000/chalZ/G0S1lHio__dM8MlVtEXVKq3kfiQcgB_TPij3o2Hd25U, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/josYoBUFPcDeeNNhW7I9yIJFj-WbPEwjb5OcVwalah4: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/ES6pOtp6GeIyduq2wmbTrv9ReWA_CIMDNo1cmkziLW0 acme-client: challenge, token: lJ1zsd95cAJlc-RlM8zq7ZQCZoT5RzLx6Dxhp3Q1PPc, uri: https://127.0.0.1:14000/chalZ/3VC5olvISltvRgtuHOXYjOR9fbsYwf-ZF_OQ7yGIWlE, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/lJ1zsd95cAJlc-RlM8zq7ZQCZoT5RzLx6Dxhp3Q1PPc: created acme-client: https://127.0.0.1:14000/chalZ/xLUQqr3vw-qFLhjvc-0OrUf7nhi64okGzUUa9FGPYJg: challenge acme-client: https://127.0.0.1:14000/chalZ/G0S1lHio__dM8MlVtEXVKq3kfiQcgB_TPij3o2Hd25U: challenge acme-client: https://127.0.0.1:14000/chalZ/3VC5olvISltvRgtuHOXYjOR9fbsYwf-ZF_OQ7yGIWlE: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/s0lmYhBxfjzhEBrNCXaw3fKsM6XEznpyZlZV9SekF9Q acme-client: challenge, token: dDIxL41SklWt8_GJVQgMsQ1_lfGCkTEKvyQfU--nprs, uri: https://127.0.0.1:14000/chalZ/xLUQqr3vw-qFLhjvc-0OrUf7nhi64okGzUUa9FGPYJg, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/n4VBxPSbvQDfa23QrWpz7RXjZE7088VJd3hp99GmQ1g acme-client: challenge, token: josYoBUFPcDeeNNhW7I9yIJFj-WbPEwjb5OcVwalah4, uri: https://127.0.0.1:14000/chalZ/G0S1lHio__dM8MlVtEXVKq3kfiQcgB_TPij3o2Hd25U, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/ES6pOtp6GeIyduq2wmbTrv9ReWA_CIMDNo1cmkziLW0 acme-client: challenge, token: lJ1zsd95cAJlc-RlM8zq7ZQCZoT5RzLx6Dxhp3Q1PPc, uri: https://127.0.0.1:14000/chalZ/3VC5olvISltvRgtuHOXYjOR9fbsYwf-ZF_OQ7yGIWlE, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/xk332CMYSBxRFr7Mz52Sn6dkAZpK4z057nhJYNZgewM: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7ec3aa7525cd0188: 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/4a870611425de335 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/4a870611425de335 acme-client: https://127.0.0.1:14000/finalize-order/MRpeLrfQRqccuiHimPQeoQ8V6E6uOnMjZIjgUWRPj6k: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/4e96e68158fbeb98: 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/4a870611425de335 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"