==== 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" 85217 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/44f824c798e4641d acme-client: dochngreq: https://127.0.0.1:14000/authZ/3-TLRaVasencDn7YE7SWdDJ5FgqEaox9MadJcX1fnTw acme-client: challenge, token: sCBPxztOcyAJ3TnvqZhqqKIe5MG7E_xGFlIHVtPlrIE, uri: https://127.0.0.1:14000/chalZ/4gUSTywTRPy1vNeaQptbGAp3zd-Cev7b4HpQhT73jp8, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/sCBPxztOcyAJ3TnvqZhqqKIe5MG7E_xGFlIHVtPlrIE: created acme-client: https://127.0.0.1:14000/chalZ/4gUSTywTRPy1vNeaQptbGAp3zd-Cev7b4HpQhT73jp8: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/3-TLRaVasencDn7YE7SWdDJ5FgqEaox9MadJcX1fnTw acme-client: challenge, token: sCBPxztOcyAJ3TnvqZhqqKIe5MG7E_xGFlIHVtPlrIE, uri: https://127.0.0.1:14000/chalZ/4gUSTywTRPy1vNeaQptbGAp3zd-Cev7b4HpQhT73jp8, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/fKrzoCmC2gsA3Kxu0j5Xe5h58onDMpolZoLfOmJppgI: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/1834c6e38d273dc2: certificate account key: https://127.0.0.1:14000/my-account/44f824c798e4641d 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/44f824c798e4641d 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/44f824c798e4641d acme-client: https://127.0.0.1:14000/finalize-order/Vlk8sWG-VtJIrsz-1p7-9xYtj89bl3xl0CmjOAOjhnU: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/387c18855be8e90e: 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/44f824c798e4641d 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/44f824c798e4641d acme-client: dochngreq: https://127.0.0.1:14000/authZ/xaiEedPmEWsPKDu-IjgxGSwFybqhDmvpWJLqA15Rod8 acme-client: challenge, token: KZh3btYIT5y42OAQUVlAw6Z5Iz275l4FtLUkTuR30yI, uri: https://127.0.0.1:14000/chalZ/Q1uC97ECw2E2mf1PoBzo3-BZNJj9JyKaGJj-KisNVKo, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/KZh3btYIT5y42OAQUVlAw6Z5Iz275l4FtLUkTuR30yI: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/xhW68SkfgLHjERY16rb5U1pHzU5W9R66fVayB52rj14 acme-client: challenge, token: vI6WHWAflSkwAukW5R-oE6BMglS1uVPGwuaeg7-8EC8, uri: https://127.0.0.1:14000/chalZ/rUBxQ2IBHjFByi80dVvtkUF73uhaBs5SPBUJgBNxEYs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/vI6WHWAflSkwAukW5R-oE6BMglS1uVPGwuaeg7-8EC8: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/bzkeCA-C5cK0Ct9zSBswdyWscpA54_IEAwyujtk8OS4 acme-client: challenge, token: ClwHHvxEZNApkPVpqkqmX9oE8ENliFek-z6DxHo3qCQ, uri: https://127.0.0.1:14000/chalZ/M9fCcZRWKf9-hvr2HKXNntv4FQUSW6Lu4tC___1iubI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/ClwHHvxEZNApkPVpqkqmX9oE8ENliFek-z6DxHo3qCQ: created acme-client: https://127.0.0.1:14000/chalZ/Q1uC97ECw2E2mf1PoBzo3-BZNJj9JyKaGJj-KisNVKo: challenge acme-client: https://127.0.0.1:14000/chalZ/rUBxQ2IBHjFByi80dVvtkUF73uhaBs5SPBUJgBNxEYs: challenge acme-client: https://127.0.0.1:14000/chalZ/M9fCcZRWKf9-hvr2HKXNntv4FQUSW6Lu4tC___1iubI: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/xaiEedPmEWsPKDu-IjgxGSwFybqhDmvpWJLqA15Rod8 acme-client: challenge, token: KZh3btYIT5y42OAQUVlAw6Z5Iz275l4FtLUkTuR30yI, uri: https://127.0.0.1:14000/chalZ/Q1uC97ECw2E2mf1PoBzo3-BZNJj9JyKaGJj-KisNVKo, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/xhW68SkfgLHjERY16rb5U1pHzU5W9R66fVayB52rj14 acme-client: challenge, token: vI6WHWAflSkwAukW5R-oE6BMglS1uVPGwuaeg7-8EC8, uri: https://127.0.0.1:14000/chalZ/rUBxQ2IBHjFByi80dVvtkUF73uhaBs5SPBUJgBNxEYs, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/bzkeCA-C5cK0Ct9zSBswdyWscpA54_IEAwyujtk8OS4 acme-client: challenge, token: ClwHHvxEZNApkPVpqkqmX9oE8ENliFek-z6DxHo3qCQ, uri: https://127.0.0.1:14000/chalZ/M9fCcZRWKf9-hvr2HKXNntv4FQUSW6Lu4tC___1iubI, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/doWOfDP2KNgZkbdF-JrB-_8Rnt0tC-qVZ9LkN2jrsyQ: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0bfd9a1ecf0d3a57: 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/44f824c798e4641d 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/44f824c798e4641d acme-client: dochngreq: https://127.0.0.1:14000/authZ/iMmSZ-GbK_Z_XTqwI25EZjGxVARVTRBDOzwKykgL3UE acme-client: challenge, token: 3mCqNHNXKrA9iKfdauWsGYN4B4EF4GF_ySoz1vCLugw, uri: https://127.0.0.1:14000/chalZ/EvLM6bxFzG3RRN1L4gkPlfJBHGTNvz23qx2AVeINXy4, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/3mCqNHNXKrA9iKfdauWsGYN4B4EF4GF_ySoz1vCLugw: created acme-client: https://127.0.0.1:14000/chalZ/EvLM6bxFzG3RRN1L4gkPlfJBHGTNvz23qx2AVeINXy4: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/iMmSZ-GbK_Z_XTqwI25EZjGxVARVTRBDOzwKykgL3UE acme-client: challenge, token: 3mCqNHNXKrA9iKfdauWsGYN4B4EF4GF_ySoz1vCLugw, uri: https://127.0.0.1:14000/chalZ/EvLM6bxFzG3RRN1L4gkPlfJBHGTNvz23qx2AVeINXy4, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/IPZLjwgf8o7scZyyuh1XdHpyqoPY0gtd2gTHaglJANg: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7f8019cb4355bd57: 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/44f824c798e4641d 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"