==== 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" 87402 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/288d8d41f3b29fd3 acme-client: dochngreq: https://127.0.0.1:14000/authZ/SYoSqndhrd6GucbccNAIgJ0aWKsP5x7HNwdSjxNrGZk acme-client: challenge, token: aRVZaqoyerIJvsJ3Iar271Q3JZjJUMd7yAa6lN7Tj20, uri: https://127.0.0.1:14000/chalZ/Q459GDQ3ol4N70FrINJR2NXxDKm5FbOWBNVxzBKtF9A, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/aRVZaqoyerIJvsJ3Iar271Q3JZjJUMd7yAa6lN7Tj20: created acme-client: https://127.0.0.1:14000/chalZ/Q459GDQ3ol4N70FrINJR2NXxDKm5FbOWBNVxzBKtF9A: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/SYoSqndhrd6GucbccNAIgJ0aWKsP5x7HNwdSjxNrGZk acme-client: challenge, token: aRVZaqoyerIJvsJ3Iar271Q3JZjJUMd7yAa6lN7Tj20, uri: https://127.0.0.1:14000/chalZ/Q459GDQ3ol4N70FrINJR2NXxDKm5FbOWBNVxzBKtF9A, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/uoHFXqZZrqzHMTdD7MjUcUzdXYQGMYRZpTmpcoSqluc: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/27a2bdb1dcb1bfce: certificate account key: https://127.0.0.1:14000/my-account/288d8d41f3b29fd3 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/288d8d41f3b29fd3 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/288d8d41f3b29fd3 acme-client: https://127.0.0.1:14000/finalize-order/o2eVhtIvjkERlNY8Df7257SvxgNvQ6qiXIvq0xK0fls: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/5aa44fcad29c36c0: 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/288d8d41f3b29fd3 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/288d8d41f3b29fd3 acme-client: dochngreq: https://127.0.0.1:14000/authZ/XKbxlri2s_gyTrdKJUPgUJqCLX3xoh8Am0pYVXWoSZQ acme-client: challenge, token: OwgZA8UT_r3ih0i38iJZO8z64sdjMmYvKFetZSF7GgE, uri: https://127.0.0.1:14000/chalZ/VwQ8x5tEi7OG5leJhyEoXvImrFPhRPTZybFYBqXmthc, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/OwgZA8UT_r3ih0i38iJZO8z64sdjMmYvKFetZSF7GgE: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/tpiBNCkf4JtbR0ADG0rG-s3W1xtPQmbIy-9K0tK6fjo acme-client: challenge, token: _Q38oMRf7ARP0qWa09oNFT3apKjzU3XpB0cKMUpAJEw, uri: https://127.0.0.1:14000/chalZ/sAelWs4ZW9g1sByhf0o0v4LVC8R8MGUFxLM3w3gGx84, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/_Q38oMRf7ARP0qWa09oNFT3apKjzU3XpB0cKMUpAJEw: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/6jtiP-cMHxz-_ioLEW6D8GT0i5DA6TCImDuKCvuKHT4 acme-client: challenge, token: 7SQyKgad3K5nY5Lcd37AKjik-kjcTzfMkIZ_2mJQce0, uri: https://127.0.0.1:14000/chalZ/W39KjcREEZxuuneEB2F4YghO9XSOMNJ7No4_V_pXhJA, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/7SQyKgad3K5nY5Lcd37AKjik-kjcTzfMkIZ_2mJQce0: created acme-client: https://127.0.0.1:14000/chalZ/VwQ8x5tEi7OG5leJhyEoXvImrFPhRPTZybFYBqXmthc: challenge acme-client: https://127.0.0.1:14000/chalZ/sAelWs4ZW9g1sByhf0o0v4LVC8R8MGUFxLM3w3gGx84: challenge acme-client: https://127.0.0.1:14000/chalZ/W39KjcREEZxuuneEB2F4YghO9XSOMNJ7No4_V_pXhJA: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/XKbxlri2s_gyTrdKJUPgUJqCLX3xoh8Am0pYVXWoSZQ acme-client: challenge, token: OwgZA8UT_r3ih0i38iJZO8z64sdjMmYvKFetZSF7GgE, uri: https://127.0.0.1:14000/chalZ/VwQ8x5tEi7OG5leJhyEoXvImrFPhRPTZybFYBqXmthc, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/tpiBNCkf4JtbR0ADG0rG-s3W1xtPQmbIy-9K0tK6fjo acme-client: challenge, token: _Q38oMRf7ARP0qWa09oNFT3apKjzU3XpB0cKMUpAJEw, uri: https://127.0.0.1:14000/chalZ/sAelWs4ZW9g1sByhf0o0v4LVC8R8MGUFxLM3w3gGx84, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/6jtiP-cMHxz-_ioLEW6D8GT0i5DA6TCImDuKCvuKHT4 acme-client: challenge, token: 7SQyKgad3K5nY5Lcd37AKjik-kjcTzfMkIZ_2mJQce0, uri: https://127.0.0.1:14000/chalZ/W39KjcREEZxuuneEB2F4YghO9XSOMNJ7No4_V_pXhJA, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/hcbvySY-lo4Cfpso0kyGZs1M2Bb0eX9qLDu2HEITTqE: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/1b8660a202251323: 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/288d8d41f3b29fd3 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/288d8d41f3b29fd3 acme-client: https://127.0.0.1:14000/finalize-order/3uNLtijUjdqv8JjfgQT5G5UVFLOlPPAWAHl2St2b2tQ: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/5790362376806916: 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/288d8d41f3b29fd3 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"