Error Building Kali Template Installing KasmVNC
I'm receiving the following error trying to build the Kali template:
==> proxmox-iso.kali: Retrieving ISO
==> proxmox-iso.kali: Trying https://cdimage.kali.org/kali-2024.4/kali-linux-2024.4-installer-amd64.iso
==> proxmox-iso.kali: Trying https://cdimage.kali.org/kali-2024.4/kali-linux-2024.4-installer-amd64.iso?checksum=sha256%3Abeca4f8fd7f58eda290812f538e1323d3ba1f1a34df4b203e85de4be42525bb6
==> proxmox-iso.kali: https://cdimage.kali.org/kali-2024.4/kali-linux-2024.4-installer-amd64.iso?checksum=sha256%3Abeca4f8fd7f58eda290812f538e1323d3ba1f1a34df4b203e85de4be42525bb6 => /opt/ludus/users/cjridley/packer/packer_cache/0eeeb46894b8fa1599950db98fba4c89159dadfa.iso
==> proxmox-iso.kali: Creating VM
==> proxmox-iso.kali: No VM ID given, getting next free from Proxmox
==> proxmox-iso.kali: Starting VM
==> proxmox-iso.kali: Starting HTTP server on port 8833
==> proxmox-iso.kali: Waiting 15s for boot
==> proxmox-iso.kali: Typing the boot command
==> proxmox-iso.kali: Waiting for SSH to become available...
==> proxmox-iso.kali: Connected to SSH!
==> proxmox-iso.kali: Provisioning with Ansible...
==> proxmox-iso.kali: Executing Ansible: ansible-playbook -e packer_build_name="*****" -e packer_builder_type=proxmox-iso -e packer_http_addr=172.16.0.131:8833 --ssh-extra-args '-o IdentitiesOnly=yes' --extra-vars {ansible_python_interpreter: /usr/bin/python3, ansible_password: *****, ansible_sudo_pass: *****} -e ansible_ssh_private_key_file=/opt/ludus/users/<user>/packer/tmp/ansible-key3871796078 -i /opt/ludus/users/<user>/packer/tmp/packer-provisioner-ansible1776778227 /opt/ludus/packer/*****/*****.yml
proxmox-iso.kali: fatal: [default]: FAILED! => {"changed": false, "dest": "/tmp/kasmvncserver_kali-rolling.deb", "elapsed": 0, "msg": "Request failed: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1029)>", "url": "https://github.com/kasmtech/KasmVNC/releases/download/v1.3.2/kasmvncserver_kali-rolling_1.3.2_amd64.deb"}
==> proxmox-iso.kali: Provisioning step had errors: Running the cleanup provisioner, if present...
==> proxmox-iso.kali: Stopping VM
==> proxmox-iso.kali: Deleting VM
==> Wait completed after 22 minutes 9 seconds
I can comment out the KasmVNC install portions, and it does build; but upon interacting with the box, wget and pretty much anything https don't work (no certification authorities for anything present). If you disable certificate validation, the server returns a 500 error (which is strange, since the server is accessible.
Bottom line; as far as I can tell, something is corrupted with the openssl install or similar. I've yet to be able to track down exactly what.