==== 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" 4956 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/574b7b63e7ec729b acme-client: dochngreq: https://127.0.0.1:14000/authZ/U70mKe2c2Tc4BI7S9dg0wh078m9zK4hKjDxDv_GiYV0 acme-client: challenge, token: RKF0VCV9wRLIDvlC2aVV2f75Gj0T92K2S5S_Zu5wy8A, uri: https://127.0.0.1:14000/chalZ/Vn2WObu2DssF-C9yF0DYzx-fHAhrr4fjxbpemukHWkw, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/RKF0VCV9wRLIDvlC2aVV2f75Gj0T92K2S5S_Zu5wy8A: created acme-client: https://127.0.0.1:14000/chalZ/Vn2WObu2DssF-C9yF0DYzx-fHAhrr4fjxbpemukHWkw: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/U70mKe2c2Tc4BI7S9dg0wh078m9zK4hKjDxDv_GiYV0 acme-client: challenge, token: RKF0VCV9wRLIDvlC2aVV2f75Gj0T92K2S5S_Zu5wy8A, uri: https://127.0.0.1:14000/chalZ/Vn2WObu2DssF-C9yF0DYzx-fHAhrr4fjxbpemukHWkw, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/JLS8gvmvi4eptwJtVqrX-o_ZVWNgmstv8ghLOi7QJyE: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/59a37004a8159f7d: certificate account key: https://127.0.0.1:14000/my-account/574b7b63e7ec729b 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/574b7b63e7ec729b 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/574b7b63e7ec729b acme-client: dochngreq: https://127.0.0.1:14000/authZ/P1GPLSCjKxu_tjwAICpWBEIptBwBgaf5Jp2iL3q-8XU acme-client: challenge, token: iPmtouUzKBxxqGyAyNNtr8BIxdIjYo6nYFaC9eMy1Zo, uri: https://127.0.0.1:14000/chalZ/01ximyEyXAunJ4-TyVROTAz0nBdHZs-TphMGXfMp8Ko, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/iPmtouUzKBxxqGyAyNNtr8BIxdIjYo6nYFaC9eMy1Zo: created acme-client: https://127.0.0.1:14000/chalZ/01ximyEyXAunJ4-TyVROTAz0nBdHZs-TphMGXfMp8Ko: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/P1GPLSCjKxu_tjwAICpWBEIptBwBgaf5Jp2iL3q-8XU acme-client: challenge, token: iPmtouUzKBxxqGyAyNNtr8BIxdIjYo6nYFaC9eMy1Zo, uri: https://127.0.0.1:14000/chalZ/01ximyEyXAunJ4-TyVROTAz0nBdHZs-TphMGXfMp8Ko, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/HffW_No6vgUOYEpmUqPzyIpfGZ48gvNibWTnF5kDXm8: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/343388c0e9f55a94: 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/574b7b63e7ec729b 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/574b7b63e7ec729b acme-client: dochngreq: https://127.0.0.1:14000/authZ/U70mKe2c2Tc4BI7S9dg0wh078m9zK4hKjDxDv_GiYV0 acme-client: challenge, token: RKF0VCV9wRLIDvlC2aVV2f75Gj0T92K2S5S_Zu5wy8A, uri: https://127.0.0.1:14000/chalZ/Vn2WObu2DssF-C9yF0DYzx-fHAhrr4fjxbpemukHWkw, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/V8ramTTgcImEGnDyK9_6qEAvk1a0n4CWla4gBueVGxI acme-client: challenge, token: gl2nI9NUCkqZ29PBvpWKO0dNMTMgD-WW--RxS8f2PGg, uri: https://127.0.0.1:14000/chalZ/KD77GqKLhTHIxK12zSg3LABxPMPCQF_11W09VySNqAw, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/gl2nI9NUCkqZ29PBvpWKO0dNMTMgD-WW--RxS8f2PGg: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/kqS_X4s6gHcpExFHl-I50WGiLQnWMD1V4mEOdSfshE4 acme-client: challenge, token: uhUHVgFfqp5X9-82tWA2SmE6seQAN1GFl5XpdcSgjKk, uri: https://127.0.0.1:14000/chalZ/cPnt2kMRhcfxOZenui06ePuTmjNW_rz05Rvqo1-SYFU, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/uhUHVgFfqp5X9-82tWA2SmE6seQAN1GFl5XpdcSgjKk: created acme-client: https://127.0.0.1:14000/chalZ/KD77GqKLhTHIxK12zSg3LABxPMPCQF_11W09VySNqAw: challenge acme-client: https://127.0.0.1:14000/chalZ/cPnt2kMRhcfxOZenui06ePuTmjNW_rz05Rvqo1-SYFU: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/U70mKe2c2Tc4BI7S9dg0wh078m9zK4hKjDxDv_GiYV0 acme-client: challenge, token: RKF0VCV9wRLIDvlC2aVV2f75Gj0T92K2S5S_Zu5wy8A, uri: https://127.0.0.1:14000/chalZ/Vn2WObu2DssF-C9yF0DYzx-fHAhrr4fjxbpemukHWkw, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/V8ramTTgcImEGnDyK9_6qEAvk1a0n4CWla4gBueVGxI acme-client: challenge, token: gl2nI9NUCkqZ29PBvpWKO0dNMTMgD-WW--RxS8f2PGg, uri: https://127.0.0.1:14000/chalZ/KD77GqKLhTHIxK12zSg3LABxPMPCQF_11W09VySNqAw, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/kqS_X4s6gHcpExFHl-I50WGiLQnWMD1V4mEOdSfshE4 acme-client: challenge, token: uhUHVgFfqp5X9-82tWA2SmE6seQAN1GFl5XpdcSgjKk, uri: https://127.0.0.1:14000/chalZ/cPnt2kMRhcfxOZenui06ePuTmjNW_rz05Rvqo1-SYFU, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/FicDhkkBxvjgTcjE6XxxQNZa4VRfIBPZN2kdLMg58A4: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/2302f812c21b8e58: 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/574b7b63e7ec729b 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/574b7b63e7ec729b acme-client: dochngreq: https://127.0.0.1:14000/authZ/XAPp4oUEGvWoRxAnFeflqwtdojsKz7ap-3n60f-nt7U acme-client: challenge, token: R3H_skjrTbLZ3w-HKh-CzgC8RDVLtWyEqPbAKUABYes, uri: https://127.0.0.1:14000/chalZ/siuhow2ILQ58ESirCGEE4Kv1IEXOKH9N1iDefiGhR54, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/R3H_skjrTbLZ3w-HKh-CzgC8RDVLtWyEqPbAKUABYes: created acme-client: https://127.0.0.1:14000/chalZ/siuhow2ILQ58ESirCGEE4Kv1IEXOKH9N1iDefiGhR54: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/XAPp4oUEGvWoRxAnFeflqwtdojsKz7ap-3n60f-nt7U acme-client: challenge, token: R3H_skjrTbLZ3w-HKh-CzgC8RDVLtWyEqPbAKUABYes, uri: https://127.0.0.1:14000/chalZ/siuhow2ILQ58ESirCGEE4Kv1IEXOKH9N1iDefiGhR54, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/ScksICUl6CIORx_bwSNXU9Zg1JP4-ggHgh2ijf7Q-Kg: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/038565a476c9e5fc: 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/574b7b63e7ec729b 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"