==== 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" 58770 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/56eeec6890b92373 acme-client: dochngreq: https://127.0.0.1:14000/authZ/XTl_mZvkhgW5NJlfgv6PeFZUWNqAenqbp7aL9qEDXdw acme-client: challenge, token: JlvcNYScqHUsb5AN_RhccBBidyuELdA6OjCLvq4Ndew, uri: https://127.0.0.1:14000/chalZ/XORCeVZtKNWeA3agtk3rtd9asp-chtx3rfWHwdjEvDM, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/JlvcNYScqHUsb5AN_RhccBBidyuELdA6OjCLvq4Ndew: created acme-client: https://127.0.0.1:14000/chalZ/XORCeVZtKNWeA3agtk3rtd9asp-chtx3rfWHwdjEvDM: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/XTl_mZvkhgW5NJlfgv6PeFZUWNqAenqbp7aL9qEDXdw acme-client: challenge, token: JlvcNYScqHUsb5AN_RhccBBidyuELdA6OjCLvq4Ndew, uri: https://127.0.0.1:14000/chalZ/XORCeVZtKNWeA3agtk3rtd9asp-chtx3rfWHwdjEvDM, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/u2i3k8y3-l3JlfD9ZNDZYxSyblm-YO2Q-1YWOIdijG0: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/025dbb4c81a3fd8b: certificate account key: https://127.0.0.1:14000/my-account/56eeec6890b92373 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/56eeec6890b92373 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/56eeec6890b92373 acme-client: dochngreq: https://127.0.0.1:14000/authZ/-iq6vQbUK0aCu5Dn9iQTHPRmG445tpbdN6apQnvAvuQ acme-client: challenge, token: fo85WYCY-m-vKS0jh7h0P6DCH77gQiHycaUOGMyDCfs, uri: https://127.0.0.1:14000/chalZ/v3pbEEOHABb-puvxu3qE6B21UYlNwAz5BSVXvBZ4jxo, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/fo85WYCY-m-vKS0jh7h0P6DCH77gQiHycaUOGMyDCfs: created acme-client: https://127.0.0.1:14000/chalZ/v3pbEEOHABb-puvxu3qE6B21UYlNwAz5BSVXvBZ4jxo: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/-iq6vQbUK0aCu5Dn9iQTHPRmG445tpbdN6apQnvAvuQ acme-client: challenge, token: fo85WYCY-m-vKS0jh7h0P6DCH77gQiHycaUOGMyDCfs, uri: https://127.0.0.1:14000/chalZ/v3pbEEOHABb-puvxu3qE6B21UYlNwAz5BSVXvBZ4jxo, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/aJry374b588ZcfuUutEKjBLScfnSZKDWVuNJKiGQVxk: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/3afb089f0f54819b: 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/56eeec6890b92373 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/56eeec6890b92373 acme-client: dochngreq: https://127.0.0.1:14000/authZ/R1oWbQwfstIC2j7OffmZGI26OJU-c8n5aIdqPIgBXgc acme-client: challenge, token: 1m23uqHOKfD7V-gj-JEeTVpFpfHFdxOV9AFI2dhBcoc, uri: https://127.0.0.1:14000/chalZ/tVTpYmywFfj-f-VEChpI1yGehy16z-sunNdYe5HK4Lg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/1m23uqHOKfD7V-gj-JEeTVpFpfHFdxOV9AFI2dhBcoc: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/ggtjWQ30IK6_4PQNxG_c13RfAfj2MpKeYb1oGBIWU2Q acme-client: challenge, token: DqPOjjoxlI77YXYZUi81xqT1j62K8RlA8FSorrZxurw, uri: https://127.0.0.1:14000/chalZ/ykI_O-V4wvB93cUjWK9beOD21L-0bZkvtTF9doGIQJo, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/DqPOjjoxlI77YXYZUi81xqT1j62K8RlA8FSorrZxurw: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/EYmIae1P4Fb1BuB-xkNKcuj7Bf2U35U2NApgO3-f-MY acme-client: challenge, token: guwxo4dSU5l4YAeMFe6B_ngLGnLcs2kdiwHh7gb2HDw, uri: https://127.0.0.1:14000/chalZ/o8G55IWp6-enIeYUPXDhPpDFn0R2RfJoZnlDIlgY_98, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/guwxo4dSU5l4YAeMFe6B_ngLGnLcs2kdiwHh7gb2HDw: created acme-client: https://127.0.0.1:14000/chalZ/tVTpYmywFfj-f-VEChpI1yGehy16z-sunNdYe5HK4Lg: challenge acme-client: https://127.0.0.1:14000/chalZ/ykI_O-V4wvB93cUjWK9beOD21L-0bZkvtTF9doGIQJo: challenge acme-client: https://127.0.0.1:14000/chalZ/o8G55IWp6-enIeYUPXDhPpDFn0R2RfJoZnlDIlgY_98: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/R1oWbQwfstIC2j7OffmZGI26OJU-c8n5aIdqPIgBXgc acme-client: challenge, token: 1m23uqHOKfD7V-gj-JEeTVpFpfHFdxOV9AFI2dhBcoc, uri: https://127.0.0.1:14000/chalZ/tVTpYmywFfj-f-VEChpI1yGehy16z-sunNdYe5HK4Lg, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/ggtjWQ30IK6_4PQNxG_c13RfAfj2MpKeYb1oGBIWU2Q acme-client: challenge, token: DqPOjjoxlI77YXYZUi81xqT1j62K8RlA8FSorrZxurw, uri: https://127.0.0.1:14000/chalZ/ykI_O-V4wvB93cUjWK9beOD21L-0bZkvtTF9doGIQJo, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/EYmIae1P4Fb1BuB-xkNKcuj7Bf2U35U2NApgO3-f-MY acme-client: challenge, token: guwxo4dSU5l4YAeMFe6B_ngLGnLcs2kdiwHh7gb2HDw, uri: https://127.0.0.1:14000/chalZ/o8G55IWp6-enIeYUPXDhPpDFn0R2RfJoZnlDIlgY_98, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/umewdYLjzTRdkZAXkF3IE9XutF-M3O8IQMwUtzO2O8I: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7c5539594eb852f4: 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/56eeec6890b92373 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/56eeec6890b92373 acme-client: dochngreq: https://127.0.0.1:14000/authZ/cp3iVklapm6zEQpciWbDUP_4110qXJBgCt948NfvANw acme-client: challenge, token: zbR5ieoHYcopb3yDGnG1_h3Ut9otPN1fk7ZF6ekiP0I, uri: https://127.0.0.1:14000/chalZ/TRDn8L-h1JmOnIKTVfH4rhzxFpBfNhzoSXFxzbirwrQ, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/zbR5ieoHYcopb3yDGnG1_h3Ut9otPN1fk7ZF6ekiP0I: created acme-client: https://127.0.0.1:14000/chalZ/TRDn8L-h1JmOnIKTVfH4rhzxFpBfNhzoSXFxzbirwrQ: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/cp3iVklapm6zEQpciWbDUP_4110qXJBgCt948NfvANw acme-client: challenge, token: zbR5ieoHYcopb3yDGnG1_h3Ut9otPN1fk7ZF6ekiP0I, uri: https://127.0.0.1:14000/chalZ/TRDn8L-h1JmOnIKTVfH4rhzxFpBfNhzoSXFxzbirwrQ, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/xqO5PGj6P1XN1kA7xMKBx_xbgaqJah9D25eVlXLrb-E: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6dda319fa6adb053: 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/56eeec6890b92373 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/62572b34c72392a1 acme-client: dochngreq: https://127.0.0.1:14001/authZ/ctq1_KSFjS_ea1dvywQ6YHeo7BQjDKI0dsY4NBW9NIs acme-client: challenge, token: r7zk4a54nTy2eujtms8k9LiStd0vkfdy42v8c0UnH3E, uri: https://127.0.0.1:14001/chalZ/cZi5-ieL6NjI7G2TEqX0BFL_MZBcTz67ob1HBE0ZQg8, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/r7zk4a54nTy2eujtms8k9LiStd0vkfdy42v8c0UnH3E: created acme-client: https://127.0.0.1:14001/chalZ/cZi5-ieL6NjI7G2TEqX0BFL_MZBcTz67ob1HBE0ZQg8: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14001/authZ/ctq1_KSFjS_ea1dvywQ6YHeo7BQjDKI0dsY4NBW9NIs acme-client: challenge, token: r7zk4a54nTy2eujtms8k9LiStd0vkfdy42v8c0UnH3E, uri: https://127.0.0.1:14001/chalZ/cZi5-ieL6NjI7G2TEqX0BFL_MZBcTz67ob1HBE0ZQg8, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14001/finalize-order/QAGnQ5EZ_tTO0MN6qg4SSU6XNzRh1cH5wM60K6muvHw: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14001/certZ/03090590904b5490: certificate account key: https://127.0.0.1:14001/my-account/62572b34c72392a1 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"