==== 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" 79990 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/7f911e179bb878bf acme-client: dochngreq: https://127.0.0.1:14000/authZ/KTfGmamXtmaH312dR2ITs32sIZ3SAYgqjFS9XlqhYKE acme-client: challenge, token: 8nJklQAi2AVxPA8fbuKYyc_XC_MEq92TWVih1In-ujk, uri: https://127.0.0.1:14000/chalZ/srjmyhC660VJqFpsSQGonvOc6ulW6cI_sFQ4YsQxZkg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/8nJklQAi2AVxPA8fbuKYyc_XC_MEq92TWVih1In-ujk: created acme-client: https://127.0.0.1:14000/chalZ/srjmyhC660VJqFpsSQGonvOc6ulW6cI_sFQ4YsQxZkg: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/KTfGmamXtmaH312dR2ITs32sIZ3SAYgqjFS9XlqhYKE acme-client: challenge, token: 8nJklQAi2AVxPA8fbuKYyc_XC_MEq92TWVih1In-ujk, uri: https://127.0.0.1:14000/chalZ/srjmyhC660VJqFpsSQGonvOc6ulW6cI_sFQ4YsQxZkg, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/GOOcaAZB8UUYGr4KW7l8dfO2VjD0YbH7zUtGfxnXh2s: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/288b7f316a650a64: certificate account key: https://127.0.0.1:14000/my-account/7f911e179bb878bf 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/7f911e179bb878bf 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/7f911e179bb878bf acme-client: dochngreq: https://127.0.0.1:14000/authZ/hvJPN4k2dnJbB1KIoagLJD67On1yWCtBRe6I__zO5l8 acme-client: challenge, token: LOPBjnqIyYpz0B54qjwdvDRl3FXE3CmOUNoFzXZHuKk, uri: https://127.0.0.1:14000/chalZ/DFT97oDbQbYYvXqH9BOyoEYr21jHp9ivrCJOY8XuS24, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/LOPBjnqIyYpz0B54qjwdvDRl3FXE3CmOUNoFzXZHuKk: created acme-client: https://127.0.0.1:14000/chalZ/DFT97oDbQbYYvXqH9BOyoEYr21jHp9ivrCJOY8XuS24: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/hvJPN4k2dnJbB1KIoagLJD67On1yWCtBRe6I__zO5l8 acme-client: challenge, token: LOPBjnqIyYpz0B54qjwdvDRl3FXE3CmOUNoFzXZHuKk, uri: https://127.0.0.1:14000/chalZ/DFT97oDbQbYYvXqH9BOyoEYr21jHp9ivrCJOY8XuS24, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/kQF3FXBf11YBLenalR5mQW54-lQJz4ZAeK9IHfIok0w: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/39afe3559b87f34b: 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/7f911e179bb878bf 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/7f911e179bb878bf acme-client: dochngreq: https://127.0.0.1:14000/authZ/-vXzsZNf9ubRaXMZRYuvvFbHhLNPTPbdkaemIDkQlwQ acme-client: challenge, token: v8pDTa_Rbx-LbOsodTQJp21HN8Q9WqWk9ak8xOUFgOY, uri: https://127.0.0.1:14000/chalZ/zS83LzzrL1afF-MZg1IM1BQtaARsfM3h6zJ19q9FaSM, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/v8pDTa_Rbx-LbOsodTQJp21HN8Q9WqWk9ak8xOUFgOY: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/Cz3BW7HVtUDUl34_jo7ORZM-XmaoNDqMUYt7bW9cXkM acme-client: challenge, token: 7Zvh19IaPjZgWcZdn_BTv023LJrGMqaPJinWaxd9cmU, uri: https://127.0.0.1:14000/chalZ/Js_zqKlsI_N2ySYlOb741zlCibwrBNPdxRuYiTl3_oE, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/7Zvh19IaPjZgWcZdn_BTv023LJrGMqaPJinWaxd9cmU: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/TQOfxjomQfw3r3-rTv2aMIQwiBw6F9zptRwfedyvgqI acme-client: challenge, token: CZsTfrZMeSFfIszYplf0vmlNGPgVAr0HkrgKY-Za2CU, uri: https://127.0.0.1:14000/chalZ/gq1AZJLWe4-z2r5PHgnOP2QfQyaLRwf51ORKPHQMpK0, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/CZsTfrZMeSFfIszYplf0vmlNGPgVAr0HkrgKY-Za2CU: created acme-client: https://127.0.0.1:14000/chalZ/zS83LzzrL1afF-MZg1IM1BQtaARsfM3h6zJ19q9FaSM: challenge acme-client: https://127.0.0.1:14000/chalZ/Js_zqKlsI_N2ySYlOb741zlCibwrBNPdxRuYiTl3_oE: challenge acme-client: https://127.0.0.1:14000/chalZ/gq1AZJLWe4-z2r5PHgnOP2QfQyaLRwf51ORKPHQMpK0: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/-vXzsZNf9ubRaXMZRYuvvFbHhLNPTPbdkaemIDkQlwQ acme-client: challenge, token: v8pDTa_Rbx-LbOsodTQJp21HN8Q9WqWk9ak8xOUFgOY, uri: https://127.0.0.1:14000/chalZ/zS83LzzrL1afF-MZg1IM1BQtaARsfM3h6zJ19q9FaSM, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Cz3BW7HVtUDUl34_jo7ORZM-XmaoNDqMUYt7bW9cXkM acme-client: challenge, token: 7Zvh19IaPjZgWcZdn_BTv023LJrGMqaPJinWaxd9cmU, uri: https://127.0.0.1:14000/chalZ/Js_zqKlsI_N2ySYlOb741zlCibwrBNPdxRuYiTl3_oE, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/TQOfxjomQfw3r3-rTv2aMIQwiBw6F9zptRwfedyvgqI acme-client: challenge, token: CZsTfrZMeSFfIszYplf0vmlNGPgVAr0HkrgKY-Za2CU, uri: https://127.0.0.1:14000/chalZ/gq1AZJLWe4-z2r5PHgnOP2QfQyaLRwf51ORKPHQMpK0, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/lmSxMP07iLRacuNmmch9X9YDzkcVf22PF94IacIwkwo: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/471304066c1e17d9: 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/7f911e179bb878bf 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/7f911e179bb878bf acme-client: https://127.0.0.1:14000/finalize-order/n4cqowwCTJrVeEDyq5ZZ3SJz6MPDzZy0WDRaPWbB3Kc: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/68aa7959fb83af56: 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/7f911e179bb878bf 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"