==== 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" 90562 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/46e340654a85491d acme-client: dochngreq: https://127.0.0.1:14000/authZ/namplvyFsrYWOxewEeAIJmK_NgypqFXvU7iSBDrkWWA acme-client: challenge, token: fE2qDsovYZJoQCwI22-Kqr1qBqLtQGFSbzc8eU6qr8A, uri: https://127.0.0.1:14000/chalZ/K-20geEpMOWCf3BC5DnRDF8yVxh_h-V1B8WAN7ugkeo, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/fE2qDsovYZJoQCwI22-Kqr1qBqLtQGFSbzc8eU6qr8A: created acme-client: https://127.0.0.1:14000/chalZ/K-20geEpMOWCf3BC5DnRDF8yVxh_h-V1B8WAN7ugkeo: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/namplvyFsrYWOxewEeAIJmK_NgypqFXvU7iSBDrkWWA acme-client: challenge, token: fE2qDsovYZJoQCwI22-Kqr1qBqLtQGFSbzc8eU6qr8A, uri: https://127.0.0.1:14000/chalZ/K-20geEpMOWCf3BC5DnRDF8yVxh_h-V1B8WAN7ugkeo, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/RVp7oHIeSnsbuZZZiZnQdVuvtd6PbCJnfJL6Yd1DVGY: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/5d9a89ad6441e072: certificate account key: https://127.0.0.1:14000/my-account/46e340654a85491d 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/46e340654a85491d 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/46e340654a85491d acme-client: dochngreq: https://127.0.0.1:14000/authZ/A0uxk4iic6VOvTiReLYZkt7ccqBveSgH1OkYIkk6jIk acme-client: challenge, token: g7_fvG0R9MBLoSkvRe2sINGPbeiX6pi6Pt5eZQ7nggo, uri: https://127.0.0.1:14000/chalZ/VsfYOO4zQRVavmAVYTKHzI0aGTkewnhrygwe_onlXeM, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/g7_fvG0R9MBLoSkvRe2sINGPbeiX6pi6Pt5eZQ7nggo: created acme-client: https://127.0.0.1:14000/chalZ/VsfYOO4zQRVavmAVYTKHzI0aGTkewnhrygwe_onlXeM: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/A0uxk4iic6VOvTiReLYZkt7ccqBveSgH1OkYIkk6jIk acme-client: challenge, token: g7_fvG0R9MBLoSkvRe2sINGPbeiX6pi6Pt5eZQ7nggo, uri: https://127.0.0.1:14000/chalZ/VsfYOO4zQRVavmAVYTKHzI0aGTkewnhrygwe_onlXeM, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/W1NVHvuvslfglJCwkEYXVRJIdSjFQUtr63M-4YOTd4M: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/26196b16bd691873: 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/46e340654a85491d 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/46e340654a85491d acme-client: dochngreq: https://127.0.0.1:14000/authZ/4Ti_BNFmIp1yY8JUWlL6SMc8p8ZoJ7Bs-RzHlfj9efE acme-client: challenge, token: NdYSvzKUdaaZsPXItwe70sWNr0ON4058ZKh3U-COoGg, uri: https://127.0.0.1:14000/chalZ/-UyWN5i-YXEf10g74Kjjvz38_TAWj_6Tuce7Q5emEJ8, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/NdYSvzKUdaaZsPXItwe70sWNr0ON4058ZKh3U-COoGg: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/l3-Fvd4PWnMSamixntaVH712KafUg-6hlT9FIYRxmJM acme-client: challenge, token: 3q3lHh5tAbGoRIOvDNxO4q8uwElIx4_qZIHxLvjSb5U, uri: https://127.0.0.1:14000/chalZ/KFMk4UgreWHtUBZ6Xy5AWg140jOSUgQ5M3Av2Vfdz6Y, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/3q3lHh5tAbGoRIOvDNxO4q8uwElIx4_qZIHxLvjSb5U: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/y2K4Pm7xJJ0p0Pir8GUz4_8qH2I-wyPAFBP3jHN6L60 acme-client: challenge, token: CNalLbYdhdKf8_tLdPDZd-k6Mu0GdpK0RwMf8gb6h90, uri: https://127.0.0.1:14000/chalZ/UrR0yB4jeFORD2aHHMklCGQKje9W7sjbuwdXJiN1arw, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/CNalLbYdhdKf8_tLdPDZd-k6Mu0GdpK0RwMf8gb6h90: created acme-client: https://127.0.0.1:14000/chalZ/-UyWN5i-YXEf10g74Kjjvz38_TAWj_6Tuce7Q5emEJ8: challenge acme-client: https://127.0.0.1:14000/chalZ/KFMk4UgreWHtUBZ6Xy5AWg140jOSUgQ5M3Av2Vfdz6Y: challenge acme-client: https://127.0.0.1:14000/chalZ/UrR0yB4jeFORD2aHHMklCGQKje9W7sjbuwdXJiN1arw: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/4Ti_BNFmIp1yY8JUWlL6SMc8p8ZoJ7Bs-RzHlfj9efE acme-client: challenge, token: NdYSvzKUdaaZsPXItwe70sWNr0ON4058ZKh3U-COoGg, uri: https://127.0.0.1:14000/chalZ/-UyWN5i-YXEf10g74Kjjvz38_TAWj_6Tuce7Q5emEJ8, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/l3-Fvd4PWnMSamixntaVH712KafUg-6hlT9FIYRxmJM acme-client: challenge, token: 3q3lHh5tAbGoRIOvDNxO4q8uwElIx4_qZIHxLvjSb5U, uri: https://127.0.0.1:14000/chalZ/KFMk4UgreWHtUBZ6Xy5AWg140jOSUgQ5M3Av2Vfdz6Y, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/y2K4Pm7xJJ0p0Pir8GUz4_8qH2I-wyPAFBP3jHN6L60 acme-client: challenge, token: CNalLbYdhdKf8_tLdPDZd-k6Mu0GdpK0RwMf8gb6h90, uri: https://127.0.0.1:14000/chalZ/UrR0yB4jeFORD2aHHMklCGQKje9W7sjbuwdXJiN1arw, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/WGC_dU-vQ4Zqh6O8JE_DaaIn58AANL-4JtsfI8ihDbk: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/4b07dd03ce0e4ded: 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/46e340654a85491d 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/46e340654a85491d acme-client: dochngreq: https://127.0.0.1:14000/authZ/lSpXNCyz77o1PzWVaIXqNxY_-ZfnGUsGNnAr18IkW14 acme-client: challenge, token: i3nK0gAcIkOv9EXoYEsV8m1qZvse42DtNJZHr93R-Z0, uri: https://127.0.0.1:14000/chalZ/EyvhtT-G40hq98RPGWJD3EgR9YGQ7_z7CF5bd_meWmM, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/i3nK0gAcIkOv9EXoYEsV8m1qZvse42DtNJZHr93R-Z0: created acme-client: https://127.0.0.1:14000/chalZ/EyvhtT-G40hq98RPGWJD3EgR9YGQ7_z7CF5bd_meWmM: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/lSpXNCyz77o1PzWVaIXqNxY_-ZfnGUsGNnAr18IkW14 acme-client: challenge, token: i3nK0gAcIkOv9EXoYEsV8m1qZvse42DtNJZHr93R-Z0, uri: https://127.0.0.1:14000/chalZ/EyvhtT-G40hq98RPGWJD3EgR9YGQ7_z7CF5bd_meWmM, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/7HURHIqb7U0plv8Riu60pu9n_kwIy6MoslS8vG-5bRI: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/336e0c853fd4b507: 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/46e340654a85491d 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"