==== 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" 86610 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/5f1c2a1c976cd911 acme-client: dochngreq: https://127.0.0.1:14000/authZ/0_BmwTUCQ3Ygd4eLXBkcftssyYwAhhAgBVmzlQXjMVM acme-client: challenge, token: qzQfLo1Vc3IR181BEwWRFiE6QfRAiSFmE70Z-A-cDy8, uri: https://127.0.0.1:14000/chalZ/P3cjWlmpTKY7o6W0Vkq7_AISfjMfGxSv1VjtzxaArNY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/qzQfLo1Vc3IR181BEwWRFiE6QfRAiSFmE70Z-A-cDy8: created acme-client: https://127.0.0.1:14000/chalZ/P3cjWlmpTKY7o6W0Vkq7_AISfjMfGxSv1VjtzxaArNY: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/0_BmwTUCQ3Ygd4eLXBkcftssyYwAhhAgBVmzlQXjMVM acme-client: challenge, token: qzQfLo1Vc3IR181BEwWRFiE6QfRAiSFmE70Z-A-cDy8, uri: https://127.0.0.1:14000/chalZ/P3cjWlmpTKY7o6W0Vkq7_AISfjMfGxSv1VjtzxaArNY, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/1He01IXGevW2JCzuSgloElda1doQozoor4FXzkYVFUU: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/55d94465a56c85ce: certificate account key: https://127.0.0.1:14000/my-account/5f1c2a1c976cd911 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/5f1c2a1c976cd911 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/5f1c2a1c976cd911 acme-client: https://127.0.0.1:14000/finalize-order/VfKF7iMvCXV8d62bkFxot0eJCtIp6KZJWorLEcpEbsc: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/2dc5aa4404956873: 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/5f1c2a1c976cd911 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/5f1c2a1c976cd911 acme-client: dochngreq: https://127.0.0.1:14000/authZ/uwIKCnyoBlLrH-UGo3v-78UKKAI-frpQ8ZlEKk104TA acme-client: challenge, token: RFSSsQ9oGDCB1GtpL7uX4r42CeMMLCk90jYK8Fk6eTY, uri: https://127.0.0.1:14000/chalZ/rqGy5moedmEBgiA2Wd0gi0pOoUS0kCw72LEKUk9wJMg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/RFSSsQ9oGDCB1GtpL7uX4r42CeMMLCk90jYK8Fk6eTY: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/0_BmwTUCQ3Ygd4eLXBkcftssyYwAhhAgBVmzlQXjMVM acme-client: challenge, token: qzQfLo1Vc3IR181BEwWRFiE6QfRAiSFmE70Z-A-cDy8, uri: https://127.0.0.1:14000/chalZ/P3cjWlmpTKY7o6W0Vkq7_AISfjMfGxSv1VjtzxaArNY, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/a4t2dyvlYw7a_OeXi8xIqUFjf84Qwzf1CendRUvqHdc acme-client: challenge, token: 0h1lmn6hw7oFKQYPEKRntMGf4p7YLAylpC24nrTt0FQ, uri: https://127.0.0.1:14000/chalZ/KlNlSk6POzR3rdxkmnDOvGDgexJEW63QoET273k9IYg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/0h1lmn6hw7oFKQYPEKRntMGf4p7YLAylpC24nrTt0FQ: created acme-client: https://127.0.0.1:14000/chalZ/rqGy5moedmEBgiA2Wd0gi0pOoUS0kCw72LEKUk9wJMg: challenge acme-client: https://127.0.0.1:14000/chalZ/KlNlSk6POzR3rdxkmnDOvGDgexJEW63QoET273k9IYg: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/uwIKCnyoBlLrH-UGo3v-78UKKAI-frpQ8ZlEKk104TA acme-client: challenge, token: RFSSsQ9oGDCB1GtpL7uX4r42CeMMLCk90jYK8Fk6eTY, uri: https://127.0.0.1:14000/chalZ/rqGy5moedmEBgiA2Wd0gi0pOoUS0kCw72LEKUk9wJMg, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/0_BmwTUCQ3Ygd4eLXBkcftssyYwAhhAgBVmzlQXjMVM acme-client: challenge, token: qzQfLo1Vc3IR181BEwWRFiE6QfRAiSFmE70Z-A-cDy8, uri: https://127.0.0.1:14000/chalZ/P3cjWlmpTKY7o6W0Vkq7_AISfjMfGxSv1VjtzxaArNY, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/a4t2dyvlYw7a_OeXi8xIqUFjf84Qwzf1CendRUvqHdc acme-client: challenge, token: 0h1lmn6hw7oFKQYPEKRntMGf4p7YLAylpC24nrTt0FQ, uri: https://127.0.0.1:14000/chalZ/KlNlSk6POzR3rdxkmnDOvGDgexJEW63QoET273k9IYg, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/RA_CxYwmR3mS4Go_o4-HULUDtTHAVe-u0N6Hd3jCE2E: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/606313a044ccc1a7: 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/5f1c2a1c976cd911 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/5f1c2a1c976cd911 acme-client: dochngreq: https://127.0.0.1:14000/authZ/p5x98dxODSDVUfl1hJr0yLyv8aiaF_0-oHlKq0CvH4A acme-client: challenge, token: 0SnCO4ZjqveCS0-n1TFGyGwsMUlYEjWFs2xVsz_DRA4, uri: https://127.0.0.1:14000/chalZ/EsO_48cXZ3jGJdfFIcDFaZVLt0Wo-ZkqUsWeAN0lmyY, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/0SnCO4ZjqveCS0-n1TFGyGwsMUlYEjWFs2xVsz_DRA4: created acme-client: https://127.0.0.1:14000/chalZ/EsO_48cXZ3jGJdfFIcDFaZVLt0Wo-ZkqUsWeAN0lmyY: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/p5x98dxODSDVUfl1hJr0yLyv8aiaF_0-oHlKq0CvH4A acme-client: challenge, token: 0SnCO4ZjqveCS0-n1TFGyGwsMUlYEjWFs2xVsz_DRA4, uri: https://127.0.0.1:14000/chalZ/EsO_48cXZ3jGJdfFIcDFaZVLt0Wo-ZkqUsWeAN0lmyY, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/l3CRRcHygOD_IgMyLtUgBgem7Uu8wtHyQS-h175V0j8: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/5ad754e4e791d6c9: 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/5f1c2a1c976cd911 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"