1.10.0 fails to download plugins when run inside jenkins
- Dominant language
- Go
- Stars
- 15.8k
- Forks
- 3.3k
- PR merge metrics
- PR metrics pending
Description
#### Community Note
* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
* Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
* If you are interested in working on this issue or have submitted a pull request, please leave a comment
When filing a bug, please include the following headings if possible. Any
example text in this template can be deleted.
#### Overview of the Issue
Running the command
`packer plugins install github.com/hashicorp/amazon`
Works without issue when running manually as the jerkins user on the jenkins server. When running as a stage in a jenkinsfile as part of a job it errors out with:
```
packer plugins install github.com/hashicorp/amazon
30 errors occurred:
* could not get sha256 checksum file for github.com/hashicorp/amazon version 1.2.9. Is the file present on the release and correctly named ? Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/349479815/c2a32208-96cd-4c51-aed5-8a33fb4a83c1?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231227T150306Z&X-Amz-Expires=300&X-Amz-Signature=e7a1085b18ca61cf3c85b900ccf22643eb2080f20ae88ba6832e0bf9a454bb33&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=349479815&response-content-disposition=attachment%3B%20filename%3Dpacker-plugin-amazon_v1.2.9_SHA256SUMS&response-content-type=application%2Foctet-stream": tls: failed to verify certificate: x509: certificate signed by unknown authority
* could not get sha256 checksum file for github.com/hashicorp/amazon version 1.2.8. Is the file present on the release and correctly named ? Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/349479815/e932414d-0d53-4d39-bda9-8eff15686fc3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231227T150307Z&X-Amz-Expires=300&X-Amz-Signature=82ea5e991e636d737c6fe5ed69ff36eebce3aab1ea05a4083e67b9d028690ac0&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=349479815&response-content-disposition=attachment%3B%20filename%3Dpacker-plugin-amazon_v1.2.8_SHA256SUMS&response-content-type=application%2Foctet-stream": tls: failed to verify certificate: x509: certificate signed by unknown authority
* could not get sha256 checksum file for github.com/hashicorp/amazon version 1.2.7. Is the file present on the release and correctly named ? Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/349479815/0869becf-4d73-4256-a523-dc4ad109448f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231227T150307Z&X-Amz-Expires=300&X-Amz-Signature=7684968599c47710a7192d73439b8457c0f3841297fbd96196487424501bb840&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=349479815&response-content-disposition=attachment%3B%20filename%3Dpacker-plugin-amazon_v1.2.7_SHA256SUMS&response-content-type=application%2Foctet-stream": tls: failed to verify certificate: x509: certificate signed by unknown authority
* could not get sha256 checksum file for github.com/hashicorp/amazon version 1.2.6. Is the file present on the release and correctly named ? Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/349479815/c103ecce-8aeb-499c-a463-f317c61f963e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231227T150307Z&X-Amz-Expires=300&X-Amz-Signature=dc6105ae5301c7209d6e51ec45aa86d26df35cf03bcb183912d02524ad554455&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=349479815&response-content-disposition=attachment%3B%20filename%3Dpacker-plugin-amazon_v1.2.6_SHA256SUMS&response-content-type=application%2Foctet-stream": tls: failed to verify certificate: x509: certificate signed by unknown authority
* could not get sha256 checksum file for github.com/hashicorp/amazon version 1.2.5. Is the file present on the release and correctly named ? Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/349479815/cd59210e-bc48-4586-bd2e-a42d2b29cac3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231227T150307Z&X-Amz-Expires=300&X-Amz-Signature=4c91807a4b3e037975fac03e62301cb6c3af6bd64316d9168a4fd36407d24c49&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=349479815&response-content-disposition=attachment%3B%20filename%3Dpacker-plugin-amazon_v1.2.5_SHA256SUMS&response-content-type=application%2Foctet-stream": tls: failed to verify certificate: x509: certificate signed by unknown authority
* could not get sha256 checksum file for github.com/hashicorp/amazon version 1.2.4. Is the file present on the release and correctly named ? Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/349479815/60346770-2060-404a-ae9c-bb6cb9345b8c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231227T150307Z&X-Amz-Expires=300&X-Amz-Signature=4fcf8aca6b41054e430b6bd12148d1a65bc5dfcedff884f7930893e36ce2fa6a&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=349479815&response-content-disposition=attachment%3B%20filename%3Dpacker-plugin-amazon_v1.2.4_SHA256SUMS&response-content-type=application%2Foctet-stream": tls: failed to verify certificate: x509: certificate signed by unknown authority
* could not get sha256 checksum file for github.com/hashicorp/amazon version 1.2.3. Is the file present on the release and correctly named ? Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/349479815/64870f38-3a33-4be5-a3ba-766f6d639be5?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231227T150307Z&X-Amz-Expires=300&X-Amz-Signature=ab8c57770f0cd97df5558757010f0c9dac1fa6281015c76d8f102320205c0a60&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=349479815&response-content-disposition=attachment%3B%20filename%3Dpacker-plugin-amazon_v1.2.3_SHA256SUMS&response-content-type=application%2Foctet-stream": tls: failed to verify certificate: x509: certificate signed by unknown authority
* could not get sha256 checksum file for github.com/hashicorp/amazon version 1.2.2. Is the file present on the release and correctly named ? Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/349479815/1de92766-6d47-4cdd-9e65-2e7766c74463?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231227T150307Z&X-Amz-Expires=300&X-Amz-Signature=52dce1dc57f5cf0bd3436aa5d915047400a1cbe5a92e31fd3ead44ce0a0ac5a8&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=349479815&response-content-disposition=attachment%3B%20filename%3Dpacker-plugin-amazon_v1.2.2_SHA256SUMS&response-content-type=application%2Foctet-stream": tls: failed to verify certificate: x509: certificate signed by unknown authority
* could not get sha256 checksum file for github.com/hashicorp/amazon version 1.2.1. Is the file present on the release and correctly named ? Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/349479815/ae7c80f2-0809-4faa-ba13-4d1b9d0cbcfc?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231227T150307Z&X-Amz-Expires=300&X-Amz-Signature=5d7afd6319a1e915adb6841e3796ed824cdc095c07bb4069e949138ac229f3b4&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=349479815&response-content-disposition=attachment%3B%20filename%3Dpacker-plugin-amazon_v1.2.1_SHA256SUMS&response-content-type=application%2Foctet-stream": tls: failed to verify certificate: x509: certificate signed by unknown authority
* could not get sha256 checksum file for github.com/hashicorp/amazon version 1.2.0. Is the file present on the release and correctly named ? Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/349479815/abb77e4d-2e2e-44db-aabb-5fb4b015abef?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231227T150307Z&X-Amz-Expires=300&X-Amz-Signature=9d6ab08162a374ebb7d9a0dd3d6e56d054f4b69fdb1cf2c1916d24b819e97506&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=349479815&response-content-disposition=attachment%3B%20filename%3Dpacker-plugin-amazon_v1.2.0_SHA256SUMS&response-content-type=application%2Foctet-stream": tls: failed to verify certificate: x509: certificate signed by unknown authority
* could not get sha256 checksum file for github.com/hashicorp/amazon version 1.1.6. Is the file present on the release and correctly named ? Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/349479815/a62b6bbc-e076-4486-aeff-632710805bd3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231227T150308Z&X-Amz-Expires=300&X-Amz-Signature=c56f77a35ec16e1abd58fc5d97d55785c19736033cec4523ed5562b2396d6e24&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=349479815&response-content-disposition=attachment%3B%20filename%3Dpacker-plugin-amazon_v1.1.6_SHA256SUMS&response-content-type=application%2Foctet-stream": tls: failed to verify certificate: x509: certificate signed by unknown authority
* could not get sha256 checksum file for github.com/hashicorp/amazon version 1.1.5. Is the file present on the release and correctly named ? Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/349479815/6f23ab9c-0607-41f1-912c-c26a1cebc919?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231227T150308Z&X-Amz-Expires=300&X-Amz-Signature=9dc5d270a5bcba3adf2643b80da68b547fc57215c3369996ea8da7246e6b2f1b&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=349479815&response-content-disposition=attachment%3B%20filename%3Dpacker-plugin-amazon_v1.1.5_SHA256SUMS&response-content-type=application%2Foctet-stream": tls: failed to verify certificate: x509: certificate signed by unknown authority
* could not get sha256 checksum file for github.com/hashicorp/amazon version 1.1.4. Is the file present on the release and correctly named ? Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/349479815/f8ba3614-e4b6-449d-a486-2918af8a4e66?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231227T150308Z&X-Amz-Expires=300&X-Amz-Signature=3324318b5323d338245fe9ffe8b9338e32e91724d8b4abf5ebd5d0215c34f9f1&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=349479815&response-content-disposition=attachment%3B%20filename%3Dpacker-plugin-amazon_v1.1.4_SHA256SUMS&response-content-type=application%2Foctet-stream": tls: failed to verify certificate: x509: certificate signed by unknown authority
* could not get sha256 checksum file for github.com/hashicorp/amazon version 1.1.3. Is the file present on the release and correctly named ? Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/349479815/c0d98b1b-03db-4938-91da-04841ba38cab?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231227T150308Z&X-Amz-Expires=300&X-Amz-Signature=fd166d33305fa080137f420ec80e61f35cf36cc81405b1b9d96cc9286626cf7a&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=349479815&response-content-disposition=attachment%3B%20filename%3Dpacker-plugin-amazon_v1.1.3_SHA256SUMS&response-content-type=application%2Foctet-stream": tls: failed to verify certificate: x509: certificate signed by unknown authority
* could not get sha256 checksum file for github.com/hashicorp/amazon version 1.1.2. Is the file present on the release and correctly named ? Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/349479815/6a16a26d-6568-49ea-9728-9b0514ce39ec?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231227T150308Z&X-Amz-Expires=300&X-Amz-Signature=2590653c8e1545c259a1d154163fd87eaeab709bba0f2251fb09d73e620d5597&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=349479815&response-content-disposition=attachment%3B%20filename%3Dpacker-plugin-amazon_v1.1.2_SHA256SUMS&response-content-type=application%2Foctet-stream": tls: failed to verify certificate: x509: certificate signed by unknown authority
* could not get sha256 checksum file for github.com/hashicorp/amazon version 1.1.1. Is the file present on the release and correctly named ? Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/349479815/de91bf0c-cd96-40e3-9215-bdda5247bbf7?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231227T150308Z&X-Amz-Expires=300&X-Amz-Signature=4976aa4635e37feb1551425fd9e9f4abb9bba5261de620e5fdaab41e2d257b5f&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=349479815&response-content-disposition=attachment%3B%20filename%3Dpacker-plugin-amazon_v1.1.1_SHA256SUMS&response-content-type=application%2Foctet-stream": tls: failed to verify certificate: x509: certificate signed by unknown authority
* could not get sha256 checksum file for github.com/hashicorp/amazon version 1.1.0. Is the file present on the release and correctly named ? Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/349479815/07912da6-22f0-43b1-afd3-b1be5780530d?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231227T150308Z&X-Amz-Expires=300&X-Amz-Signature=5eaefbec9c56319662607210a4433c202fd70d382440c7f77e3bb37a7f0d8802&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=349479815&response-content-disposition=attachment%3B%20filename%3Dpacker-plugin-amazon_v1.1.0_SHA256SUMS&response-content-type=application%2Foctet-stream": tls: failed to verify certificate: x509: certificate signed by unknown authority
* could not get sha256 checksum file for github.com/hashicorp/amazon version 1.0.9. Is the file present on the release and correctly named ? Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/349479815/01953d64-f416-4ef0-9b0f-63bb4723aaa5?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231227T150308Z&X-Amz-Expires=300&X-Amz-Signature=62514b0b55080bd198baad82112267adf68229ced5e18ca7f3f8152b459949d2&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=349479815&response-content-disposition=attachment%3B%20filename%3Dpacker-plugin-amazon_v1.0.9_SHA256SUMS&response-content-type=application%2Foctet-stream": tls: failed to verify certificate: x509: certificate signed by unknown authority
* could not get sha256 checksum file for github.com/hashicorp/amazon version 1.0.8. Is the file present on the release and correctly named ? Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/349479815/8aa04e53-de7c-4e4d-bb4d-27ac0d9bc0d2?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231227T150308Z&X-Amz-Expires=300&X-Amz-Signature=d20c7887ce5b045735ab57899f1c34b5f11064f6111e33c50a9fdd7e17c23a4a&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=349479815&response-content-disposition=attachment%3B%20filename%3Dpacker-plugin-amazon_v1.0.8_SHA256SUMS&response-content-type=application%2Foctet-stream": tls: failed to verify certificate: x509: certificate signed by unknown authority
* could not get sha256 checksum file for github.com/hashicorp/amazon version 1.0.7. Is the file present on the release and correctly named ? Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/349479815/aaa3c9a8-da4b-4a66-a681-fe34efe4da1a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231227T150309Z&X-Amz-Expires=300&X-Amz-Signature=ad6959ec9cb7382f084595febe4ee4a648e586d6f12a50f83ae4493f7547fa41&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=349479815&response-content-disposition=attachment%3B%20filename%3Dpacker-plugin-amazon_v1.0.7_SHA256SUMS&response-content-type=application%2Foctet-stream": tls: failed to verify certificate: x509: certificate signed by unknown authority
* could not get sha256 checksum file for github.com/hashicorp/amazon version 1.0.6. Is the file present on the release and correctly named ? Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/349479815/815a2ecd-29cc-4484-a824-dcb526d9e5a9?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231227T150309Z&X-Amz-Expires=300&X-Amz-Signature=b945f0d2febd32fd3b436597cd6a0baf2fd0674dc13b4428a67e3f432199152e&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=349479815&response-content-disposition=attachment%3B%20filename%3Dpacker-plugin-amazon_v1.0.6_SHA256SUMS&response-content-type=application%2Foctet-stream": tls: failed to verify certificate: x509: certificate signed by unknown authority
* could not get sha256 checksum file for github.com/hashicorp/amazon version 1.0.5. Is the file present on the release and correctly named ? Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/349479815/3160cd69-56e2-4d16-a61d-b47a8bda73eb?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231227T150309Z&X-Amz-Expires=300&X-Amz-Signature=155be666f687be9edb6555f6075acb33fc187391f97a951c7f797995166e4503&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=349479815&response-content-disposition=attachment%3B%20filename%3Dpacker-plugin-amazon_v1.0.5_SHA256SUMS&response-content-type=application%2Foctet-stream": tls: failed to verify certificate: x509: certificate signed by unknown authority
* could not get sha256 checksum file for github.com/hashicorp/amazon version 1.0.4. Is the file present on the release and correctly named ? Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/349479815/8c40b321-15a9-4f56-b5da-0d0459ace92f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231227T150309Z&X-Amz-Expires=300&X-Amz-Signature=be9a0b8ba4f41dbbffe31c6f0317fb5c1ee07a5ac8c24fd845c6897e730317b9&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=349479815&response-content-disposition=attachment%3B%20filename%3Dpacker-plugin-amazon_v1.0.4_SHA256SUMS&response-content-type=application%2Foctet-stream": tls: failed to verify certificate: x509: certificate signed by unknown authority
* could not get sha256 checksum file for github.com/hashicorp/amazon version 1.0.3. Is the file present on the release and correctly named ? Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/349479815/d23aefb3-8e33-4f80-9d2a-7ef5a2ea12a1?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231227T150309Z&X-Amz-Expires=300&X-Amz-Signature=148c450707127f7ccc7734045ce4db93c797931856c54c06098c2eb5ef5d7cc2&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=349479815&response-content-disposition=attachment%3B%20filename%3Dpacker-plugin-amazon_v1.0.3_SHA256SUMS&response-content-type=application%2Foctet-stream": tls: failed to verify certificate: x509: certificate signed by unknown authority
* could not get sha256 checksum file for github.com/hashicorp/amazon version 1.0.2. Is the file present on the release and correctly named ? Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/349479815/e940a735-7c25-4363-a786-5033b35dbbff?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231227T150309Z&X-Amz-Expires=300&X-Amz-Signature=7d5daab346b0fe00d5881e752f304e1be6df63c28881cff7d4f007df9dd8cdec&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=349479815&response-content-disposition=attachment%3B%20filename%3Dpacker-plugin-amazon_v1.0.2_SHA256SUMS&response-content-type=application%2Foctet-stream": tls: failed to verify certificate: x509: certificate signed by unknown authority
* could not get sha256 checksum file for github.com/hashicorp/amazon version 1.0.1. Is the file present on the release and correctly named ? Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/349479815/f2ec9fbe-e0bb-4ca0-ad56-9d30428b140b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231227T150309Z&X-Amz-Expires=300&X-Amz-Signature=6466074af0f231a55b6bdac3cd2411eb22d9d77880b92c19968e6ec373c9f373&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=349479815&response-content-disposition=attachment%3B%20filename%3Dpacker-plugin-amazon_v1.0.1_SHA256SUMS&response-content-type=application%2Foctet-stream": tls: failed to verify certificate: x509: certificate signed by unknown authority
* could not get sha256 checksum file for github.com/hashicorp/amazon version 1.0.1-dev. Is the file present on the release and correctly named ? Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/349479815/fa331eaf-e20f-47c4-8475-8bdeb73a6562?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231227T150309Z&X-Amz-Expires=300&X-Amz-Signature=9698db2dd017d5609268d6ca50fac7ac6cba4ea40868703706c80d3484bcd815&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=349479815&response-content-disposition=attachment%3B%20filename%3Dpacker-plugin-amazon_v1.0.1-dev_SHA256SUMS&response-content-type=application%2Foctet-stream": tls: failed to verify certificate: x509: certificate signed by unknown authority
* could not get sha256 checksum file for github.com/hashicorp/amazon version 1.0.0. Is the file present on the release and correctly named ? Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/349479815/02904400-cd32-11eb-9dca-2d372b1d2e43?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231227T150309Z&X-Amz-Expires=300&X-Amz-Signature=3fd74b3fd0d4663f7b25b37ae4b9658ab042e1794b6e278cd7c791bc71d70345&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=349479815&response-content-disposition=attachment%3B%20filename%3Dpacker-plugin-amazon_v1.0.0_SHA256SUMS&response-content-type=application%2Foctet-stream": tls: failed to verify certificate: x509: certificate signed by unknown authority
* could not get sha256 checksum file for github.com/hashicorp/amazon version 0.0.1. Is the file present on the release and correctly named ? Get "https://objects.githubusercontent.com/github-production-release-asset-2e65be/349479815/4292cf80-8bf8-11eb-8b23-d2fadde349be?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231227T150309Z&X-Amz-Expires=300&X-Amz-Signature=96b89c63651ecfde0debc6a2b96291de0b7fe20bad4d4204883ad3462028b733&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=349479815&response-content-disposition=attachment%3B%20filename%3Dpacker-plugin-amazon_v0.0.1_SHA256SUMS&response-content-type=application%2Foctet-stream": tls: failed to verify certificate: x509: certificate signed by unknown authority
* could not install any compatible version of plugin "github.com/hashicorp/amazon"
```
#### Reproduction Steps
Run packer plugins install as a step in a stage in a jenkinsfile on a jenkins server.
```
stage("Initialize Packer") {
steps {
sh 'env'
sh 'PACKER_LOG=1 && ./binaries/packer plugins install github.com/hashicorp/amazon'
}
}
```
### Packer version
1.10.0
### Simplified Packer Template
### Operating system and Environment details
Linux x86.
### Log Fragments and crash.log files
No log file found
Contributor guide
Assessment
This issue has not been assessed yet.