==== 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" 14807 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/39055df900c9d980 acme-client: dochngreq: https://127.0.0.1:14000/authZ/LDQnmb6Y4VjQL1I2Ni7d9zOyO-pSCmi4tCYT2Cxyolo acme-client: challenge, token: bxja-QEfKJA7_SB41fgU-N-1SbS41rBJGvgiURp-AXo, uri: https://127.0.0.1:14000/chalZ/JOYLd_yzSo0DCJEzQdMkYcaLcdOT2gG_bqH7SOSbZ_c, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/bxja-QEfKJA7_SB41fgU-N-1SbS41rBJGvgiURp-AXo: created acme-client: https://127.0.0.1:14000/chalZ/JOYLd_yzSo0DCJEzQdMkYcaLcdOT2gG_bqH7SOSbZ_c: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/LDQnmb6Y4VjQL1I2Ni7d9zOyO-pSCmi4tCYT2Cxyolo acme-client: challenge, token: bxja-QEfKJA7_SB41fgU-N-1SbS41rBJGvgiURp-AXo, uri: https://127.0.0.1:14000/chalZ/JOYLd_yzSo0DCJEzQdMkYcaLcdOT2gG_bqH7SOSbZ_c, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/7_o_zK-Co52WChGM2nnjEEb51n0uHeUp8SNMSg-Il2o: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/4baa1cf85a84da04: certificate account key: https://127.0.0.1:14000/my-account/39055df900c9d980 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/39055df900c9d980 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/39055df900c9d980 acme-client: dochngreq: https://127.0.0.1:14000/authZ/XE1gLI4XFhlXjG07PytVB-_6Uw0UlY3_lWvi174SVj4 acme-client: challenge, token: 9kfdRTPZGiFdsWBTGVF07T_kyglbV6En9F8pCa2yx-U, uri: https://127.0.0.1:14000/chalZ/gL4sqW_hdUzA6V2terlgSS76KYUlUZOPJlFKlSYP7V4, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/9kfdRTPZGiFdsWBTGVF07T_kyglbV6En9F8pCa2yx-U: created acme-client: https://127.0.0.1:14000/chalZ/gL4sqW_hdUzA6V2terlgSS76KYUlUZOPJlFKlSYP7V4: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/XE1gLI4XFhlXjG07PytVB-_6Uw0UlY3_lWvi174SVj4 acme-client: challenge, token: 9kfdRTPZGiFdsWBTGVF07T_kyglbV6En9F8pCa2yx-U, uri: https://127.0.0.1:14000/chalZ/gL4sqW_hdUzA6V2terlgSS76KYUlUZOPJlFKlSYP7V4, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/55pNTLuqpIN8qeohyJgFh7afTyrR8kNdZRphikgntM0: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/74490eed1364fa99: 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/39055df900c9d980 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-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"