==== 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" 99569 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/9ba5e1afe4071ca acme-client: dochngreq: https://127.0.0.1:14000/authZ/diS7HCDi687IqrlnSegOTONfQXimxg6wshen0qd0jYA acme-client: challenge, token: qheZg75W-Nis6POQswUSVZvx60RqJN3WskPpxW287O8, uri: https://127.0.0.1:14000/chalZ/xNfGNeqDsiNP2ifT5Q6vRqbl9hOi7j90dYZhXkuCEYM, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/qheZg75W-Nis6POQswUSVZvx60RqJN3WskPpxW287O8: created acme-client: https://127.0.0.1:14000/chalZ/xNfGNeqDsiNP2ifT5Q6vRqbl9hOi7j90dYZhXkuCEYM: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/diS7HCDi687IqrlnSegOTONfQXimxg6wshen0qd0jYA acme-client: challenge, token: qheZg75W-Nis6POQswUSVZvx60RqJN3WskPpxW287O8, uri: https://127.0.0.1:14000/chalZ/xNfGNeqDsiNP2ifT5Q6vRqbl9hOi7j90dYZhXkuCEYM, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/11BR5aBXf_YlaSsif6mH8rLfloyb1dHvrVCc4IxDcOY: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/164589f3cb5ef852: certificate account key: https://127.0.0.1:14000/my-account/9ba5e1afe4071ca 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/9ba5e1afe4071ca 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/9ba5e1afe4071ca acme-client: dochngreq: https://127.0.0.1:14000/authZ/hVWT8N5Bu0qgJ72G6Y7wWnaK-7ydFonHBJ9lmo10Bx0 acme-client: challenge, token: Q9FP28EeuajBdN5Jbtz3rvOtYlw583_vD7JaId1hjTo, uri: https://127.0.0.1:14000/chalZ/UyZbilsSfnf7Hz-Jn_aYE771XSSJ7TYaaf2_K9Y-YaE, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Q9FP28EeuajBdN5Jbtz3rvOtYlw583_vD7JaId1hjTo: created acme-client: https://127.0.0.1:14000/chalZ/UyZbilsSfnf7Hz-Jn_aYE771XSSJ7TYaaf2_K9Y-YaE: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/hVWT8N5Bu0qgJ72G6Y7wWnaK-7ydFonHBJ9lmo10Bx0 acme-client: challenge, token: Q9FP28EeuajBdN5Jbtz3rvOtYlw583_vD7JaId1hjTo, uri: https://127.0.0.1:14000/chalZ/UyZbilsSfnf7Hz-Jn_aYE771XSSJ7TYaaf2_K9Y-YaE, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/U-SqTeHaEtdNPSyn5gsDG-UC6eNhX8gZ8SPgM5b65kA: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/68bf7b199c47f214: 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/9ba5e1afe4071ca 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/9ba5e1afe4071ca acme-client: dochngreq: https://127.0.0.1:14000/authZ/diS7HCDi687IqrlnSegOTONfQXimxg6wshen0qd0jYA acme-client: challenge, token: qheZg75W-Nis6POQswUSVZvx60RqJN3WskPpxW287O8, uri: https://127.0.0.1:14000/chalZ/xNfGNeqDsiNP2ifT5Q6vRqbl9hOi7j90dYZhXkuCEYM, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/opK9ZR0ENXAaIu0WmhTDqy-5gV7rCAAsFqnYFwM6_5I acme-client: challenge, token: 16MhIbuoLWkoKYBXSQIG63UDXXFKK1-1AnPyvBLleSA, uri: https://127.0.0.1:14000/chalZ/XNPNtkWaCZNEIv6WenIBPzm_eq-jtBTRafYt7q58Ij0, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/16MhIbuoLWkoKYBXSQIG63UDXXFKK1-1AnPyvBLleSA: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/tx_Q-e6wHBkUXfZm81CrwWWtK6WWmtUNchQellXBJwU acme-client: challenge, token: bNBwefcv49B1MQ5QPZIiM_QsmPlGkptJyViZjyxK4xo, uri: https://127.0.0.1:14000/chalZ/iGKCtOU6WVI1C600PCSJjlNx4OqE7efmyA82LqIEpsI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/bNBwefcv49B1MQ5QPZIiM_QsmPlGkptJyViZjyxK4xo: created acme-client: https://127.0.0.1:14000/chalZ/XNPNtkWaCZNEIv6WenIBPzm_eq-jtBTRafYt7q58Ij0: challenge acme-client: https://127.0.0.1:14000/chalZ/iGKCtOU6WVI1C600PCSJjlNx4OqE7efmyA82LqIEpsI: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/diS7HCDi687IqrlnSegOTONfQXimxg6wshen0qd0jYA acme-client: challenge, token: qheZg75W-Nis6POQswUSVZvx60RqJN3WskPpxW287O8, uri: https://127.0.0.1:14000/chalZ/xNfGNeqDsiNP2ifT5Q6vRqbl9hOi7j90dYZhXkuCEYM, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/opK9ZR0ENXAaIu0WmhTDqy-5gV7rCAAsFqnYFwM6_5I acme-client: challenge, token: 16MhIbuoLWkoKYBXSQIG63UDXXFKK1-1AnPyvBLleSA, uri: https://127.0.0.1:14000/chalZ/XNPNtkWaCZNEIv6WenIBPzm_eq-jtBTRafYt7q58Ij0, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/tx_Q-e6wHBkUXfZm81CrwWWtK6WWmtUNchQellXBJwU acme-client: challenge, token: bNBwefcv49B1MQ5QPZIiM_QsmPlGkptJyViZjyxK4xo, uri: https://127.0.0.1:14000/chalZ/iGKCtOU6WVI1C600PCSJjlNx4OqE7efmyA82LqIEpsI, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/_TEG-nzqwFeYiy92nZdqABcFVgJZhwXNdR4jisqKZbA: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7ca7dca69ea250e9: 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/9ba5e1afe4071ca 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/9ba5e1afe4071ca acme-client: dochngreq: https://127.0.0.1:14000/authZ/2vKwEgTvAc-yCDB5eM8qfkQWCItX9rFDQS0uccl94pU acme-client: challenge, token: 0WLAsDYJgnuEl6kN_sEdcRaUkEAqYZW8Lyou2UApiYQ, uri: https://127.0.0.1:14000/chalZ/En1RCU_kUcrqjuLfD61FfGK0k2JpaLBYGGvsnf7NYxQ, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/0WLAsDYJgnuEl6kN_sEdcRaUkEAqYZW8Lyou2UApiYQ: created acme-client: https://127.0.0.1:14000/chalZ/En1RCU_kUcrqjuLfD61FfGK0k2JpaLBYGGvsnf7NYxQ: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/2vKwEgTvAc-yCDB5eM8qfkQWCItX9rFDQS0uccl94pU acme-client: challenge, token: 0WLAsDYJgnuEl6kN_sEdcRaUkEAqYZW8Lyou2UApiYQ, uri: https://127.0.0.1:14000/chalZ/En1RCU_kUcrqjuLfD61FfGK0k2JpaLBYGGvsnf7NYxQ, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/6VZNcuGfnVlQofpSf8yR7CC-UDGtXkmP4h9cqsWDJQw: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/1803509f767fb7cc: 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/9ba5e1afe4071ca 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"