==== 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" 11640 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/57a688b5e6e85d2a acme-client: dochngreq: https://127.0.0.1:14000/authZ/SJWOHAmq5ajg3NltsT8fCw1GPxWFMY5CoDH0Q9wY1ns acme-client: challenge, token: r7AFl0SpLDXUAsznk7t0bNUQjD6NS8MM2Xz3VnxN_sw, uri: https://127.0.0.1:14000/chalZ/q-RpKxwlw7dHbwRStagpp4ylShintbba94Nn_mmzhHI, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/r7AFl0SpLDXUAsznk7t0bNUQjD6NS8MM2Xz3VnxN_sw: created acme-client: https://127.0.0.1:14000/chalZ/q-RpKxwlw7dHbwRStagpp4ylShintbba94Nn_mmzhHI: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/SJWOHAmq5ajg3NltsT8fCw1GPxWFMY5CoDH0Q9wY1ns acme-client: challenge, token: r7AFl0SpLDXUAsznk7t0bNUQjD6NS8MM2Xz3VnxN_sw, uri: https://127.0.0.1:14000/chalZ/q-RpKxwlw7dHbwRStagpp4ylShintbba94Nn_mmzhHI, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/hbHsKQ6-gKPKXz3g11rCklvpSRb1cYoWgRuJ6VdDQfo: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/0530d82f2c458549: certificate account key: https://127.0.0.1:14000/my-account/57a688b5e6e85d2a 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/57a688b5e6e85d2a 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/57a688b5e6e85d2a acme-client: https://127.0.0.1:14000/finalize-order/jg-UQb6qF2WXlw3SIrLTnl58JUwxGIoKUhZi9dc088I: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/5a4d327a384ba995: 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/57a688b5e6e85d2a 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/57a688b5e6e85d2a acme-client: dochngreq: https://127.0.0.1:14000/authZ/DFup-U0uhEGdcnBgupgYoXNKzJ3DrD88V-qydygiGlM acme-client: challenge, token: 8A0LXGcMQMlxDuS07mEPJ385xOSAo41kOMZ6LqcNDZ8, uri: https://127.0.0.1:14000/chalZ/yUwk2E7ftJkOaDlT8v5Dmcc6VJAhItVz-Ze2w9SxhzM, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/8A0LXGcMQMlxDuS07mEPJ385xOSAo41kOMZ6LqcNDZ8: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/SJWOHAmq5ajg3NltsT8fCw1GPxWFMY5CoDH0Q9wY1ns acme-client: challenge, token: r7AFl0SpLDXUAsznk7t0bNUQjD6NS8MM2Xz3VnxN_sw, uri: https://127.0.0.1:14000/chalZ/q-RpKxwlw7dHbwRStagpp4ylShintbba94Nn_mmzhHI, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/SWxdRb50yICa3g8IEfygT-zk2CcW7WmLoJxG3xERbng acme-client: challenge, token: JZwAz4LL1SCtjEp_rUVOjD3Jlt01Ior3BnMO_DtTXS4, uri: https://127.0.0.1:14000/chalZ/XcCNCOyU-6D9AfQ6eSbxy5_KAeEr_qdHg0AusD7x94E, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/JZwAz4LL1SCtjEp_rUVOjD3Jlt01Ior3BnMO_DtTXS4: created acme-client: https://127.0.0.1:14000/chalZ/yUwk2E7ftJkOaDlT8v5Dmcc6VJAhItVz-Ze2w9SxhzM: challenge acme-client: https://127.0.0.1:14000/chalZ/XcCNCOyU-6D9AfQ6eSbxy5_KAeEr_qdHg0AusD7x94E: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/DFup-U0uhEGdcnBgupgYoXNKzJ3DrD88V-qydygiGlM acme-client: challenge, token: 8A0LXGcMQMlxDuS07mEPJ385xOSAo41kOMZ6LqcNDZ8, uri: https://127.0.0.1:14000/chalZ/yUwk2E7ftJkOaDlT8v5Dmcc6VJAhItVz-Ze2w9SxhzM, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/SJWOHAmq5ajg3NltsT8fCw1GPxWFMY5CoDH0Q9wY1ns acme-client: challenge, token: r7AFl0SpLDXUAsznk7t0bNUQjD6NS8MM2Xz3VnxN_sw, uri: https://127.0.0.1:14000/chalZ/q-RpKxwlw7dHbwRStagpp4ylShintbba94Nn_mmzhHI, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/SWxdRb50yICa3g8IEfygT-zk2CcW7WmLoJxG3xERbng acme-client: challenge, token: JZwAz4LL1SCtjEp_rUVOjD3Jlt01Ior3BnMO_DtTXS4, uri: https://127.0.0.1:14000/chalZ/XcCNCOyU-6D9AfQ6eSbxy5_KAeEr_qdHg0AusD7x94E, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/eRd06Xf7N04MWfNm_UXj94vEJgit1UQyrH7M1C4jFtU: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/4c84b1fbc24f70a6: 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/57a688b5e6e85d2a 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/57a688b5e6e85d2a acme-client: dochngreq: https://127.0.0.1:14000/authZ/7nPCsuxi5u1CyJDhQaL5pTbMCgUblTf_ycjyORBP5Kk acme-client: challenge, token: B7V3Nvn7t5jelU608xiD9cqJHF0XbtvzP7aOPYZGdJg, uri: https://127.0.0.1:14000/chalZ/K-TWjOD1JaVaFgNYGMh1UsZACrMebFFL9j3vNK3AHaQ, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/B7V3Nvn7t5jelU608xiD9cqJHF0XbtvzP7aOPYZGdJg: created acme-client: https://127.0.0.1:14000/chalZ/K-TWjOD1JaVaFgNYGMh1UsZACrMebFFL9j3vNK3AHaQ: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/7nPCsuxi5u1CyJDhQaL5pTbMCgUblTf_ycjyORBP5Kk acme-client: challenge, token: B7V3Nvn7t5jelU608xiD9cqJHF0XbtvzP7aOPYZGdJg, uri: https://127.0.0.1:14000/chalZ/K-TWjOD1JaVaFgNYGMh1UsZACrMebFFL9j3vNK3AHaQ, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/yCJA92JScRBBhWskMZueRuHc6EQiztBPtSVxF2d3LoY: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/46d7f11c998cb2f7: 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/57a688b5e6e85d2a 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-acme-eab ==== mkdir -p etc sed 's,${.OBJDIR},/home/src/regress/usr.sbin/acme-client/obj,' /home/src/regress/usr.sbin/acme-client/acme-client-eab.conf > etc/acme-client-eab.conf sed 's,${.CURDIR},/home/src/regress/usr.sbin/acme-client,' /home/src/regress/usr.sbin/acme-client/pebble-config-eab.json > pebble-config-eab.json /usr/local/bin/pebble -config /home/src/regress/usr.sbin/acme-client/obj/pebble-config-eab.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-eab.conf -e kid-1:zWNDZM6eQGHWpSRTPal5eIUYFTu7EajVIoguysqZ9wG44nMEtx3MUAsUDkMTQ12W -v localhost acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/acme/privkey-eab.pem: generated RSA account key acme-client: https://127.0.0.1:14001/dir: directories acme-client: 127.0.0.1: DNS: 127.0.0.1 acme-client: account key: https://127.0.0.1:14001/my-account/21ab709db0e0bd06 acme-client: dochngreq: https://127.0.0.1:14001/authZ/pa8Ucuk0SLhy3-SKbdu38NY8SQMmlVlNrmiuk25mdyc acme-client: challenge, token: qwRhcPXbdIHVhWrSrupd9UJbjuJb4RqIJ51Z_oueg3g, uri: https://127.0.0.1:14001/chalZ/dxmyx66_oaIA0UXs4Pm8ehIhburThhAP4EzQJuN2iYs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/qwRhcPXbdIHVhWrSrupd9UJbjuJb4RqIJ51Z_oueg3g: created acme-client: https://127.0.0.1:14001/chalZ/dxmyx66_oaIA0UXs4Pm8ehIhburThhAP4EzQJuN2iYs: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/pa8Ucuk0SLhy3-SKbdu38NY8SQMmlVlNrmiuk25mdyc acme-client: challenge, token: qwRhcPXbdIHVhWrSrupd9UJbjuJb4RqIJ51Z_oueg3g, uri: https://127.0.0.1:14001/chalZ/dxmyx66_oaIA0UXs4Pm8ehIhburThhAP4EzQJuN2iYs, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/29bSBldxCC8tqWsywNE92eFE6Py-Fjh-LVTg08BbR50: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/2113df5cd1dcc68e: certificate account key: https://127.0.0.1:14001/my-account/21ab709db0e0bd06 acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/cert.pem: created ==== 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" make -C /home/src/regress/usr.sbin/acme-client pebble-eab-stop pkill -xf "/usr/local/bin/pebble -config /home/src/regress/usr.sbin/acme-client/obj/pebble-config-eab.json"