==== 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" 83426 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/33f547ac29db7306 acme-client: dochngreq: https://127.0.0.1:14000/authZ/P6OpLC0M_S74M5chpeu3ZutXk2n_0AgaNRjO0bxnuKM acme-client: challenge, token: mGQgMHAgzS1m7Brz1oAT4YL42cZCtzzFrZ9oP3Gmg5I, uri: https://127.0.0.1:14000/chalZ/yR3pi7QVOPhRB1JNQ4Xh3G1y3ORjxiAPLOYlFnWbyE0, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/mGQgMHAgzS1m7Brz1oAT4YL42cZCtzzFrZ9oP3Gmg5I: created acme-client: https://127.0.0.1:14000/chalZ/yR3pi7QVOPhRB1JNQ4Xh3G1y3ORjxiAPLOYlFnWbyE0: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/P6OpLC0M_S74M5chpeu3ZutXk2n_0AgaNRjO0bxnuKM acme-client: challenge, token: mGQgMHAgzS1m7Brz1oAT4YL42cZCtzzFrZ9oP3Gmg5I, uri: https://127.0.0.1:14000/chalZ/yR3pi7QVOPhRB1JNQ4Xh3G1y3ORjxiAPLOYlFnWbyE0, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/yCkxg0R-G_o5Rci6cU4_0RXqBMaBispWtNdjFf1EZDg: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/18c4728933495b5b: certificate account key: https://127.0.0.1:14000/my-account/33f547ac29db7306 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/33f547ac29db7306 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/33f547ac29db7306 acme-client: dochngreq: https://127.0.0.1:14000/authZ/DL7hy7wD4C538RRzS59PaIjU-7YXIJJVwiNLKNbGKHg acme-client: challenge, token: wrwWKlaZS0w0U2BsZ2axBOqhBXp_elKBSuR-xuURVz4, uri: https://127.0.0.1:14000/chalZ/3rU_SFfuFtHQoTvSZfKyb6igaPziUr77MJWoBjFZJWc, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/wrwWKlaZS0w0U2BsZ2axBOqhBXp_elKBSuR-xuURVz4: created acme-client: https://127.0.0.1:14000/chalZ/3rU_SFfuFtHQoTvSZfKyb6igaPziUr77MJWoBjFZJWc: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/DL7hy7wD4C538RRzS59PaIjU-7YXIJJVwiNLKNbGKHg acme-client: challenge, token: wrwWKlaZS0w0U2BsZ2axBOqhBXp_elKBSuR-xuURVz4, uri: https://127.0.0.1:14000/chalZ/3rU_SFfuFtHQoTvSZfKyb6igaPziUr77MJWoBjFZJWc, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/-ZWz2ydxNwZeZv8Gcx7rvVXlNH-EgIeZnI0rUIOF8CA: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/1929a483676b7936: 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/33f547ac29db7306 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/33f547ac29db7306 acme-client: dochngreq: https://127.0.0.1:14000/authZ/bfI6fKF7pGfehSLwWszWiQDDvbBCsJ2l0KLuoFERCUU acme-client: challenge, token: Hs4Y_hMdiwn4w58DYa4cW_vKENtF4Do4Xxtyo0sB5FA, uri: https://127.0.0.1:14000/chalZ/C6Du2kalajg-RV7intWoVlj04uEFG7q5FjZ98CqlQSo, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Hs4Y_hMdiwn4w58DYa4cW_vKENtF4Do4Xxtyo0sB5FA: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/1ItbmTXjNp1wnXh-Cv8KmW5FC2YZ5pPFNR5kW3CuTMA acme-client: challenge, token: hrH8GPErJduCRNTq1soYu-FHVH-81QJ8KtpvUc6eATo, uri: https://127.0.0.1:14000/chalZ/iqs8vcs2jeQtSTa2r8RT-xCjqQvhkkD3gZyZo3L4fJs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/hrH8GPErJduCRNTq1soYu-FHVH-81QJ8KtpvUc6eATo: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/Sa_zlJtoTSTC80rwhboC-_iaUNlSERpFjBZMCNxKdSY acme-client: challenge, token: DzR_XPBgYtk-fvzVYxXkNIQYsjOTu4e1l6N0ujIq9to, uri: https://127.0.0.1:14000/chalZ/5gfb_RNzxIxtomWMGdduzoLzO9swpTK-I4AVzDOrPCs, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/DzR_XPBgYtk-fvzVYxXkNIQYsjOTu4e1l6N0ujIq9to: created acme-client: https://127.0.0.1:14000/chalZ/C6Du2kalajg-RV7intWoVlj04uEFG7q5FjZ98CqlQSo: challenge acme-client: https://127.0.0.1:14000/chalZ/iqs8vcs2jeQtSTa2r8RT-xCjqQvhkkD3gZyZo3L4fJs: challenge acme-client: https://127.0.0.1:14000/chalZ/5gfb_RNzxIxtomWMGdduzoLzO9swpTK-I4AVzDOrPCs: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/bfI6fKF7pGfehSLwWszWiQDDvbBCsJ2l0KLuoFERCUU acme-client: challenge, token: Hs4Y_hMdiwn4w58DYa4cW_vKENtF4Do4Xxtyo0sB5FA, uri: https://127.0.0.1:14000/chalZ/C6Du2kalajg-RV7intWoVlj04uEFG7q5FjZ98CqlQSo, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/1ItbmTXjNp1wnXh-Cv8KmW5FC2YZ5pPFNR5kW3CuTMA acme-client: challenge, token: hrH8GPErJduCRNTq1soYu-FHVH-81QJ8KtpvUc6eATo, uri: https://127.0.0.1:14000/chalZ/iqs8vcs2jeQtSTa2r8RT-xCjqQvhkkD3gZyZo3L4fJs, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Sa_zlJtoTSTC80rwhboC-_iaUNlSERpFjBZMCNxKdSY acme-client: challenge, token: DzR_XPBgYtk-fvzVYxXkNIQYsjOTu4e1l6N0ujIq9to, uri: https://127.0.0.1:14000/chalZ/5gfb_RNzxIxtomWMGdduzoLzO9swpTK-I4AVzDOrPCs, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/LCYaoj_IMZ4fkQE2jvoedq2LFXH4HzJ-dtFoYiy7oSQ: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/70e95f85ac9e8c12: 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/33f547ac29db7306 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/33f547ac29db7306 acme-client: https://127.0.0.1:14000/finalize-order/1UL9rp9-IYvIhYLVl4Pge_DzIdq0DvwAOOZnQAzVuyE: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/71e58e1847f805c8: 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/33f547ac29db7306 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"