Project

General

Profile

Bug #47246

Fix issues with importing a certificate in the new UI

Added by Eduard Avetisyan over 1 year ago. Updated over 1 year ago.

Status:
Done
Priority:
No priority
Assignee:
Dennis Mullen
Category:
GUI (new)
Target version:
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

In the new UI, selecting the "Import certificate" from the dropdown leaves all the other fields open (unlike the one on old UI), then one fills in the cert text and the key itself. When trying to save, it complains, that a correct key and passphrase have to be filled in.
In the old GUI all works as expected.
Reproducible.

History

#1 Updated by Dru Lavigne over 1 year ago

  • Assignee changed from Release Council to Lola Yang
  • Target version changed from Backlog to 11.2-RC1

#2 Updated by Lola Yang over 1 year ago

  • Assignee changed from Lola Yang to Dennis Mullen

#3 Updated by Dru Lavigne over 1 year ago

  • Target version changed from 11.2-RC1 to 11.2-RC2

#4 Updated by Dennis Mullen over 1 year ago

  • Status changed from Unscreened to Screened

#5 Updated by Dennis Mullen over 1 year ago

33689

This ticket raises a good point about the UI for adding a Cert or CA. In the new UI, many fields are displayed but disabled. The old UI hides unneeded fields, which gives a cleaner look. I'll ask the team about going in that direction.

As for the error message, the one described is the standard error when the private key isn't valid (photo). So far I haven't found a certificate/key that worked in the Old UI and failed in the new one. I wonder if the poster could send me such a certificate and key, either here or to my email:

Actually, never mind on that. I did find a cert/key that works on the old, fails on the new.

#6 Updated by Dennis Mullen over 1 year ago

master PR: https://github.com/freenas/webui/pull/1310
11.2-stable PR: https://github.com/freenas/webui/pull/1388

PRs address the ability to submit a CA / Cert with passphrase, but they don't address the layout issue

#7 Updated by Dennis Mullen over 1 year ago

  • Status changed from Screened to In Progress

#8 Updated by Dru Lavigne over 1 year ago

  • Subject changed from Can't import a certificate in the new GUI to Fix issues with importing a certificate in the new UI
  • Status changed from In Progress to Ready for Testing
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#10 Updated by Bonnie Follweiler over 1 year ago

  • Status changed from Ready for Testing to Passed Testing
  • Needs QA changed from Yes to No

Test Passed in FreeNAS-11.2-INTERNAL28

#11 Updated by Dru Lavigne over 1 year ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF