ACME max certificate

zolitacs

Member
Jun 10, 2021
15
0
6
39
Hello!

I downloaded and started using the Proxmox Mail Gateway 8.1 software.
In the Configuration/Certificates menu, ACME has 5 domains created and it won't let me add more, but I don't get any error messages. Is this a bug or a limitation of the free version?

Best regards,
Zoltan
 
Hi,

Is this a bug or a limitation of the free version?
first of, there are no limitation, regardless of subscription - you always get the exact same functionality with and without subscription. :)

Regarding this problem, looking at the code, this is unfortunately a hard-coded limitation (for now), as it seems: https://git.proxmox.com/?p=proxmox-...70d4128b7ffe3a04f70b4654e1b092d;hb=HEAD#l1165
I don't see a particular reason as to why this should not be increasable.

Also, there is an error message logged in the browser console, but it really should show a proper error to the user.

Would you mind creating an entry in our bugtracker for that? https://bugzilla.proxmox.com/
That way, you can also get notified when something is fixed/implemented.
 
/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
in this file I replaced
acmedomain_count: 5 with acmedomain_count: 50,
and replaced
for (let i = 0; i < Proxmox.Utils.acmedomain_count; i++) {
with
for (let i = 0; i < 50; i++) {

I restarted the pmgproxy service and now ACME accepts the 6th domain as well.