Skip to content

Version: 26.1.7 - Component: System → Trust → Certificates - Title: Certificate form: Key length resets to 2048, lifetime capped at 397 days #10247

@tatka007

Description

@tatka007

Key length dropdown — after selecting RSA, the Key length dropdown appears but always saves as 2048 regardless of selected value
Lifetime field — JavaScript validation caps input at 397 days, even for internal certificates (CA, VPN server cert) where there is no technical reason for this limit
Workaround: Run in browser console before submitting the form (twice — before and after selecting RSA):

document.querySelectorAll('input[type="number"]').forEach(function(el){el.removeAttribute('max')})
document.querySelectorAll('select').forEach(function(s){for(var i=0;i<s.options.length;i++){if(s.options[i].value==='4096'){s.value='4096'}}})

Metadata

Metadata

Assignees

No one assigned

    Labels

    incompleteIssue template missing info

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions