==== 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" 94713 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/3fff4a9c650c741c acme-client: dochngreq: https://127.0.0.1:14000/authZ/7JZk-QNWMJttFP-Vtsi-az--PZ0ALKnu2eaZgwbbLMg acme-client: challenge, token: cJd2DLkNc4aLSV5FSB9o90zPZNE7yKB3ir2gWPw0Pcc, uri: https://127.0.0.1:14000/chalZ/GyICKiHnnpSVYnPfG7FixxffDkRAfGqVHt5oYlUW4qY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/cJd2DLkNc4aLSV5FSB9o90zPZNE7yKB3ir2gWPw0Pcc: created acme-client: https://127.0.0.1:14000/chalZ/GyICKiHnnpSVYnPfG7FixxffDkRAfGqVHt5oYlUW4qY: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/7JZk-QNWMJttFP-Vtsi-az--PZ0ALKnu2eaZgwbbLMg acme-client: challenge, token: cJd2DLkNc4aLSV5FSB9o90zPZNE7yKB3ir2gWPw0Pcc, uri: https://127.0.0.1:14000/chalZ/GyICKiHnnpSVYnPfG7FixxffDkRAfGqVHt5oYlUW4qY, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/1hqdzUrEzWzgNpAeNvAuSAmh4S6JE--Z_-dhjInCI8A: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/1ec457d96b04f3f6: certificate account key: https://127.0.0.1:14000/my-account/3fff4a9c650c741c 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/3fff4a9c650c741c 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/3fff4a9c650c741c acme-client: https://127.0.0.1:14000/finalize-order/-9nix_0mK1d6zEgWj_YHNH0vk63OMlocvoKal5L87Xw: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0ab7f3f937caed16: 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/3fff4a9c650c741c 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/3fff4a9c650c741c acme-client: dochngreq: https://127.0.0.1:14000/authZ/OKpUlfbCBjWf-DKXDfcX48SL2n8Hn0V17y4UyMCrO08 acme-client: challenge, token: 2Uh_427vHiF8WDBZmYWYPsccwhTlBeXTjLH5LV1fL9c, uri: https://127.0.0.1:14000/chalZ/WshtNmF7qPv47o8b8ZTerIr4FVx5YTfEekeHBk927KA, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/2Uh_427vHiF8WDBZmYWYPsccwhTlBeXTjLH5LV1fL9c: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/ZfwUbnqWZxu2M06NQxaq3ftnM6C2sAfZziJrkEJEo5o acme-client: challenge, token: kNLCIFmiudsyklSkv6yHP5e5X-joh3oA7dQJzKZ9IgA, uri: https://127.0.0.1:14000/chalZ/cmuXw6jDJtef9q2UvToD7c1AMgC-zRk6QsQq4FSMrrQ, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/kNLCIFmiudsyklSkv6yHP5e5X-joh3oA7dQJzKZ9IgA: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/7JZk-QNWMJttFP-Vtsi-az--PZ0ALKnu2eaZgwbbLMg acme-client: challenge, token: cJd2DLkNc4aLSV5FSB9o90zPZNE7yKB3ir2gWPw0Pcc, uri: https://127.0.0.1:14000/chalZ/GyICKiHnnpSVYnPfG7FixxffDkRAfGqVHt5oYlUW4qY, status: 2 acme-client: https://127.0.0.1:14000/chalZ/WshtNmF7qPv47o8b8ZTerIr4FVx5YTfEekeHBk927KA: challenge acme-client: https://127.0.0.1:14000/chalZ/cmuXw6jDJtef9q2UvToD7c1AMgC-zRk6QsQq4FSMrrQ: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/OKpUlfbCBjWf-DKXDfcX48SL2n8Hn0V17y4UyMCrO08 acme-client: challenge, token: 2Uh_427vHiF8WDBZmYWYPsccwhTlBeXTjLH5LV1fL9c, uri: https://127.0.0.1:14000/chalZ/WshtNmF7qPv47o8b8ZTerIr4FVx5YTfEekeHBk927KA, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/ZfwUbnqWZxu2M06NQxaq3ftnM6C2sAfZziJrkEJEo5o acme-client: challenge, token: kNLCIFmiudsyklSkv6yHP5e5X-joh3oA7dQJzKZ9IgA, uri: https://127.0.0.1:14000/chalZ/cmuXw6jDJtef9q2UvToD7c1AMgC-zRk6QsQq4FSMrrQ, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/7JZk-QNWMJttFP-Vtsi-az--PZ0ALKnu2eaZgwbbLMg acme-client: challenge, token: cJd2DLkNc4aLSV5FSB9o90zPZNE7yKB3ir2gWPw0Pcc, uri: https://127.0.0.1:14000/chalZ/GyICKiHnnpSVYnPfG7FixxffDkRAfGqVHt5oYlUW4qY, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/3W8W07Dn0fJAC1XTtwTxTeqAEGa3FNeeofk03b-19EI: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/3b0fa2e02077176b: 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/3fff4a9c650c741c 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/3fff4a9c650c741c acme-client: dochngreq: https://127.0.0.1:14000/authZ/H3Czooej_J2AnfGPGgk2thiMOA9BXYteLl93Tj-dx9s acme-client: challenge, token: eSAQ4xt_x5HXgwhjpNrJPAIEZDGGPS7NypS7Bmz_zPk, uri: https://127.0.0.1:14000/chalZ/TgYqaUVNU3veomXLCLHPKO8mRrvkKxwPTYOOBCHn1N8, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/eSAQ4xt_x5HXgwhjpNrJPAIEZDGGPS7NypS7Bmz_zPk: created acme-client: https://127.0.0.1:14000/chalZ/TgYqaUVNU3veomXLCLHPKO8mRrvkKxwPTYOOBCHn1N8: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/H3Czooej_J2AnfGPGgk2thiMOA9BXYteLl93Tj-dx9s acme-client: challenge, token: eSAQ4xt_x5HXgwhjpNrJPAIEZDGGPS7NypS7Bmz_zPk, uri: https://127.0.0.1:14000/chalZ/TgYqaUVNU3veomXLCLHPKO8mRrvkKxwPTYOOBCHn1N8, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/rUJNGwNAx9FEU9vx2TIpjtIKTlD7-N2GkZQ21zV-RG0: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/337e5215b83da3d2: 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/3fff4a9c650c741c 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"