==== 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" 93284 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/4497e4179761711e acme-client: dochngreq: https://127.0.0.1:14000/authZ/QtZu6Pr8hhwpVq86vPzH_OJwaV1bgy-2nf5JTqCYV8U acme-client: challenge, token: A_MW_G7z2e3Bzej-rERrdu7sncaTsdFbSXWMmNkFPls, uri: https://127.0.0.1:14000/chalZ/nJAFhOD3olNykpxZwIBZ6RC4D2bupjSqU4qZ9pynpPA, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/A_MW_G7z2e3Bzej-rERrdu7sncaTsdFbSXWMmNkFPls: created acme-client: https://127.0.0.1:14000/chalZ/nJAFhOD3olNykpxZwIBZ6RC4D2bupjSqU4qZ9pynpPA: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/QtZu6Pr8hhwpVq86vPzH_OJwaV1bgy-2nf5JTqCYV8U acme-client: challenge, token: A_MW_G7z2e3Bzej-rERrdu7sncaTsdFbSXWMmNkFPls, uri: https://127.0.0.1:14000/chalZ/nJAFhOD3olNykpxZwIBZ6RC4D2bupjSqU4qZ9pynpPA, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/Me3dVFoZS3g6PD365xCOFe1IuByhgYJBctC69aeT2ZU: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/1b65393f5605f87f: certificate account key: https://127.0.0.1:14000/my-account/4497e4179761711e 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/4497e4179761711e 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/4497e4179761711e acme-client: dochngreq: https://127.0.0.1:14000/authZ/rk-Z72dishkdrcGWDQ0eG7n4hyEuj-ESeIHd3q0WYQw acme-client: challenge, token: OaBYuWHPHzTq5zBR4m6WmcC2zjjEknZlZPMT75ru1CY, uri: https://127.0.0.1:14000/chalZ/5T4mV4jReTYlR1WHC40XN-vkW-_hVpIYfWbeoMplnXg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/OaBYuWHPHzTq5zBR4m6WmcC2zjjEknZlZPMT75ru1CY: created acme-client: https://127.0.0.1:14000/chalZ/5T4mV4jReTYlR1WHC40XN-vkW-_hVpIYfWbeoMplnXg: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/rk-Z72dishkdrcGWDQ0eG7n4hyEuj-ESeIHd3q0WYQw acme-client: challenge, token: OaBYuWHPHzTq5zBR4m6WmcC2zjjEknZlZPMT75ru1CY, uri: https://127.0.0.1:14000/chalZ/5T4mV4jReTYlR1WHC40XN-vkW-_hVpIYfWbeoMplnXg, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/8Lho_ZgofO6vYLqzLEXAzTrLMXvKQe4QEwv-tvdF-hg: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6ee816669f6c4161: 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/4497e4179761711e 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/4497e4179761711e acme-client: dochngreq: https://127.0.0.1:14000/authZ/M0zC7jkXoolZTptEsQ6OzmWtzBVq4XqTK9Pq92nTHCU acme-client: challenge, token: 1D04T3PFogpMuEH_9I7vUxRpm6Xd-oy2UMQhQ0ZCtzw, uri: https://127.0.0.1:14000/chalZ/-W8_Gf07QtULCr10vnNelGn5cF_n1u8ShPIHhJNztf0, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/1D04T3PFogpMuEH_9I7vUxRpm6Xd-oy2UMQhQ0ZCtzw: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/I0DrjuJbiotlmtNKDHYr5VqPHh9gh_Bdr-ka1z7kL98 acme-client: challenge, token: -RB42S2hU-GUSQUT5uLHmpZ7sRfUJ_zupiE7TUMD9Cg, uri: https://127.0.0.1:14000/chalZ/PB-gxG7CVb0V1GeQ0Lj3FwAdqnGjkrqiDAQdfA16FoE, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/-RB42S2hU-GUSQUT5uLHmpZ7sRfUJ_zupiE7TUMD9Cg: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/Z3HCvin3v6iXKi9tm8XTQbmttv7yaXiA9XO46cnQbw4 acme-client: challenge, token: GaqNhhd-neFICN_XuTMOlqYkzSRqAKp7p2POyJselyY, uri: https://127.0.0.1:14000/chalZ/B0aMOdez1yfHLzBRMPwmdO7wN08Ajecp0_Xvfv1Gd2M, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/GaqNhhd-neFICN_XuTMOlqYkzSRqAKp7p2POyJselyY: created acme-client: https://127.0.0.1:14000/chalZ/-W8_Gf07QtULCr10vnNelGn5cF_n1u8ShPIHhJNztf0: challenge acme-client: https://127.0.0.1:14000/chalZ/PB-gxG7CVb0V1GeQ0Lj3FwAdqnGjkrqiDAQdfA16FoE: challenge acme-client: https://127.0.0.1:14000/chalZ/B0aMOdez1yfHLzBRMPwmdO7wN08Ajecp0_Xvfv1Gd2M: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/M0zC7jkXoolZTptEsQ6OzmWtzBVq4XqTK9Pq92nTHCU acme-client: challenge, token: 1D04T3PFogpMuEH_9I7vUxRpm6Xd-oy2UMQhQ0ZCtzw, uri: https://127.0.0.1:14000/chalZ/-W8_Gf07QtULCr10vnNelGn5cF_n1u8ShPIHhJNztf0, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/I0DrjuJbiotlmtNKDHYr5VqPHh9gh_Bdr-ka1z7kL98 acme-client: challenge, token: -RB42S2hU-GUSQUT5uLHmpZ7sRfUJ_zupiE7TUMD9Cg, uri: https://127.0.0.1:14000/chalZ/PB-gxG7CVb0V1GeQ0Lj3FwAdqnGjkrqiDAQdfA16FoE, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/Z3HCvin3v6iXKi9tm8XTQbmttv7yaXiA9XO46cnQbw4 acme-client: challenge, token: GaqNhhd-neFICN_XuTMOlqYkzSRqAKp7p2POyJselyY, uri: https://127.0.0.1:14000/chalZ/B0aMOdez1yfHLzBRMPwmdO7wN08Ajecp0_Xvfv1Gd2M, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/KyqnQubUWJkZNCBajt6ycmjSkupM5WeRYz_X4unkU-I: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/6feebf35e2af9bed: 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/4497e4179761711e 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/4497e4179761711e acme-client: dochngreq: https://127.0.0.1:14000/authZ/dUEQaIoF9qe1YMlVuoWm_zk-uQIxmptc8FHnOKJgpHE acme-client: challenge, token: SkheGgeludtyyyLgz242u3fw834xLWYnkdpU7L6VAww, uri: https://127.0.0.1:14000/chalZ/b4UEsyT90IUvKZMIBWKUF5bFrlSwirn93mBwnp8wg0E, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/SkheGgeludtyyyLgz242u3fw834xLWYnkdpU7L6VAww: created acme-client: https://127.0.0.1:14000/chalZ/b4UEsyT90IUvKZMIBWKUF5bFrlSwirn93mBwnp8wg0E: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/dUEQaIoF9qe1YMlVuoWm_zk-uQIxmptc8FHnOKJgpHE acme-client: challenge, token: SkheGgeludtyyyLgz242u3fw834xLWYnkdpU7L6VAww, uri: https://127.0.0.1:14000/chalZ/b4UEsyT90IUvKZMIBWKUF5bFrlSwirn93mBwnp8wg0E, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/1oVubRXQ5CgLVdkHzTNrJmj1gkn-iJcCZEudo_QU8-w: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/764a1d2d2c25981e: 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/4497e4179761711e 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"