The non-subscription repository has a bad certificate, and it prevents HTTPS usage on `apt` related commands.
The issue is caused because it uses a certificate that is not valid for download.proxmox.com. The certificate is only valid for the following names: au.cdn.proxmox.com, de.cdn.proxmox.com, enterprise.proxmox.com, fr.cdn.proxmox.com, na.cdn.proxmox.com, sg.cdn.proxmox.com
The issue is caused because it uses a certificate that is not valid for download.proxmox.com. The certificate is only valid for the following names: au.cdn.proxmox.com, de.cdn.proxmox.com, enterprise.proxmox.com, fr.cdn.proxmox.com, na.cdn.proxmox.com, sg.cdn.proxmox.com