Project

General

Profile

Bug #69157

Use new websocket call that supports displaying signed certificates in System -> General of new UI

Added by Miguel Martín almost 3 years ago. Updated over 2 years ago.

Status:
Done
Priority:
No priority
Assignee:
-
Category:
GUI (new)
Target version:
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 Web UI the available certificates are not shown in the "System -> General -> GUI SSL Certificate" drop-down list.

I performed the following steps:

1. Import an external CA
2. Generate a new CSR using the GUI
3. Sign the CSR with the external CA
4. Import the resulting Certificate using the GUI.
5. Try to select the certificate in "System -> General -> GUI SSL Certificate", the list is empty.

Changing to the Legacy Web UI the imported cert is listed and can be selected.

System_Certifcate_Authorities.png (62.1 KB) System_Certifcate_Authorities.png System CAs Miguel Martín, 01/18/2019 01:43 AM
System_Certificates.png (58 KB) System_Certificates.png System Certificates Miguel Martín, 01/18/2019 01:45 AM
System_General_Dropdown.png (30.6 KB) System_General_Dropdown.png System > General (dropdown clicked) Miguel Martín, 02/12/2019 09:22 AM
System_General.png (34.6 KB) System_General.png System > General Miguel Martín, 02/12/2019 09:24 AM
49791
49800
53985
53994

Related issues

Copied to FreeNAS - Bug #76594: New Web UI: Unable to select GUI SSL certificateDone

Associated revisions

Revision b677bc65 (diff)
Added by Erin Clark almost 3 years ago

Use new websocket call for getting certificates for system general Ticket: #69157

Revision dc61cf61 (diff)
Added by Erin Clark almost 3 years ago

Use new websocket call for getting certificates for system general Ticket: #69157 (cherry picked from commit b677bc653a93ace00903c772ef1779fd31f41888)

History

#1 Updated by Dru Lavigne almost 3 years ago

  • Status changed from Unscreened to Blocked
  • Reason for Blocked set to Need additional information from Author

Miguel: what is the size of the CA's key?

#2 Updated by Miguel Martín almost 3 years ago

Dru Lavigne wrote:

Miguel: what is the size of the CA's key?

RSA Public-Key: (2048 bit)

#3 Updated by Dru Lavigne almost 3 years ago

  • Assignee changed from Release Council to Anonymous
  • Target version changed from Backlog to 11.2-U3
  • Reason for Blocked deleted (Need additional information from Author)

#4 Updated by Anonymous almost 3 years ago

Can you show me screenshots of the following sections: System > Certificates and System > CAs

#5 Updated by Anonymous almost 3 years ago

  • Status changed from Blocked to Unscreened

#6 Updated by Miguel Martín almost 3 years ago

49791
49800

Erin Clark wrote:

Can you show me screenshots of the following sections: System > Certificates and System > CAs

Attached the requested screenshots

#7 Updated by Anonymous almost 3 years ago

Is it possible that you could try to see if there is some kind of traceback in System > General? Try right click and inspect then go to the console tab and clear out any current messages and then go to System > General and see if anything shows up there?

#8 Updated by Anonymous almost 3 years ago

  • Status changed from Unscreened to Blocked
  • Private changed from No to Yes
  • Reason for Blocked set to Need additional information from Author

Could you maybe give me a screenshot of your System > General page so I can see if anything obvious is not working on there (besides your certificates not loading). Also try giving me a debug dump, perhaps that will shed some clues as to what is going on, could you go to System > Advanced and click save debug then attach it to this ticket. I have marked the ticket private so noone else will have access to it.

#9 Updated by Miguel Martín almost 3 years ago

Erin Clark wrote:

Is it possible that you could try to see if there is some kind of traceback in System > General? Try right click and inspect then go to the console tab and clear out any current messages and then go to System > General and see if anything shows up there?

Sorry for the delay I was on PTO and I just came back.
Tried the suggested steps but no new messages on the console after opening the dashboard, clearing the console messages and going back to System > General.

#10 Updated by Miguel Martín almost 3 years ago

53985
53994

Erin Clark wrote:

Could you maybe give me a screenshot of your System > General page so I can see if anything obvious is not working on there (besides your certificates not loading). Also try giving me a debug dump, perhaps that will shed some clues as to what is going on, could you go to System > Advanced and click save debug then attach it to this ticket. I have marked the ticket private so noone else will have access to it.

Attached the resquested information,

Thanks

#11 Updated by Dru Lavigne almost 3 years ago

  • Status changed from Blocked to Unscreened
  • Reason for Blocked deleted (Need additional information from Author)

#12 Updated by Anonymous almost 3 years ago

  • Assignee changed from Anonymous to William Grzybowski

#13 Updated by Anonymous almost 3 years ago Private

I'm not really sure why this isn't working for this user, it should just work as expected given the info he has provided me. Do you have any ideas William? Does anything in his debug stand out to you?

#14 Updated by William Grzybowski almost 3 years ago

  • Assignee changed from William Grzybowski to Anonymous

#16 Updated by Anonymous almost 3 years ago Private

entityEdit.ws.call('certificate.query', [
[
['CSR', '=', null]
]
])

Should I maybe take out that CSR = null thing? I just realized that was in there after looking at the code now.

#17 Updated by William Grzybowski almost 3 years ago

  • Copied to Bug #76594: New Web UI: Unable to select GUI SSL certificate added

#19 Updated by Anonymous almost 3 years ago

  • File deleted (debug-freenas-20190212182458.tgz)

#20 Updated by Anonymous almost 3 years ago

  • Private changed from Yes to No

#21 Updated by Anonymous almost 3 years ago

  • Status changed from Unscreened to In Progress

Stable PR: https://github.com/freenas/webui/pull/1997
Master PR: https://github.com/freenas/webui/pull/1996

Testing criteria: Externally signed certificates should now be usable in System General for https certificate

#22 Updated by Anonymous almost 3 years ago

  • Status changed from In Progress to Ready for Testing
  • Needs Merging changed from Yes to No

#23 Updated by Dru Lavigne almost 3 years ago

  • Subject changed from New Web UI: Unable to select GUI SSL certificate to Use new websocket call that supports displaying signed certificates in System -> General of new UI
  • Needs Doc changed from Yes to No

#26 Avatar?id=55038&size=24x24 Updated by Zackary Welch over 2 years ago

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

Confirmed fixed in 11.2-U3.

#27 Updated by Dru Lavigne over 2 years ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF