==== 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" 61985 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/309dfeaca84aff28 acme-client: dochngreq: https://127.0.0.1:14000/authZ/MW8hjk4zKRO6EELU6tEoN0-j3a0VWfRgl_talI-Xmzk acme-client: challenge, token: 9JrzLn_smKLwQe4ZBcflPu1nctxRQKqInZ6hr-1QAcQ, uri: https://127.0.0.1:14000/chalZ/VP2-uT0eb-CwgFNENEDzUEoR9oi0Bqtaozehs7b8yxk, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/9JrzLn_smKLwQe4ZBcflPu1nctxRQKqInZ6hr-1QAcQ: created acme-client: https://127.0.0.1:14000/chalZ/VP2-uT0eb-CwgFNENEDzUEoR9oi0Bqtaozehs7b8yxk: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/MW8hjk4zKRO6EELU6tEoN0-j3a0VWfRgl_talI-Xmzk acme-client: challenge, token: 9JrzLn_smKLwQe4ZBcflPu1nctxRQKqInZ6hr-1QAcQ, uri: https://127.0.0.1:14000/chalZ/VP2-uT0eb-CwgFNENEDzUEoR9oi0Bqtaozehs7b8yxk, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/n14NY5t7QEnVdU0CbA4g8xWFDgf3AtyvOeZbwqs7syc: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/287a32ff9386aeb2: certificate acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert.pem: created account key: https://127.0.0.1:14000/my-account/309dfeaca84aff28 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/309dfeaca84aff28 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/309dfeaca84aff28 acme-client: https://127.0.0.1:14000/finalize-order/c9aD9VvGzn9oGM3qkT7Lv_IJisI-koiq4G_O7WVSBEI: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/12a6303d038c661e: 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/309dfeaca84aff28 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/309dfeaca84aff28 acme-client: dochngreq: https://127.0.0.1:14000/authZ/QHhMcoun_TvjeuvaL5kdiz1vQrbo2X5c9myXFJRAPHY acme-client: challenge, token: pyMIDHrgqDwJotphBIEy5FinC9ankD-i4UtPrQQPV6s, uri: https://127.0.0.1:14000/chalZ/kvNdH1Sg8BDaEBlBGked3Ah6mMJXvTHga1QAlhx8G6I, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/pyMIDHrgqDwJotphBIEy5FinC9ankD-i4UtPrQQPV6s: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/MW8hjk4zKRO6EELU6tEoN0-j3a0VWfRgl_talI-Xmzk acme-client: challenge, token: 9JrzLn_smKLwQe4ZBcflPu1nctxRQKqInZ6hr-1QAcQ, uri: https://127.0.0.1:14000/chalZ/VP2-uT0eb-CwgFNENEDzUEoR9oi0Bqtaozehs7b8yxk, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/fehF5cqySbeRt9cPE-0Cj5wDpsI1qdoX0jzQbqWBs2o acme-client: challenge, token: C02ebhLaJdqKlopPeFYJbArnePqmbrDAElrqcdIxiY4, uri: https://127.0.0.1:14000/chalZ/7V9ORsG7HYLJKLPr-ll6yyuTHxgzjLPL9BktmGf4bxw, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/C02ebhLaJdqKlopPeFYJbArnePqmbrDAElrqcdIxiY4: created acme-client: https://127.0.0.1:14000/chalZ/kvNdH1Sg8BDaEBlBGked3Ah6mMJXvTHga1QAlhx8G6I: challenge acme-client: https://127.0.0.1:14000/chalZ/7V9ORsG7HYLJKLPr-ll6yyuTHxgzjLPL9BktmGf4bxw: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/QHhMcoun_TvjeuvaL5kdiz1vQrbo2X5c9myXFJRAPHY acme-client: challenge, token: pyMIDHrgqDwJotphBIEy5FinC9ankD-i4UtPrQQPV6s, uri: https://127.0.0.1:14000/chalZ/kvNdH1Sg8BDaEBlBGked3Ah6mMJXvTHga1QAlhx8G6I, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/MW8hjk4zKRO6EELU6tEoN0-j3a0VWfRgl_talI-Xmzk acme-client: challenge, token: 9JrzLn_smKLwQe4ZBcflPu1nctxRQKqInZ6hr-1QAcQ, uri: https://127.0.0.1:14000/chalZ/VP2-uT0eb-CwgFNENEDzUEoR9oi0Bqtaozehs7b8yxk, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/fehF5cqySbeRt9cPE-0Cj5wDpsI1qdoX0jzQbqWBs2o acme-client: challenge, token: C02ebhLaJdqKlopPeFYJbArnePqmbrDAElrqcdIxiY4, uri: https://127.0.0.1:14000/chalZ/7V9ORsG7HYLJKLPr-ll6yyuTHxgzjLPL9BktmGf4bxw, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/ri9-dQGmxdyaF1e3ERuRpjPAdkeGNe-5SsciZQPgf4U: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6149d746beafd6c2: 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/309dfeaca84aff28 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/309dfeaca84aff28 acme-client: dochngreq: https://127.0.0.1:14000/authZ/-NQxCIVgOXK1tHNvFA8Tg0I-EbZNenUjzp0D_51vHkQ acme-client: challenge, token: DnY4QEIoKBwajAIxsrwMZoJKy0CTLsTUC_YgK3sJHlg, uri: https://127.0.0.1:14000/chalZ/nEaXtSSKjfix4WKRCFCHhuu1AR_9dB_T2bo8orL872g, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/DnY4QEIoKBwajAIxsrwMZoJKy0CTLsTUC_YgK3sJHlg: created acme-client: https://127.0.0.1:14000/chalZ/nEaXtSSKjfix4WKRCFCHhuu1AR_9dB_T2bo8orL872g: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/-NQxCIVgOXK1tHNvFA8Tg0I-EbZNenUjzp0D_51vHkQ acme-client: challenge, token: DnY4QEIoKBwajAIxsrwMZoJKy0CTLsTUC_YgK3sJHlg, uri: https://127.0.0.1:14000/chalZ/nEaXtSSKjfix4WKRCFCHhuu1AR_9dB_T2bo8orL872g, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/ZTiUhNZMKj0fMEYjJoS5VzSUlWBEAZw3qb-LXgkgSw8: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/51f6d54eafe793bf: 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/309dfeaca84aff28 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"