packer-plugin-proxmox
packer-plugin-proxmox copied to clipboard
Failing SSL-Verify throws no helpful error
When filing a bug, please include the following headings if possible. Any example text in this template can be deleted.
Overview of the Issue
When trying to connect with an proxmox server with self-signed certificate and insecure_skip_tls_verify is not set to true the thrown error is not helpful.
Reproduction Steps
Use a proxmox server with self-signed certificate and insecure_skip_tls_verify = false.
Plugin and Packer version
From packer version:
Packer v1.8.2
packer init:
Installed plugin github.com/hashicorp/proxmox v1.0.8 in "/usr/local/bin/github.com/hashicorp/proxmox/packer-plugin-proxmox_v1.0.8_x5.0_darwin_amd64"
Simplified Packer Buildfile
https://gist.github.com/domrim/26b55d30da707ff01907cc7535283388#file-debian-bullseye-pkr-hcl
Operating system and Environment details
macOS 12.4, packer installed with homebrew
Log Fragments and crash.log files
https://gist.github.com/domrim/26b55d30da707ff01907cc7535283388#file-crash-log