==== 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" 48666 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/61ff565ef0273575 acme-client: dochngreq: https://127.0.0.1:14000/authZ/rNOBZnEsPbRk1no4YCaoqZFulSl6KUp-1-Q0pHUZTxw acme-client: challenge, token: 9MCVq9DydbcNSx18cUBP-Q5mZKeGRl2fi58qnh5oRJc, uri: https://127.0.0.1:14000/chalZ/tfuWrN-_mehs5sj07VsHRnNtHPZkl898GGJmKXaDw20, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/9MCVq9DydbcNSx18cUBP-Q5mZKeGRl2fi58qnh5oRJc: created acme-client: https://127.0.0.1:14000/chalZ/tfuWrN-_mehs5sj07VsHRnNtHPZkl898GGJmKXaDw20: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/rNOBZnEsPbRk1no4YCaoqZFulSl6KUp-1-Q0pHUZTxw acme-client: challenge, token: 9MCVq9DydbcNSx18cUBP-Q5mZKeGRl2fi58qnh5oRJc, uri: https://127.0.0.1:14000/chalZ/tfuWrN-_mehs5sj07VsHRnNtHPZkl898GGJmKXaDw20, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/OEbLC7ARUsGZfd-45KixqhFjz6i2zY2nuvpnInoZq7I: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6dd06825bd17b9ae: certificate account key: https://127.0.0.1:14000/my-account/61ff565ef0273575 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/61ff565ef0273575 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/61ff565ef0273575 acme-client: dochngreq: https://127.0.0.1:14000/authZ/BvRHJDbx7VInboHtPT7YtKVwQmTHWFsXwC9nHg9iqOQ acme-client: challenge, token: uXdkIALyVjPPzN6MjdgiPKcr-gFccE5iwKHzxr262LY, uri: https://127.0.0.1:14000/chalZ/UWftmm0vARapVfc1P8yRerO95JEqYazs2Izq9pYx6qI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/uXdkIALyVjPPzN6MjdgiPKcr-gFccE5iwKHzxr262LY: created acme-client: https://127.0.0.1:14000/chalZ/UWftmm0vARapVfc1P8yRerO95JEqYazs2Izq9pYx6qI: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/BvRHJDbx7VInboHtPT7YtKVwQmTHWFsXwC9nHg9iqOQ acme-client: challenge, token: uXdkIALyVjPPzN6MjdgiPKcr-gFccE5iwKHzxr262LY, uri: https://127.0.0.1:14000/chalZ/UWftmm0vARapVfc1P8yRerO95JEqYazs2Izq9pYx6qI, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/ZVn9EI5VlyO6TkpCgD_r2zO-gmqOVyzT9oIwnwdGGwg: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/3b33b1636b5f0d51: 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/61ff565ef0273575 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/61ff565ef0273575 acme-client: dochngreq: https://127.0.0.1:14000/authZ/H0RoxNO6Dvlzs_E0Tg2NjQj7PZa0ZlIO4XOLv646BQo acme-client: challenge, token: TkoEnUydpFLAiyyFpt5FaN3S3IkxGhIYmp5YLOWJ6xU, uri: https://127.0.0.1:14000/chalZ/F_ECCvzT9P0Zs2ovuUjiS0wjw_oEh9hHtQ-E7AgQzMg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/TkoEnUydpFLAiyyFpt5FaN3S3IkxGhIYmp5YLOWJ6xU: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/IyAaZXzvUhTULOwhAjWUzdavop4PkH5DF8di7AzKIKI acme-client: challenge, token: tozqjn4fm5Tda3k5yt8wOhilot9Uc9iu7ZSYFfBfywU, uri: https://127.0.0.1:14000/chalZ/D4n8vMi1C5QqHvBxlYRkskwAgwIooXztED8JcV1hp7s, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/tozqjn4fm5Tda3k5yt8wOhilot9Uc9iu7ZSYFfBfywU: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/uYfPfLBPHM14XL_wvkEc3VAppeNn9s09L4L4oQBLkM0 acme-client: challenge, token: C6d2rZakCdG0hpskztZ6jFMIiD3l2T7F1gguJGnuvUY, uri: https://127.0.0.1:14000/chalZ/okJzCMPzRQxvNqr7UnuuJ3x5l7eSLtV1JWP3GM70i6M, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/C6d2rZakCdG0hpskztZ6jFMIiD3l2T7F1gguJGnuvUY: created acme-client: https://127.0.0.1:14000/chalZ/F_ECCvzT9P0Zs2ovuUjiS0wjw_oEh9hHtQ-E7AgQzMg: challenge acme-client: https://127.0.0.1:14000/chalZ/D4n8vMi1C5QqHvBxlYRkskwAgwIooXztED8JcV1hp7s: challenge acme-client: https://127.0.0.1:14000/chalZ/okJzCMPzRQxvNqr7UnuuJ3x5l7eSLtV1JWP3GM70i6M: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/H0RoxNO6Dvlzs_E0Tg2NjQj7PZa0ZlIO4XOLv646BQo acme-client: challenge, token: TkoEnUydpFLAiyyFpt5FaN3S3IkxGhIYmp5YLOWJ6xU, uri: https://127.0.0.1:14000/chalZ/F_ECCvzT9P0Zs2ovuUjiS0wjw_oEh9hHtQ-E7AgQzMg, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/IyAaZXzvUhTULOwhAjWUzdavop4PkH5DF8di7AzKIKI acme-client: challenge, token: tozqjn4fm5Tda3k5yt8wOhilot9Uc9iu7ZSYFfBfywU, uri: https://127.0.0.1:14000/chalZ/D4n8vMi1C5QqHvBxlYRkskwAgwIooXztED8JcV1hp7s, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/uYfPfLBPHM14XL_wvkEc3VAppeNn9s09L4L4oQBLkM0 acme-client: challenge, token: C6d2rZakCdG0hpskztZ6jFMIiD3l2T7F1gguJGnuvUY, uri: https://127.0.0.1:14000/chalZ/okJzCMPzRQxvNqr7UnuuJ3x5l7eSLtV1JWP3GM70i6M, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/YOCFwtvLeOuL6Qe6Ua5PSHgpJYmB6nZav3bM_Zt-6mM: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0d5b93a52551062b: 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/61ff565ef0273575 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/61ff565ef0273575 acme-client: https://127.0.0.1:14000/finalize-order/h8Epd2jVixP4Jt9fdC8rL6pjKlKnvPOnHC26GD8oYCg: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7fe77aa7784d005a: 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/61ff565ef0273575 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-acme-eab ==== mkdir -p etc sed 's,${.OBJDIR},/home/src/regress/usr.sbin/acme-client/obj,' /home/src/regress/usr.sbin/acme-client/acme-client-eab.conf > etc/acme-client-eab.conf sed 's,${.CURDIR},/home/src/regress/usr.sbin/acme-client,' /home/src/regress/usr.sbin/acme-client/pebble-config-eab.json > pebble-config-eab.json /usr/local/bin/pebble -config /home/src/regress/usr.sbin/acme-client/obj/pebble-config-eab.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-eab.conf -e kid-1:zWNDZM6eQGHWpSRTPal5eIUYFTu7EajVIoguysqZ9wG44nMEtx3MUAsUDkMTQ12W -v localhost acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/acme/privkey-eab.pem: generated RSA account key acme-client: https://127.0.0.1:14001/dir: directories acme-client: 127.0.0.1: DNS: 127.0.0.1 acme-client: account key: https://127.0.0.1:14001/my-account/3003b7a2fbc9cfe8 acme-client: dochngreq: https://127.0.0.1:14001/authZ/uWe7Wvm4JDPqCqI7I-FZhzUx0yuzBICHmIHucPR4K_o acme-client: challenge, token: 2WMpQWkjSWDntgwFybCs10rIEOnAPun0EOGe9nQiRTI, uri: https://127.0.0.1:14001/chalZ/VZpY_16UjGtiEygB3fb4DOMPJ1hFT7bBftCYuYKREVk, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/2WMpQWkjSWDntgwFybCs10rIEOnAPun0EOGe9nQiRTI: created acme-client: https://127.0.0.1:14001/chalZ/VZpY_16UjGtiEygB3fb4DOMPJ1hFT7bBftCYuYKREVk: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/uWe7Wvm4JDPqCqI7I-FZhzUx0yuzBICHmIHucPR4K_o acme-client: challenge, token: 2WMpQWkjSWDntgwFybCs10rIEOnAPun0EOGe9nQiRTI, uri: https://127.0.0.1:14001/chalZ/VZpY_16UjGtiEygB3fb4DOMPJ1hFT7bBftCYuYKREVk, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/J1iJDJA-VVfBh-rsZXRXF3kTnqqAeIvoErfjMKlzPvw: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/0793244128874ff3: certificate account key: https://127.0.0.1:14001/my-account/3003b7a2fbc9cfe8 acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert.pem: created ==== 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" make -C /home/src/regress/usr.sbin/acme-client pebble-eab-stop pkill -xf "/usr/local/bin/pebble -config /home/src/regress/usr.sbin/acme-client/obj/pebble-config-eab.json"