==== 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" 44447 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/150a323ca197c178 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Keg90FlPNqNN5zlHd9KahJhBa6aMNMEyj5jd8lFIkUY acme-client: challenge, token: 9pF8Q0qE0uaRAbFsu_rg3q03_7bhvLJS5JEvxIaFy1E, uri: https://127.0.0.1:14000/chalZ/7rKWYibLuSbJ4QKkBQjnTCeRvAAXqXvRiOQPA5D_Uao, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/9pF8Q0qE0uaRAbFsu_rg3q03_7bhvLJS5JEvxIaFy1E: created acme-client: https://127.0.0.1:14000/chalZ/7rKWYibLuSbJ4QKkBQjnTCeRvAAXqXvRiOQPA5D_Uao: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Keg90FlPNqNN5zlHd9KahJhBa6aMNMEyj5jd8lFIkUY acme-client: challenge, token: 9pF8Q0qE0uaRAbFsu_rg3q03_7bhvLJS5JEvxIaFy1E, uri: https://127.0.0.1:14000/chalZ/7rKWYibLuSbJ4QKkBQjnTCeRvAAXqXvRiOQPA5D_Uao, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/mC5HMEDM1nQjw_e7fzkYOi3qb9ZhKzUjJrCpWxRRF38: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6b475ba9375f3322: certificate account key: https://127.0.0.1:14000/my-account/150a323ca197c178 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/150a323ca197c178 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/150a323ca197c178 acme-client: dochngreq: https://127.0.0.1:14000/authZ/CNg3FG4qF1GKqNGittfse8NAz4jyvOU-LZt6psbtAKw acme-client: challenge, token: nPEg5xjmbAOlrDE__pXw7pWqfsn_b0ri5rKRVeyZtKg, uri: https://127.0.0.1:14000/chalZ/rE_ds8F6ksgQe1bEuOo-0GxzT9TSeuHalIiHrB1v6bU, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/nPEg5xjmbAOlrDE__pXw7pWqfsn_b0ri5rKRVeyZtKg: created acme-client: https://127.0.0.1:14000/chalZ/rE_ds8F6ksgQe1bEuOo-0GxzT9TSeuHalIiHrB1v6bU: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/CNg3FG4qF1GKqNGittfse8NAz4jyvOU-LZt6psbtAKw acme-client: challenge, token: nPEg5xjmbAOlrDE__pXw7pWqfsn_b0ri5rKRVeyZtKg, uri: https://127.0.0.1:14000/chalZ/rE_ds8F6ksgQe1bEuOo-0GxzT9TSeuHalIiHrB1v6bU, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/jsFC2rVAMInKJKVoiCwXsJNsBAauYyGYots8vzbFFqY: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7ab9852505e4eabc: 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/150a323ca197c178 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/150a323ca197c178 acme-client: dochngreq: https://127.0.0.1:14000/authZ/XmPTgbRSSeeqCjjuoz5AkBJAIQnZlYs9g862xM5gAnE acme-client: challenge, token: 2JI4Cd4zvAMVTKxCuav6G4SS5YPJ6Zq85Qe6A3qqrW4, uri: https://127.0.0.1:14000/chalZ/e2zCyxXBIQa-u7yLXz4P4sy6-S43qZXUGhfyFweaFFk, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/2JI4Cd4zvAMVTKxCuav6G4SS5YPJ6Zq85Qe6A3qqrW4: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/Keg90FlPNqNN5zlHd9KahJhBa6aMNMEyj5jd8lFIkUY acme-client: challenge, token: 9pF8Q0qE0uaRAbFsu_rg3q03_7bhvLJS5JEvxIaFy1E, uri: https://127.0.0.1:14000/chalZ/7rKWYibLuSbJ4QKkBQjnTCeRvAAXqXvRiOQPA5D_Uao, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/lyQtYeRvYCQzOw_tkzYxhwo-FX8wik-QRxGR2p5eeU0 acme-client: challenge, token: 6069IZBN7p213AznDo2VaZSU05h0n2kuyEYlccCIPE4, uri: https://127.0.0.1:14000/chalZ/gRKpudEmcDl84D69EPfcYQY71tP_rUWAWMTUqL5DnQM, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/6069IZBN7p213AznDo2VaZSU05h0n2kuyEYlccCIPE4: created acme-client: https://127.0.0.1:14000/chalZ/e2zCyxXBIQa-u7yLXz4P4sy6-S43qZXUGhfyFweaFFk: challenge acme-client: https://127.0.0.1:14000/chalZ/gRKpudEmcDl84D69EPfcYQY71tP_rUWAWMTUqL5DnQM: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/XmPTgbRSSeeqCjjuoz5AkBJAIQnZlYs9g862xM5gAnE acme-client: challenge, token: 2JI4Cd4zvAMVTKxCuav6G4SS5YPJ6Zq85Qe6A3qqrW4, uri: https://127.0.0.1:14000/chalZ/e2zCyxXBIQa-u7yLXz4P4sy6-S43qZXUGhfyFweaFFk, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Keg90FlPNqNN5zlHd9KahJhBa6aMNMEyj5jd8lFIkUY acme-client: challenge, token: 9pF8Q0qE0uaRAbFsu_rg3q03_7bhvLJS5JEvxIaFy1E, uri: https://127.0.0.1:14000/chalZ/7rKWYibLuSbJ4QKkBQjnTCeRvAAXqXvRiOQPA5D_Uao, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/lyQtYeRvYCQzOw_tkzYxhwo-FX8wik-QRxGR2p5eeU0 acme-client: challenge, token: 6069IZBN7p213AznDo2VaZSU05h0n2kuyEYlccCIPE4, uri: https://127.0.0.1:14000/chalZ/gRKpudEmcDl84D69EPfcYQY71tP_rUWAWMTUqL5DnQM, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/EorUAzUSYd-b5GEsKKXO0fdqbK7zKRi0upcd1MmIkEM: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/3678d8192928dde3: 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/150a323ca197c178 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/150a323ca197c178 acme-client: https://127.0.0.1:14000/finalize-order/3YizdZkpEt1DPNjvvsyhfwemZYEYjtIlHUsJpqKeoBM: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/29626ca9bb49b527: 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/150a323ca197c178 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"