==== 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" 29174 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/acme/privkey.pem: generated RSA account key acme-client: /home/src/regress/usr.sbin/acme-client/obj/etc/ssl/acme/private/privkey.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/32622895ec92c715 acme-client: dochngreq: https://127.0.0.1:14000/authZ/rOxcgxhNIkKAdEtCjGJHwn6gciUiTVl54MR6Zf7M9vU acme-client: challenge, token: XjvIGKEQn4tiBEviCSz_srAWnHthhVwRH7f32q8YnPw, uri: https://127.0.0.1:14000/chalZ/sJPFoCo5p_uU0A_DtbHh3Yg4Y2_mkthyr0zca-ZNK8w, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/XjvIGKEQn4tiBEviCSz_srAWnHthhVwRH7f32q8YnPw: created acme-client: https://127.0.0.1:14000/chalZ/sJPFoCo5p_uU0A_DtbHh3Yg4Y2_mkthyr0zca-ZNK8w: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/rOxcgxhNIkKAdEtCjGJHwn6gciUiTVl54MR6Zf7M9vU acme-client: challenge, token: XjvIGKEQn4tiBEviCSz_srAWnHthhVwRH7f32q8YnPw, uri: https://127.0.0.1:14000/chalZ/sJPFoCo5p_uU0A_DtbHh3Yg4Y2_mkthyr0zca-ZNK8w, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/FzXKGiS7WbmAx-mbPHrFINiDiWbmvajAzaF4QwLZRbU: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/47ffd547d61fa252: certificate account key: https://127.0.0.1:14000/my-account/32622895ec92c715 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/32622895ec92c715 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/32622895ec92c715 acme-client: dochngreq: https://127.0.0.1:14000/authZ/7R3Ab5-ac4EzND02FZIXm4iVRiE98DjoEkj_hEJVSnI acme-client: challenge, token: ol1_9Qb8TGuRNrm-MTbmz_AQnik-keqzzz6sMeZPjxo, uri: https://127.0.0.1:14000/chalZ/kb1wa6G0O-Iaf4AY_eOi4ucbby2B1S1g0KHO3a3_VYg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/ol1_9Qb8TGuRNrm-MTbmz_AQnik-keqzzz6sMeZPjxo: created acme-client: https://127.0.0.1:14000/chalZ/kb1wa6G0O-Iaf4AY_eOi4ucbby2B1S1g0KHO3a3_VYg: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/7R3Ab5-ac4EzND02FZIXm4iVRiE98DjoEkj_hEJVSnI acme-client: challenge, token: ol1_9Qb8TGuRNrm-MTbmz_AQnik-keqzzz6sMeZPjxo, uri: https://127.0.0.1:14000/chalZ/kb1wa6G0O-Iaf4AY_eOi4ucbby2B1S1g0KHO3a3_VYg, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/r45VJ7gHL4qKCgA0kINiTiYwDSzMNTxT5nz88sHLBnk: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/7e093a67cd59df3d: 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/32622895ec92c715 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/32622895ec92c715 acme-client: dochngreq: https://127.0.0.1:14000/authZ/xr9s3T4kzELMGAflT1PmFhyfXh829lKm2MxRjbr-s1Y acme-client: challenge, token: Y9yAMp5orHEjWGQMeSE5So3pNaMO47P3njcdnxYejXk, uri: https://127.0.0.1:14000/chalZ/us0IEev1Rm-UNaU39YsyOFAypIPSQs7qv9t6h_Y9tag, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/Y9yAMp5orHEjWGQMeSE5So3pNaMO47P3njcdnxYejXk: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/I1dr4Bj-qjqclgAyM-3zYp98WaCJHXeQcY9YUiFleoE acme-client: challenge, token: 7nAfnxBHeEnFXl4oeCCPTU7z2xG52ipibT8dxCFGO_c, uri: https://127.0.0.1:14000/chalZ/lzJa4uAQepaJ-LH92RMRQwLPXihMoa1e3qn9KeGzJLg, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/7nAfnxBHeEnFXl4oeCCPTU7z2xG52ipibT8dxCFGO_c: created acme-client: dochngreq: https://127.0.0.1:14000/authZ/UmNiZxoKZ744IpQb2m9yMfI6wasg40eW5b7n_Du8few acme-client: challenge, token: cpYoFoV2datLBGXP_9tAsbs4Ra7ON7wmuvamH2QeTjU, uri: https://127.0.0.1:14000/chalZ/rX6_ZUfpPhmGjcJ_XT5Q25jchZxgKjSNNSMf4BSMxzw, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/cpYoFoV2datLBGXP_9tAsbs4Ra7ON7wmuvamH2QeTjU: created acme-client: https://127.0.0.1:14000/chalZ/us0IEev1Rm-UNaU39YsyOFAypIPSQs7qv9t6h_Y9tag: challenge acme-client: https://127.0.0.1:14000/chalZ/lzJa4uAQepaJ-LH92RMRQwLPXihMoa1e3qn9KeGzJLg: challenge acme-client: https://127.0.0.1:14000/chalZ/rX6_ZUfpPhmGjcJ_XT5Q25jchZxgKjSNNSMf4BSMxzw: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/xr9s3T4kzELMGAflT1PmFhyfXh829lKm2MxRjbr-s1Y acme-client: challenge, token: Y9yAMp5orHEjWGQMeSE5So3pNaMO47P3njcdnxYejXk, uri: https://127.0.0.1:14000/chalZ/us0IEev1Rm-UNaU39YsyOFAypIPSQs7qv9t6h_Y9tag, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/I1dr4Bj-qjqclgAyM-3zYp98WaCJHXeQcY9YUiFleoE acme-client: challenge, token: 7nAfnxBHeEnFXl4oeCCPTU7z2xG52ipibT8dxCFGO_c, uri: https://127.0.0.1:14000/chalZ/lzJa4uAQepaJ-LH92RMRQwLPXihMoa1e3qn9KeGzJLg, status: 2 acme-client: dochngreq: https://127.0.0.1:14000/authZ/UmNiZxoKZ744IpQb2m9yMfI6wasg40eW5b7n_Du8few acme-client: challenge, token: cpYoFoV2datLBGXP_9tAsbs4Ra7ON7wmuvamH2QeTjU, uri: https://127.0.0.1:14000/chalZ/rX6_ZUfpPhmGjcJ_XT5Q25jchZxgKjSNNSMf4BSMxzw, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/LoPYOF5pMVSLVxQEKH_oQIh3mjeub-l2bB1-eDikxYs: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/17a0ab8c95a236c8: 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/32622895ec92c715 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/32622895ec92c715 acme-client: dochngreq: https://127.0.0.1:14000/authZ/7Gw8scMC4-jiETMg4LLxNeSvXtWJrecrM4O5XOdhkrk acme-client: challenge, token: 7d2uFQURSra3e2TfoQvkxfXlPdNorK9xymC_2vHm9CQ, uri: https://127.0.0.1:14000/chalZ/beusKnxkISsKdKGfhRkm8THTryKV-gdqKvU58m7K8sU, status: 0 acme-client: /home/src/regress/usr.sbin/acme-client/obj/www/acme/7d2uFQURSra3e2TfoQvkxfXlPdNorK9xymC_2vHm9CQ: created acme-client: https://127.0.0.1:14000/chalZ/beusKnxkISsKdKGfhRkm8THTryKV-gdqKvU58m7K8sU: challenge acme-client: order.status 0 acme-client: dochngreq: https://127.0.0.1:14000/authZ/7Gw8scMC4-jiETMg4LLxNeSvXtWJrecrM4O5XOdhkrk acme-client: challenge, token: 7d2uFQURSra3e2TfoQvkxfXlPdNorK9xymC_2vHm9CQ, uri: https://127.0.0.1:14000/chalZ/beusKnxkISsKdKGfhRkm8THTryKV-gdqKvU58m7K8sU, status: 2 acme-client: order.status 1 acme-client: https://127.0.0.1:14000/finalize-order/GV-Ym7sTOajDcvBHyvq2NQwSSPYtyz1Yx_hEefwbrPA: certificate acme-client: order.status 3 acme-client: https://127.0.0.1:14000/certZ/637d618e62f9da6f: 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/32622895ec92c715 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"