==== 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" 31346 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/2c7c75a2ee59d2a7 acme-client: dochngreq: https://127.0.0.1:14000/authZ/c6Zf6iH9r9AL_QpxayNN2AQBHHZ2xK6CGm8FX9WLk70 acme-client: challenge, token: 2CnoMENoArkgW3qykXgv3rBDS1Phsj1E67fChNzGTc0, uri: https://127.0.0.1:14000/chalZ/4NXvtht0QuzGLikz6_OuNtP9KSWE5x9OvkB5y1vJJ9c, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/2CnoMENoArkgW3qykXgv3rBDS1Phsj1E67fChNzGTc0: created acme-client: https://127.0.0.1:14000/chalZ/4NXvtht0QuzGLikz6_OuNtP9KSWE5x9OvkB5y1vJJ9c: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/c6Zf6iH9r9AL_QpxayNN2AQBHHZ2xK6CGm8FX9WLk70 acme-client: challenge, token: 2CnoMENoArkgW3qykXgv3rBDS1Phsj1E67fChNzGTc0, uri: https://127.0.0.1:14000/chalZ/4NXvtht0QuzGLikz6_OuNtP9KSWE5x9OvkB5y1vJJ9c, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/mMEoctdatl5p__VjXu41jFtI7XK_I-zoVuVxu2ZSAoU: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7a280ac761c35fb1: certificate account key: https://127.0.0.1:14000/my-account/2c7c75a2ee59d2a7 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/2c7c75a2ee59d2a7 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/2c7c75a2ee59d2a7 acme-client: https://127.0.0.1:14000/finalize-order/0V1b19EyPGWT5jp5fZTUnK4wX9zH1Hsn9oEbDLx74dw: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/046c870d680132a3: 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/2c7c75a2ee59d2a7 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/2c7c75a2ee59d2a7 acme-client: dochngreq: https://127.0.0.1:14000/authZ/SH7tb_5p2OS5B3X5a1krADKBV9s0yopw_fzGIMS7ByY acme-client: challenge, token: O260jpzYzy8d-819FVwSqJSwo5ToMHGw755zNuj9Dac, uri: https://127.0.0.1:14000/chalZ/ifR2ge7D8D5mtYyf6aCJ8JPFKojrJ4DFuKiAWbdNFro, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/O260jpzYzy8d-819FVwSqJSwo5ToMHGw755zNuj9Dac: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/TXzc41uBh9Qe_EY5Ln_Ikl6OJfQWWTZXuesQh-A6dzA acme-client: challenge, token: dCfHmES6PwnlEz5pdLgsfvGj0MZKag2JXTj_LQe1nYg, uri: https://127.0.0.1:14000/chalZ/-B-waQoGuU6efbIvFh-9xSqv6QSg2yTDs9-MV6zkhpw, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/dCfHmES6PwnlEz5pdLgsfvGj0MZKag2JXTj_LQe1nYg: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/0_yEb9qc66FLRVh2hqbWYQ1X525lwCzcP27bpgipOH4 acme-client: challenge, token: CbwMgf3QYLwCfwN2UT_jch4Arw96M2lawlsL-71u4jw, uri: https://127.0.0.1:14000/chalZ/6P2DnxFyGfNpFLjKLATRwNw5QUG9pZlbyXd1Pz4T6hE, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/CbwMgf3QYLwCfwN2UT_jch4Arw96M2lawlsL-71u4jw: created acme-client: https://127.0.0.1:14000/chalZ/ifR2ge7D8D5mtYyf6aCJ8JPFKojrJ4DFuKiAWbdNFro: challenge acme-client: https://127.0.0.1:14000/chalZ/-B-waQoGuU6efbIvFh-9xSqv6QSg2yTDs9-MV6zkhpw: challenge acme-client: https://127.0.0.1:14000/chalZ/6P2DnxFyGfNpFLjKLATRwNw5QUG9pZlbyXd1Pz4T6hE: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/SH7tb_5p2OS5B3X5a1krADKBV9s0yopw_fzGIMS7ByY acme-client: challenge, token: O260jpzYzy8d-819FVwSqJSwo5ToMHGw755zNuj9Dac, uri: https://127.0.0.1:14000/chalZ/ifR2ge7D8D5mtYyf6aCJ8JPFKojrJ4DFuKiAWbdNFro, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/TXzc41uBh9Qe_EY5Ln_Ikl6OJfQWWTZXuesQh-A6dzA acme-client: challenge, token: dCfHmES6PwnlEz5pdLgsfvGj0MZKag2JXTj_LQe1nYg, uri: https://127.0.0.1:14000/chalZ/-B-waQoGuU6efbIvFh-9xSqv6QSg2yTDs9-MV6zkhpw, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/0_yEb9qc66FLRVh2hqbWYQ1X525lwCzcP27bpgipOH4 acme-client: challenge, token: CbwMgf3QYLwCfwN2UT_jch4Arw96M2lawlsL-71u4jw, uri: https://127.0.0.1:14000/chalZ/6P2DnxFyGfNpFLjKLATRwNw5QUG9pZlbyXd1Pz4T6hE, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/jXcuf94BD7UQcJvBHYVwx8POhv3b0DVxg-VzvvGajng: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/154e8a17e67d55bb: 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/2c7c75a2ee59d2a7 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/2c7c75a2ee59d2a7 acme-client: https://127.0.0.1:14000/finalize-order/fa1n3LUhSrlQZnQUTd0V7T1Z7P5eLFwHH-t-ez3EGGY: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/749d10ff57730616: 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/2c7c75a2ee59d2a7 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"