==== 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" 90549 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/7ed5f0ff9266c954 acme-client: dochngreq: https://127.0.0.1:14000/authZ/OU-ZMLj8fI_KHTm98YXNlnFjvITmlQbE7P_y-IaE1FI acme-client: challenge, token: lZgWOAN0emN5Xt9mQMuxLmDkoZ6iJCboxfANrkIQ224, uri: https://127.0.0.1:14000/chalZ/zn55qiLUTnz6UUWZhiGeUEAFUiO1NjnMaVhOe4hJwp8, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/lZgWOAN0emN5Xt9mQMuxLmDkoZ6iJCboxfANrkIQ224: created acme-client: https://127.0.0.1:14000/chalZ/zn55qiLUTnz6UUWZhiGeUEAFUiO1NjnMaVhOe4hJwp8: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/OU-ZMLj8fI_KHTm98YXNlnFjvITmlQbE7P_y-IaE1FI acme-client: challenge, token: lZgWOAN0emN5Xt9mQMuxLmDkoZ6iJCboxfANrkIQ224, uri: https://127.0.0.1:14000/chalZ/zn55qiLUTnz6UUWZhiGeUEAFUiO1NjnMaVhOe4hJwp8, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/8FCmOeKWrMyytklI3v-P3y7dRtVEBUkEISBwJrAuyY0: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/5d0a3f1e358867fd: certificate account key: https://127.0.0.1:14000/my-account/7ed5f0ff9266c954 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/7ed5f0ff9266c954 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/7ed5f0ff9266c954 acme-client: https://127.0.0.1:14000/finalize-order/Wc3mJutR1fs5VUhN7tZC94cDNlZT-SbNwmL8S04uTIk: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0c51bb914e50c7e6: 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/7ed5f0ff9266c954 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/7ed5f0ff9266c954 acme-client: dochngreq: https://127.0.0.1:14000/authZ/0v8EZ7nUJ0hmkbeLsCmKPAlqe1M62JZzRlf2mghXOEY acme-client: challenge, token: g2hpuA4rqa8gF6VlPJXHDnPHKRB3OmhQi90G7Ym2_go, uri: https://127.0.0.1:14000/chalZ/EnwfYyHClc_ryd8W0rm8x3aCa9Kmt-hK8pL33EiYazU, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/g2hpuA4rqa8gF6VlPJXHDnPHKRB3OmhQi90G7Ym2_go: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/JzUnTlwLDX2NaLO69tTSagMNXIeZTfKXITzbLrgH1yg acme-client: challenge, token: 1zujYxNNiJqbjHaCwmgaghmT3hQrV92V5ME2c3VlNCc, uri: https://127.0.0.1:14000/chalZ/C-C-8aMrx9-A227hGY6ig_dfFMtjNvLwNQ92WxYZWVs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/1zujYxNNiJqbjHaCwmgaghmT3hQrV92V5ME2c3VlNCc: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/OU-ZMLj8fI_KHTm98YXNlnFjvITmlQbE7P_y-IaE1FI acme-client: challenge, token: lZgWOAN0emN5Xt9mQMuxLmDkoZ6iJCboxfANrkIQ224, uri: https://127.0.0.1:14000/chalZ/zn55qiLUTnz6UUWZhiGeUEAFUiO1NjnMaVhOe4hJwp8, status: 2 acme-client: https://127.0.0.1:14000/chalZ/EnwfYyHClc_ryd8W0rm8x3aCa9Kmt-hK8pL33EiYazU: challenge acme-client: https://127.0.0.1:14000/chalZ/C-C-8aMrx9-A227hGY6ig_dfFMtjNvLwNQ92WxYZWVs: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/0v8EZ7nUJ0hmkbeLsCmKPAlqe1M62JZzRlf2mghXOEY acme-client: challenge, token: g2hpuA4rqa8gF6VlPJXHDnPHKRB3OmhQi90G7Ym2_go, uri: https://127.0.0.1:14000/chalZ/EnwfYyHClc_ryd8W0rm8x3aCa9Kmt-hK8pL33EiYazU, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/JzUnTlwLDX2NaLO69tTSagMNXIeZTfKXITzbLrgH1yg acme-client: challenge, token: 1zujYxNNiJqbjHaCwmgaghmT3hQrV92V5ME2c3VlNCc, uri: https://127.0.0.1:14000/chalZ/C-C-8aMrx9-A227hGY6ig_dfFMtjNvLwNQ92WxYZWVs, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/OU-ZMLj8fI_KHTm98YXNlnFjvITmlQbE7P_y-IaE1FI acme-client: challenge, token: lZgWOAN0emN5Xt9mQMuxLmDkoZ6iJCboxfANrkIQ224, uri: https://127.0.0.1:14000/chalZ/zn55qiLUTnz6UUWZhiGeUEAFUiO1NjnMaVhOe4hJwp8, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/kIxJBAoapDwn0TDIMLLP74zBrKUHCvrTVW5orRksZ4I: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/2c69171616b73f1a: 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/7ed5f0ff9266c954 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/7ed5f0ff9266c954 acme-client: https://127.0.0.1:14000/finalize-order/xYPxbGktUU5MYuhIEzEhwwMdyOADCZojS_itOwMJqGw: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/77bf26c66e6c2c95: 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/7ed5f0ff9266c954 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/7135a8954732e4a5 acme-client: dochngreq: https://127.0.0.1:14001/authZ/W_jmhU1s3HGSWcEJZANpWb_Vg0-0U-Pjksfyd2hVK4E acme-client: challenge, token: APRmsLtIJb0foqKu9eSASJ11YhsLpsUyjdUnRk0YSS8, uri: https://127.0.0.1:14001/chalZ/m5IdQa7V8E1u-cKS9hy8bOVz9HgF6oDnurcWe3tDtL8, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/APRmsLtIJb0foqKu9eSASJ11YhsLpsUyjdUnRk0YSS8: created acme-client: https://127.0.0.1:14001/chalZ/m5IdQa7V8E1u-cKS9hy8bOVz9HgF6oDnurcWe3tDtL8: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/W_jmhU1s3HGSWcEJZANpWb_Vg0-0U-Pjksfyd2hVK4E acme-client: challenge, token: APRmsLtIJb0foqKu9eSASJ11YhsLpsUyjdUnRk0YSS8, uri: https://127.0.0.1:14001/chalZ/m5IdQa7V8E1u-cKS9hy8bOVz9HgF6oDnurcWe3tDtL8, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/pf5SCWVuBQUHcH8mHbsDPnEDgpt493_bpGgNgwof0dQ: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/3e21d9b53bab0eb6: certificate account key: https://127.0.0.1:14001/my-account/7135a8954732e4a5 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"