==== 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" 58422 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/1fc87c79b0c8ec99 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Hi0FmTVAwKqQK0DdSPgKTbpeEzPS9KQxP3GUYwHEi30 acme-client: challenge, token: IhwKnU1ayzLq-9k3J6PWB3H1CdxwvjkgOy2FyXlORbo, uri: https://127.0.0.1:14000/chalZ/8jp0QvlLIDn0WQOSKLlNrS-SgMh1jezH2o8b9ZmcQhA, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/IhwKnU1ayzLq-9k3J6PWB3H1CdxwvjkgOy2FyXlORbo: created acme-client: https://127.0.0.1:14000/chalZ/8jp0QvlLIDn0WQOSKLlNrS-SgMh1jezH2o8b9ZmcQhA: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Hi0FmTVAwKqQK0DdSPgKTbpeEzPS9KQxP3GUYwHEi30 acme-client: challenge, token: IhwKnU1ayzLq-9k3J6PWB3H1CdxwvjkgOy2FyXlORbo, uri: https://127.0.0.1:14000/chalZ/8jp0QvlLIDn0WQOSKLlNrS-SgMh1jezH2o8b9ZmcQhA, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/pXlJTD2kAI_STGpoa4gMD9J9E7DiFXf5gvwfNdmx7_0: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7c0ec8a9a1a335b6: 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/1fc87c79b0c8ec99 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/1fc87c79b0c8ec99 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/1fc87c79b0c8ec99 acme-client: dochngreq: https://127.0.0.1:14000/authZ/ruk1mPCL7tCHhh2Y-PCA9qJVudYYwyl_ZOgIGjVTtg0 acme-client: challenge, token: uQ7HxHWm61d0dtJQFkY4Q3CUuTS6LfItfqZvt7UKtbY, uri: https://127.0.0.1:14000/chalZ/d__dVLUzi8DGDKx_nCSpgPd69VdfN3Mcj5HepWp1ym4, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/uQ7HxHWm61d0dtJQFkY4Q3CUuTS6LfItfqZvt7UKtbY: created acme-client: https://127.0.0.1:14000/chalZ/d__dVLUzi8DGDKx_nCSpgPd69VdfN3Mcj5HepWp1ym4: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/ruk1mPCL7tCHhh2Y-PCA9qJVudYYwyl_ZOgIGjVTtg0 acme-client: challenge, token: uQ7HxHWm61d0dtJQFkY4Q3CUuTS6LfItfqZvt7UKtbY, uri: https://127.0.0.1:14000/chalZ/d__dVLUzi8DGDKx_nCSpgPd69VdfN3Mcj5HepWp1ym4, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/Oqp0yjJ1bFfl03AOryWWKN4BAkJMx4YTQqk-h8-wJp8: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6a0332aebb3c245f: 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/1fc87c79b0c8ec99 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/1fc87c79b0c8ec99 acme-client: dochngreq: https://127.0.0.1:14000/authZ/K2kxs0qoBCcfqFjXhbccFtN4hiLIfmIQXapxVUY8DZs acme-client: challenge, token: s-Tddc4c2d25FoDJN40ID-lIy7HgiWwGX1A1SAwfNjo, uri: https://127.0.0.1:14000/chalZ/RwasBNoQh3LmOzTqodGj4IzApfckrydsZty3MmT8ZQk, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/s-Tddc4c2d25FoDJN40ID-lIy7HgiWwGX1A1SAwfNjo: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/Hi0FmTVAwKqQK0DdSPgKTbpeEzPS9KQxP3GUYwHEi30 acme-client: challenge, token: IhwKnU1ayzLq-9k3J6PWB3H1CdxwvjkgOy2FyXlORbo, uri: https://127.0.0.1:14000/chalZ/8jp0QvlLIDn0WQOSKLlNrS-SgMh1jezH2o8b9ZmcQhA, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/e-vfmuZIh0pdr7tqPg6NQUEInwGyp6Hh5URoMY7hj04 acme-client: challenge, token: J_XSa5Oye3rFexNNHVkfZB63izcfhXG-uYlm20rhvr4, uri: https://127.0.0.1:14000/chalZ/xH6NJ9nrpgRO5ngp9tr-Vj9FPB5kLC4mRgt5mdcOWp0, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/J_XSa5Oye3rFexNNHVkfZB63izcfhXG-uYlm20rhvr4: created acme-client: https://127.0.0.1:14000/chalZ/RwasBNoQh3LmOzTqodGj4IzApfckrydsZty3MmT8ZQk: challenge acme-client: https://127.0.0.1:14000/chalZ/xH6NJ9nrpgRO5ngp9tr-Vj9FPB5kLC4mRgt5mdcOWp0: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/K2kxs0qoBCcfqFjXhbccFtN4hiLIfmIQXapxVUY8DZs acme-client: challenge, token: s-Tddc4c2d25FoDJN40ID-lIy7HgiWwGX1A1SAwfNjo, uri: https://127.0.0.1:14000/chalZ/RwasBNoQh3LmOzTqodGj4IzApfckrydsZty3MmT8ZQk, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Hi0FmTVAwKqQK0DdSPgKTbpeEzPS9KQxP3GUYwHEi30 acme-client: challenge, token: IhwKnU1ayzLq-9k3J6PWB3H1CdxwvjkgOy2FyXlORbo, uri: https://127.0.0.1:14000/chalZ/8jp0QvlLIDn0WQOSKLlNrS-SgMh1jezH2o8b9ZmcQhA, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/e-vfmuZIh0pdr7tqPg6NQUEInwGyp6Hh5URoMY7hj04 acme-client: challenge, token: J_XSa5Oye3rFexNNHVkfZB63izcfhXG-uYlm20rhvr4, uri: https://127.0.0.1:14000/chalZ/xH6NJ9nrpgRO5ngp9tr-Vj9FPB5kLC4mRgt5mdcOWp0, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/RzgB7xH4TTpKdIWu9pRtTw3p0A8SifKNoeHyH-toYow: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0d161a4f208b76be: 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/1fc87c79b0c8ec99 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/1fc87c79b0c8ec99 acme-client: dochngreq: https://127.0.0.1:14000/authZ/I1BNBYX4mFE758jJ9BopaUZpIbvWcxNdpoTxJxrGW0k acme-client: challenge, token: 0k02FeXKwkDZkLdUJdVn4ckoB4P7_6gE0MnB6JUqquY, uri: https://127.0.0.1:14000/chalZ/EQ_DU0GM_qcG3J8qDKUSi4N3bOQwPKrAmESGNfZ8q18, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/0k02FeXKwkDZkLdUJdVn4ckoB4P7_6gE0MnB6JUqquY: created acme-client: https://127.0.0.1:14000/chalZ/EQ_DU0GM_qcG3J8qDKUSi4N3bOQwPKrAmESGNfZ8q18: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/I1BNBYX4mFE758jJ9BopaUZpIbvWcxNdpoTxJxrGW0k acme-client: challenge, token: 0k02FeXKwkDZkLdUJdVn4ckoB4P7_6gE0MnB6JUqquY, uri: https://127.0.0.1:14000/chalZ/EQ_DU0GM_qcG3J8qDKUSi4N3bOQwPKrAmESGNfZ8q18, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/HUhA8xj5bQFi8G4ClEkjCkXSQYPacvXOOhvdu5s_n2U: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/458936077a04cc9b: 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/1fc87c79b0c8ec99 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"