==== 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" 95559 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/b9c69f07bb96e10 acme-client: dochngreq: https://127.0.0.1:14000/authZ/KUtczTmRTF8Xa8m5kyeiLrf5gbxl2RFWw3Xk6wEhX6o acme-client: challenge, token: SQBJLzDTdQI_jHvbdSdWatmXGhUEq0V_j5qLZoAHWAw, uri: https://127.0.0.1:14000/chalZ/G-TE1pfxMp94FrnGzgPNwhJjR7kZgSfxa-THiwov0G8, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/SQBJLzDTdQI_jHvbdSdWatmXGhUEq0V_j5qLZoAHWAw: created acme-client: https://127.0.0.1:14000/chalZ/G-TE1pfxMp94FrnGzgPNwhJjR7kZgSfxa-THiwov0G8: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/KUtczTmRTF8Xa8m5kyeiLrf5gbxl2RFWw3Xk6wEhX6o acme-client: challenge, token: SQBJLzDTdQI_jHvbdSdWatmXGhUEq0V_j5qLZoAHWAw, uri: https://127.0.0.1:14000/chalZ/G-TE1pfxMp94FrnGzgPNwhJjR7kZgSfxa-THiwov0G8, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/2Nnntvmky6f9yTTtQTXv5G2QlvsPAQpvdo_sko5Ays0: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/2b7317d0b8f997c3: certificate account key: https://127.0.0.1:14000/my-account/b9c69f07bb96e10 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/b9c69f07bb96e10 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/b9c69f07bb96e10 acme-client: dochngreq: https://127.0.0.1:14000/authZ/r6IcP5E7PhZtWQ9aMlp4595ptUb_FRb_eR1shTqsvUk acme-client: challenge, token: Qrw8e-r08kvErhpcxLqsXOGtqguFt1WrrLdvIjB624w, uri: https://127.0.0.1:14000/chalZ/zv0pR49e5A3GJjpwvH1pwwVnGmYW2N-NEby_TPiA-NU, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Qrw8e-r08kvErhpcxLqsXOGtqguFt1WrrLdvIjB624w: created acme-client: https://127.0.0.1:14000/chalZ/zv0pR49e5A3GJjpwvH1pwwVnGmYW2N-NEby_TPiA-NU: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/r6IcP5E7PhZtWQ9aMlp4595ptUb_FRb_eR1shTqsvUk acme-client: challenge, token: Qrw8e-r08kvErhpcxLqsXOGtqguFt1WrrLdvIjB624w, uri: https://127.0.0.1:14000/chalZ/zv0pR49e5A3GJjpwvH1pwwVnGmYW2N-NEby_TPiA-NU, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/eL__v7yuBhM_OFbavPlRukk5VxqtezYwzAZnEtwXJBE: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6e14adf9a9524dd0: 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/b9c69f07bb96e10 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/b9c69f07bb96e10 acme-client: dochngreq: https://127.0.0.1:14000/authZ/yfSj_FY4YMVFoINdunvCWjOW0kUzVhFobWMDLXcMVq0 acme-client: challenge, token: TuX5XRt6w4weLyUTmn4-R6yK21bm07of-NvjQVsf5tQ, uri: https://127.0.0.1:14000/chalZ/nLUQyOw_p25hDsTHzoND9L6WFZ7rfaOZM4tUFYWnCO4, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/TuX5XRt6w4weLyUTmn4-R6yK21bm07of-NvjQVsf5tQ: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/9fhfxtR-DL94z2WcxqEvzljJIgRwXafdrMSCxZo_Rn0 acme-client: challenge, token: eBvYJwj8Fb3glb8xTapt7WpyR0WHsCJ8Q8whooAWEF0, uri: https://127.0.0.1:14000/chalZ/ueJEPGmOM5Cg7p9bwLuXveNyQlcpjOxXqTic665vDLA, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/eBvYJwj8Fb3glb8xTapt7WpyR0WHsCJ8Q8whooAWEF0: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/r6IcP5E7PhZtWQ9aMlp4595ptUb_FRb_eR1shTqsvUk acme-client: challenge, token: Qrw8e-r08kvErhpcxLqsXOGtqguFt1WrrLdvIjB624w, uri: https://127.0.0.1:14000/chalZ/zv0pR49e5A3GJjpwvH1pwwVnGmYW2N-NEby_TPiA-NU, status: 2 acme-client: https://127.0.0.1:14000/chalZ/nLUQyOw_p25hDsTHzoND9L6WFZ7rfaOZM4tUFYWnCO4: challenge acme-client: https://127.0.0.1:14000/chalZ/ueJEPGmOM5Cg7p9bwLuXveNyQlcpjOxXqTic665vDLA: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/yfSj_FY4YMVFoINdunvCWjOW0kUzVhFobWMDLXcMVq0 acme-client: challenge, token: TuX5XRt6w4weLyUTmn4-R6yK21bm07of-NvjQVsf5tQ, uri: https://127.0.0.1:14000/chalZ/nLUQyOw_p25hDsTHzoND9L6WFZ7rfaOZM4tUFYWnCO4, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/9fhfxtR-DL94z2WcxqEvzljJIgRwXafdrMSCxZo_Rn0 acme-client: challenge, token: eBvYJwj8Fb3glb8xTapt7WpyR0WHsCJ8Q8whooAWEF0, uri: https://127.0.0.1:14000/chalZ/ueJEPGmOM5Cg7p9bwLuXveNyQlcpjOxXqTic665vDLA, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/r6IcP5E7PhZtWQ9aMlp4595ptUb_FRb_eR1shTqsvUk acme-client: challenge, token: Qrw8e-r08kvErhpcxLqsXOGtqguFt1WrrLdvIjB624w, uri: https://127.0.0.1:14000/chalZ/zv0pR49e5A3GJjpwvH1pwwVnGmYW2N-NEby_TPiA-NU, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/w7AGITPd9E3ZKxUf1IkScvkzrn1TBQQYHkwBN20FQ1E: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6f741f7670acb945: 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/b9c69f07bb96e10 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/b9c69f07bb96e10 acme-client: https://127.0.0.1:14000/finalize-order/1gYCQgG28ZOt6Q-h7VLd7ZPnfU22Lltmskw31MMcZfE: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/41f084bbec1e2319: 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/b9c69f07bb96e10 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"