==== 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" 45394 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/3d4fb9eae796e08a acme-client: dochngreq: https://127.0.0.1:14000/authZ/uqJ2tSbnTtHj6cMgTr0W5qXyXg6x55KpznRginW2kIg acme-client: challenge, token: qZvEFC6MKsphh79MJy_H5mEUGMphOlqtHWrGfJIfZBA, uri: https://127.0.0.1:14000/chalZ/L0n6uumJeRIrrLQO7cTW7z2fzN2WBA7tk7MzauC9iYI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/qZvEFC6MKsphh79MJy_H5mEUGMphOlqtHWrGfJIfZBA: created acme-client: https://127.0.0.1:14000/chalZ/L0n6uumJeRIrrLQO7cTW7z2fzN2WBA7tk7MzauC9iYI: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/uqJ2tSbnTtHj6cMgTr0W5qXyXg6x55KpznRginW2kIg acme-client: challenge, token: qZvEFC6MKsphh79MJy_H5mEUGMphOlqtHWrGfJIfZBA, uri: https://127.0.0.1:14000/chalZ/L0n6uumJeRIrrLQO7cTW7z2fzN2WBA7tk7MzauC9iYI, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/s5Z12pkGZQhb7eRxjvT6PDxL5Y49rE03W73AMko7B2k: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/03d446b2c4e7a91e: certificate account key: https://127.0.0.1:14000/my-account/3d4fb9eae796e08a 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/3d4fb9eae796e08a 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/3d4fb9eae796e08a acme-client: https://127.0.0.1:14000/finalize-order/tYmsiODLbl0Vj1mnIKqhA0E2SegW2Sy23Cs4cH7t3YI: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7bc0165535b9bc6c: 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/3d4fb9eae796e08a 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/3d4fb9eae796e08a acme-client: dochngreq: https://127.0.0.1:14000/authZ/HQtEkqlQ0CcHhgzReVjvskzL9F98_6xiRIbLM7v1Idg acme-client: challenge, token: cIPpGY5LO-O9rqan1o4-vI__cGVI-vQ3CCjloMXeTqA, uri: https://127.0.0.1:14000/chalZ/en0-woVVYN3Pf2KWy1q0VR3zuzFDCD9JlVDnCWJii8M, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/cIPpGY5LO-O9rqan1o4-vI__cGVI-vQ3CCjloMXeTqA: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/yQ9bGuw4uhy6cQ4J9RUAS-XpgtPAIvGsbbkvjAPHR2o acme-client: challenge, token: JwKLM5K_HcyK36b_i6htOZpl7halHFde3mUsnRWS4MQ, uri: https://127.0.0.1:14000/chalZ/WcEuTHW0guBSuJxl-PaQMqscTMytonqao5B421WMAGI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/JwKLM5K_HcyK36b_i6htOZpl7halHFde3mUsnRWS4MQ: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/uqJ2tSbnTtHj6cMgTr0W5qXyXg6x55KpznRginW2kIg acme-client: challenge, token: qZvEFC6MKsphh79MJy_H5mEUGMphOlqtHWrGfJIfZBA, uri: https://127.0.0.1:14000/chalZ/L0n6uumJeRIrrLQO7cTW7z2fzN2WBA7tk7MzauC9iYI, status: 2 acme-client: https://127.0.0.1:14000/chalZ/en0-woVVYN3Pf2KWy1q0VR3zuzFDCD9JlVDnCWJii8M: challenge acme-client: https://127.0.0.1:14000/chalZ/WcEuTHW0guBSuJxl-PaQMqscTMytonqao5B421WMAGI: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/HQtEkqlQ0CcHhgzReVjvskzL9F98_6xiRIbLM7v1Idg acme-client: challenge, token: cIPpGY5LO-O9rqan1o4-vI__cGVI-vQ3CCjloMXeTqA, uri: https://127.0.0.1:14000/chalZ/en0-woVVYN3Pf2KWy1q0VR3zuzFDCD9JlVDnCWJii8M, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/yQ9bGuw4uhy6cQ4J9RUAS-XpgtPAIvGsbbkvjAPHR2o acme-client: challenge, token: JwKLM5K_HcyK36b_i6htOZpl7halHFde3mUsnRWS4MQ, uri: https://127.0.0.1:14000/chalZ/WcEuTHW0guBSuJxl-PaQMqscTMytonqao5B421WMAGI, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/uqJ2tSbnTtHj6cMgTr0W5qXyXg6x55KpznRginW2kIg acme-client: challenge, token: qZvEFC6MKsphh79MJy_H5mEUGMphOlqtHWrGfJIfZBA, uri: https://127.0.0.1:14000/chalZ/L0n6uumJeRIrrLQO7cTW7z2fzN2WBA7tk7MzauC9iYI, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/cRf_L4rQOnWruTmCiG-adIxHkUeSZzV-LxZJHi7aEJ4: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/13c6ed095ee22ace: 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/3d4fb9eae796e08a 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/3d4fb9eae796e08a acme-client: https://127.0.0.1:14000/finalize-order/ugtFrmGzaMJ3_xeKpdiHfLTv88FMZVvBO7-zp0p-dww: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7445da2acbf6faaf: 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/3d4fb9eae796e08a 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/4646fcec5d845668 acme-client: dochngreq: https://127.0.0.1:14001/authZ/bFPfLys_mh6iOFjA7RDg5HXPKW9X05qogH1NACTrfiI acme-client: challenge, token: r9K3F2EiB0c1BkWHDSInCJL5gZsa9rBWxsBL5uM6vrk, uri: https://127.0.0.1:14001/chalZ/NUZWfxgEpZMtVNYm0NnWXYpAeMcn_iY97jafvSH0yD4, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/r9K3F2EiB0c1BkWHDSInCJL5gZsa9rBWxsBL5uM6vrk: created acme-client: https://127.0.0.1:14001/chalZ/NUZWfxgEpZMtVNYm0NnWXYpAeMcn_iY97jafvSH0yD4: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/bFPfLys_mh6iOFjA7RDg5HXPKW9X05qogH1NACTrfiI acme-client: challenge, token: r9K3F2EiB0c1BkWHDSInCJL5gZsa9rBWxsBL5uM6vrk, uri: https://127.0.0.1:14001/chalZ/NUZWfxgEpZMtVNYm0NnWXYpAeMcn_iY97jafvSH0yD4, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/Ii2GO1iVFsLXwEkmq_ZOHNnTVRyRF4oOQxJfqefQaD0: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/1fb7f60baedf4b16: certificate account key: https://127.0.0.1:14001/my-account/4646fcec5d845668 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"