all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Gilou <contact+dev@gilouweb.com>
To: pve-user@lists.proxmox.com
Subject: Re: [PVE-User] install pve-enterprise (with subscription key) on top of debian install
Date: Wed, 22 Oct 2025 03:19:42 +0200	[thread overview]
Message-ID: <72c56ba2-b60e-4c50-b83b-68da819d7784@gilouweb.com> (raw)
In-Reply-To: <mailman.14.1760611163.362.pve-user@lists.proxmox.com>

Le 16/10/2025 à 12:05, DERUMIER, Alexandre via pve-user a écrit :
> Hi,
> 
> I'm currently working on a hardened pve installation for CIS
> certification, and as it need luks encryption + specific partionning,
> I need to install it on top of a debian install.
> 
> I would like to deploy pve-enterprise repo directly, but how can I do
> it on top of debian ?
> 
> The wiki said to install no-subscription first, then switch to
> enteprise after uploading the key in the gui
> https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_12_Bookworm
> 
> But that mean than more recent packages could be pushed from no-
> subscription first.
> 
> Is is possible to put the key somewhere in/etc/apt/ ?
> 
> Alexandre

Hi,

It's been a while since I've had to do such things.. but here goes..

Unless you have an offline key, you'll need to register the server 
first, so that the server ID (hex version of the md5 hash of the SSH RSA 
key) is allowed.
Basically, as you can see in proxmox-subscription/src/check.rs:
you need to call:
https://shop.proxmox.com/modules/servers/licensing/verify.php
with that JSON (challenge is epoch time + random string) :
{
         "licensekey": key,
         "dir": server_id,
         "domain": "www.proxmox.com",
         "ip": "localhost",
         "check_token": challenge,
}

Then either you re-register/check it once you have the API available, or 
you try to write a valid /etc/subscription file..

Otherwise, it's "simple", you can get the info on a running server:
/etc/apt/auth.conf.d/pve.conf
machine enterprise.proxmox.com/debian/pve
login server_id
password server_key

Set the proper enterprise repos, and it should work, if the server ID is 
registered...

This might be interesting to have in the ansible role lae.proxmox (that 
you'll probably despise, given your love for ansible HAHA) as well, as 
the only supported scenario for now there is to.. remove the enterprise 
repos.. either have a curl command to register the server id and compute 
/etc/subscription, or a tool (pvesubscription) to wrap that Rust API in 
Debian..


Cheers,
Gilou



_______________________________________________
pve-user mailing list
pve-user@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user

  reply	other threads:[~2025-10-22  1:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-16 10:05 DERUMIER, Alexandre via pve-user
2025-10-22  1:19 ` Gilou [this message]
2025-10-22  1:24   ` Gilou
2025-10-22 10:22   ` DERUMIER, Alexandre via pve-user
     [not found] <10a91bee8f709d27a414208998a58bdbed281a7f.camel@groupe-cyllene.com>
2025-10-16 10:53 ` Shannon Sterz
2025-10-16 11:38   ` DERUMIER, Alexandre via pve-user

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=72c56ba2-b60e-4c50-b83b-68da819d7784@gilouweb.com \
    --to=contact+dev@gilouweb.com \
    --cc=pve-user@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal