==== 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" 25224 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/3ff50b4fd972bae3 acme-client: dochngreq: https://127.0.0.1:14000/authZ/0JR_6k8lUeqoJMBXeao16R-wv1ey--uvedsNLPY5ktk acme-client: challenge, token: JQ27e_gPhImm0JDU0XH91m3dnAIGUI27-kzgCZh8ncg, uri: https://127.0.0.1:14000/chalZ/LdZ2GcT2hSOfMToiS_c_lLGz1ogfQxMjmJxv8EjDhNg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/JQ27e_gPhImm0JDU0XH91m3dnAIGUI27-kzgCZh8ncg: created acme-client: https://127.0.0.1:14000/chalZ/LdZ2GcT2hSOfMToiS_c_lLGz1ogfQxMjmJxv8EjDhNg: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/0JR_6k8lUeqoJMBXeao16R-wv1ey--uvedsNLPY5ktk acme-client: challenge, token: JQ27e_gPhImm0JDU0XH91m3dnAIGUI27-kzgCZh8ncg, uri: https://127.0.0.1:14000/chalZ/LdZ2GcT2hSOfMToiS_c_lLGz1ogfQxMjmJxv8EjDhNg, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/549LYpvqO2nolSAjznYxUIKosZV90O2Jw2SqhVeyhpQ: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/64301770ff7b5553: certificate account key: https://127.0.0.1:14000/my-account/3ff50b4fd972bae3 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/3ff50b4fd972bae3 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/3ff50b4fd972bae3 acme-client: dochngreq: https://127.0.0.1:14000/authZ/lF-qNP_7AEaQNniqN6g1jAjr13hqTUAbp6UqNrr9Psk acme-client: challenge, token: DZk0lHgQ4w9mEG5dxTKX8mRGrl8rxWzYCkgLATlm37U, uri: https://127.0.0.1:14000/chalZ/Ar2pC8KST0Mn7E8L2AEUoGfaxrph1mA4ogSUljL7Baw, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/DZk0lHgQ4w9mEG5dxTKX8mRGrl8rxWzYCkgLATlm37U: created acme-client: https://127.0.0.1:14000/chalZ/Ar2pC8KST0Mn7E8L2AEUoGfaxrph1mA4ogSUljL7Baw: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/lF-qNP_7AEaQNniqN6g1jAjr13hqTUAbp6UqNrr9Psk acme-client: challenge, token: DZk0lHgQ4w9mEG5dxTKX8mRGrl8rxWzYCkgLATlm37U, uri: https://127.0.0.1:14000/chalZ/Ar2pC8KST0Mn7E8L2AEUoGfaxrph1mA4ogSUljL7Baw, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/VO6IDArSttNOJ-w41Vm0epoXwJpyfMYU0dPs7qBT7Ew: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/509f32214bb7f57d: 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/3ff50b4fd972bae3 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/3ff50b4fd972bae3 acme-client: dochngreq: https://127.0.0.1:14000/authZ/bAIYGodHUAdPRypB7lJQZXh4K7eX3E1wowEenBFhwnM acme-client: challenge, token: PRJqninMLh8_eFescDLeYSyA191DUa2FNoDXfhHdKpo, uri: https://127.0.0.1:14000/chalZ/CRXzLjdC5Gs9R3cPzpF4fcZ12xfyWltYnHme3Iwb31w, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/PRJqninMLh8_eFescDLeYSyA191DUa2FNoDXfhHdKpo: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/0JR_6k8lUeqoJMBXeao16R-wv1ey--uvedsNLPY5ktk acme-client: challenge, token: JQ27e_gPhImm0JDU0XH91m3dnAIGUI27-kzgCZh8ncg, uri: https://127.0.0.1:14000/chalZ/LdZ2GcT2hSOfMToiS_c_lLGz1ogfQxMjmJxv8EjDhNg, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Z08KnAwCQ20TqLcCF8XY4kpJ5ga-dFdnGpweSBGJeZw acme-client: challenge, token: I9TvfiG34O7AyfZXbI9BcJbElTrxDqxi7eWUUIYs0-k, uri: https://127.0.0.1:14000/chalZ/gbj-LN0xsPoCOcFDOkydrXFk4KTjE6F6TURHWZDsFu8, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/I9TvfiG34O7AyfZXbI9BcJbElTrxDqxi7eWUUIYs0-k: created acme-client: https://127.0.0.1:14000/chalZ/CRXzLjdC5Gs9R3cPzpF4fcZ12xfyWltYnHme3Iwb31w: challenge acme-client: https://127.0.0.1:14000/chalZ/gbj-LN0xsPoCOcFDOkydrXFk4KTjE6F6TURHWZDsFu8: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/bAIYGodHUAdPRypB7lJQZXh4K7eX3E1wowEenBFhwnM acme-client: challenge, token: PRJqninMLh8_eFescDLeYSyA191DUa2FNoDXfhHdKpo, uri: https://127.0.0.1:14000/chalZ/CRXzLjdC5Gs9R3cPzpF4fcZ12xfyWltYnHme3Iwb31w, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/0JR_6k8lUeqoJMBXeao16R-wv1ey--uvedsNLPY5ktk acme-client: challenge, token: JQ27e_gPhImm0JDU0XH91m3dnAIGUI27-kzgCZh8ncg, uri: https://127.0.0.1:14000/chalZ/LdZ2GcT2hSOfMToiS_c_lLGz1ogfQxMjmJxv8EjDhNg, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Z08KnAwCQ20TqLcCF8XY4kpJ5ga-dFdnGpweSBGJeZw acme-client: challenge, token: I9TvfiG34O7AyfZXbI9BcJbElTrxDqxi7eWUUIYs0-k, uri: https://127.0.0.1:14000/chalZ/gbj-LN0xsPoCOcFDOkydrXFk4KTjE6F6TURHWZDsFu8, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/dylvDdtK-TlAYYGWTtkbNA7wiNfj49ETwhDVXvPTVOc: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/5a1f548a45541074: 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/3ff50b4fd972bae3 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/3ff50b4fd972bae3 acme-client: dochngreq: https://127.0.0.1:14000/authZ/sjKHFGei5xVH7Nf4Z1GFc0YcLBoAUHuPxvTwOgN18zI acme-client: challenge, token: U_jGqbimeT9wWxwu1mxnwifSUH46d9zGPejWpk2Dx40, uri: https://127.0.0.1:14000/chalZ/eXOxyksqvIAXvO6w33bYIdOjYyiKUv9Fa29iuinMAlo, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/U_jGqbimeT9wWxwu1mxnwifSUH46d9zGPejWpk2Dx40: created acme-client: https://127.0.0.1:14000/chalZ/eXOxyksqvIAXvO6w33bYIdOjYyiKUv9Fa29iuinMAlo: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/sjKHFGei5xVH7Nf4Z1GFc0YcLBoAUHuPxvTwOgN18zI acme-client: challenge, token: U_jGqbimeT9wWxwu1mxnwifSUH46d9zGPejWpk2Dx40, uri: https://127.0.0.1:14000/chalZ/eXOxyksqvIAXvO6w33bYIdOjYyiKUv9Fa29iuinMAlo, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/dUhvo7k3Rdqsk2LE5GEGY1wQa_vTG7OY4xDSCNnXOyM: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7ac95d994d5dbb0a: 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/3ff50b4fd972bae3 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"