get gpg key through trusted https


New Member
Sep 24, 2019

Currently we cannot retrieve the gpg keys through trused https connection. It's an untrusted certificate.
Could you please improve this or give a way to safely get a GPG key ?

$ export LC_ALL=C ; wget
--2019-09-24 15:53:24--
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving (, 2a01:7e0:0:424::249
Connecting to (||:443... connected.
The certificate's owner does not match hostname ''

Use the --no-check-certificate argument to 'wget':
wget --no-check-certificate

EDIT: The above will NOT work anyway as the HTTPS redirect currently does not have the key files
Last edited:
The problem is that it's a workaround, the certificate should trusted otherwise it break the chain of trust ?
I understand and agree it would be better if they added a SAN to their server certificate for or a wildcard SAN with respect to automatically accepting the certificate. However, you have manually verified that you are connecting to the correct server and therefore trust the certificate, so you can use the "workaround" for the application until the certificate is corrected.


However, I just checked and the HTTPS redirects to a DIFFERENT server/location. Thus, it appears currently the only way to retrieve the key is VIA HTTP -- not HTTPS (regardless of certificate SAN).


Perhaps a Proxmox admin will see this thread and add the key files to the secure location as well.
Last edited:
Thank you for your feedback, I didn't spot the redirection.
I think it's wise to push this to an admin in order increase the security concern.
Indeed the documentation only use http
Hi all,
We are still following this thread with my team to implement this in our ansible playbook ;)
I think other people are interested by this thread
Have a good day
Hi Fabian,
Thanks for your fast reply !
Interesting way to go. Let me implement something and I'll come back to you


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!