packer-boxes icon indicating copy to clipboard operation
packer-boxes copied to clipboard

Switched from http to https for ca-cert download

Open velenux opened this issue 3 years ago • 2 comments

Since it is such a sensitive file, it probably makes sense to download it via https.

velenux avatar Jul 02 '21 11:07 velenux

Is there a chance this would fail if the current certs are out of date?

geerlingguy avatar Jul 02 '21 16:07 geerlingguy

Is there a chance this would fail if the current certs are out of date?

yes. One alternative could be to download the file first, then make a basic sanity check (with openssl for example) before overwriting the original one, so you can still use https but keep the file as it is if the download fails. What do you think?

velenux avatar Jul 05 '21 14:07 velenux