==== 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" 68737 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/ffd616fc42bfff6 acme-client: dochngreq: https://127.0.0.1:14000/authZ/orfHRB-Do2ecHkOiryzobwp3NYHJGfFYoAkcYOd1NvY acme-client: challenge, token: PdlAGileTIgq-_KVem0Eid-AyQ_KXYBu7bnoidScAiY, uri: https://127.0.0.1:14000/chalZ/sBViEYJ6T9ksqK3ixnzkCjrJYSKGbBZpWxzaRf5T5o8, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/PdlAGileTIgq-_KVem0Eid-AyQ_KXYBu7bnoidScAiY: created acme-client: https://127.0.0.1:14000/chalZ/sBViEYJ6T9ksqK3ixnzkCjrJYSKGbBZpWxzaRf5T5o8: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/orfHRB-Do2ecHkOiryzobwp3NYHJGfFYoAkcYOd1NvY acme-client: challenge, token: PdlAGileTIgq-_KVem0Eid-AyQ_KXYBu7bnoidScAiY, uri: https://127.0.0.1:14000/chalZ/sBViEYJ6T9ksqK3ixnzkCjrJYSKGbBZpWxzaRf5T5o8, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/kdW5P3QRhUt-uPEYPKUZEIszysO526yBW_BCblLUmKM: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/471eaeeaabf66c2e: certificate account key: https://127.0.0.1:14000/my-account/ffd616fc42bfff6 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/ffd616fc42bfff6 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/ffd616fc42bfff6 acme-client: dochngreq: https://127.0.0.1:14000/authZ/wqLTlmRChITT38Z7ea36cXKbcgB5xIvwwVy2WMJoLHk acme-client: challenge, token: 2f5h437-DLBV_EndejmoIBI56UY2qOkrXb4O5nfehvo, uri: https://127.0.0.1:14000/chalZ/Q23UEdGd-RcVPeXzMYU2Mp410dZOijmWE50lb5zsexg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/2f5h437-DLBV_EndejmoIBI56UY2qOkrXb4O5nfehvo: created acme-client: https://127.0.0.1:14000/chalZ/Q23UEdGd-RcVPeXzMYU2Mp410dZOijmWE50lb5zsexg: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/wqLTlmRChITT38Z7ea36cXKbcgB5xIvwwVy2WMJoLHk acme-client: challenge, token: 2f5h437-DLBV_EndejmoIBI56UY2qOkrXb4O5nfehvo, uri: https://127.0.0.1:14000/chalZ/Q23UEdGd-RcVPeXzMYU2Mp410dZOijmWE50lb5zsexg, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/364vajs_yYb_Slt86VZokXTIk7ffFxCELTEcWIX32lk: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0ac82b79638f6c7d: 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/ffd616fc42bfff6 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/ffd616fc42bfff6 acme-client: dochngreq: https://127.0.0.1:14000/authZ/YE2QeY8VulKdLCYGdOfxpovqU8S4d4PI0ADmJ6HfzU4 acme-client: challenge, token: Wvqn1VeDBlTfUuUduMgdxY5mIzugFoL4OYBkpCUuqv0, uri: https://127.0.0.1:14000/chalZ/bGDWAVNmwA8Lymx6u2bagj1oXitlfOSHB89W0n0ZoIQ, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Wvqn1VeDBlTfUuUduMgdxY5mIzugFoL4OYBkpCUuqv0: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/E0AbnOtx7PqJPTQINaX9kXVXRtBQ405Z0HkOYBprI7s acme-client: challenge, token: aL4r8uADrEbejv2qQYTznvC1cDp2iYxrThCfGyJlAAU, uri: https://127.0.0.1:14000/chalZ/plIF8wUMfU-rp_pZlhWga8j3WUSFJOWCNEjYBtJLrXU, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/aL4r8uADrEbejv2qQYTznvC1cDp2iYxrThCfGyJlAAU: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/X2yZCRCPVnLu5mAA_i7s1zWOnCU5bmrwtXQanTz3_Vc acme-client: challenge, token: EFJVBfd9zfa-AGG2TDFtoM77jsj3v-lnFZAYrSnhyl4, uri: https://127.0.0.1:14000/chalZ/1bdqVHW9fmQKSS_1CD_PfYFseX8IC5nhbowv8iKy24g, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/EFJVBfd9zfa-AGG2TDFtoM77jsj3v-lnFZAYrSnhyl4: created acme-client: https://127.0.0.1:14000/chalZ/bGDWAVNmwA8Lymx6u2bagj1oXitlfOSHB89W0n0ZoIQ: challenge acme-client: https://127.0.0.1:14000/chalZ/plIF8wUMfU-rp_pZlhWga8j3WUSFJOWCNEjYBtJLrXU: challenge acme-client: https://127.0.0.1:14000/chalZ/1bdqVHW9fmQKSS_1CD_PfYFseX8IC5nhbowv8iKy24g: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/YE2QeY8VulKdLCYGdOfxpovqU8S4d4PI0ADmJ6HfzU4 acme-client: challenge, token: Wvqn1VeDBlTfUuUduMgdxY5mIzugFoL4OYBkpCUuqv0, uri: https://127.0.0.1:14000/chalZ/bGDWAVNmwA8Lymx6u2bagj1oXitlfOSHB89W0n0ZoIQ, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/E0AbnOtx7PqJPTQINaX9kXVXRtBQ405Z0HkOYBprI7s acme-client: challenge, token: aL4r8uADrEbejv2qQYTznvC1cDp2iYxrThCfGyJlAAU, uri: https://127.0.0.1:14000/chalZ/plIF8wUMfU-rp_pZlhWga8j3WUSFJOWCNEjYBtJLrXU, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/X2yZCRCPVnLu5mAA_i7s1zWOnCU5bmrwtXQanTz3_Vc acme-client: challenge, token: EFJVBfd9zfa-AGG2TDFtoM77jsj3v-lnFZAYrSnhyl4, uri: https://127.0.0.1:14000/chalZ/1bdqVHW9fmQKSS_1CD_PfYFseX8IC5nhbowv8iKy24g, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/uHzdOOwmB2mLuXMd1X-pkU8Acef2O4pU72-p_--nS7U: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/54c0c08b41c9305c: 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/ffd616fc42bfff6 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/ffd616fc42bfff6 acme-client: dochngreq: https://127.0.0.1:14000/authZ/C68ykq3kvvdjjdAjs2BKx8QqVh6bEZVaBafJojAAwVM acme-client: challenge, token: VuClRPE9jogmr4CJK7f5h7ySM8tgN1pM7Pih6kZceo0, uri: https://127.0.0.1:14000/chalZ/HTRdB3fPtFESSGibeL9Wk7UTIQdzTYVOiP9RCd8JKUA, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/VuClRPE9jogmr4CJK7f5h7ySM8tgN1pM7Pih6kZceo0: created acme-client: https://127.0.0.1:14000/chalZ/HTRdB3fPtFESSGibeL9Wk7UTIQdzTYVOiP9RCd8JKUA: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/C68ykq3kvvdjjdAjs2BKx8QqVh6bEZVaBafJojAAwVM acme-client: challenge, token: VuClRPE9jogmr4CJK7f5h7ySM8tgN1pM7Pih6kZceo0, uri: https://127.0.0.1:14000/chalZ/HTRdB3fPtFESSGibeL9Wk7UTIQdzTYVOiP9RCd8JKUA, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/WDPgox8cLC1axN6SS3dclSWhLi7sG7XkAtchmQtCUqQ: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/15c1b97758d4c9d0: 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/ffd616fc42bfff6 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"