Project

General

Profile

Bug #11816

Exception when exporting private CA key and no private key was given

Added by Jan Dohl almost 5 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
No priority
Assignee:
John Hixson
Category:
Middleware
Target version:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

Attempting to export the private CA key of a CA where no private key was given results in an Exception.

Expected behavior would be:
- Not have the button to export the private key available at all
- An error message indicating that no private key is present

Steps to reproduce:
1) Import CA certificate without private key
2) Select CA certificate and press "Export private key"

Probably very similar issue to #6148

private_key_exception.jpg (204 KB) private_key_exception.jpg Jan Dohl, 10/06/2015 07:14 AM
4086

History

#1 Updated by John Hixson almost 5 years ago

Please attach a debug: system->advanced->"save debug"

#2 Updated by John Hixson almost 5 years ago

  • Status changed from Unscreened to 15
  • Target version set to 261

#3 Updated by Jan Dohl almost 5 years ago

John Hixson wrote:

Please attach a debug: system->advanced->"save debug"

Is this neccessary? Is the bug not reproducible on your side with the given information?

I quickly screened the contents of a "debug" and it contains a lot of technical details (seemingly including password hashes) about our setup which I am not comfortable to publish in public. Furthermore, it contains personal information about the system users which I am not allowed to publish by law.

Could you please be more specific about which parts of the "debug" you require? Otherwise I unfortunately won't be able to fulfill your request or have to reproduce it on a dummy setup to provide the information.

#4 Updated by John Hixson almost 5 years ago

  • Status changed from 15 to Ready For Release

Jan Dohl wrote:

John Hixson wrote:

Please attach a debug: system->advanced->"save debug"

Is this neccessary? Is the bug not reproducible on your side with the given information?

I quickly screened the contents of a "debug" and it contains a lot of technical details (seemingly including password hashes) about our setup which I am not comfortable to publish in public. Furthermore, it contains personal information about the system users which I am not allowed to publish by law.

Could you please be more specific about which parts of the "debug" you require? Otherwise I unfortunately won't be able to fulfill your request or have to reproduce it on a dummy setup to provide the information.

This is a normal thing I usually ask for to help debugging issues. For future reference you can mark the ticket private or you can send to me directly. In this case I was able to reproduce the issue. It's fixed in 67b217b4dcf9dc01173a242c2f906240621d269f.

#5 Updated by Anthony Law almost 5 years ago

Verified with both latest FreeNAS-9.3-Nightlies-201510211400 and TrueNAS-9.3-STABLE-201510201635 buildS. CAs without key during import or create have no 'Export Private Key' button; while internal CAs or those has key, this button is available. Keep the status as 'Ready For Release' to let release engineer to finalize status.

#6 Updated by Vaibhav Chauhan almost 5 years ago

  • Status changed from Ready For Release to Resolved

#7 Avatar?id=14398&size=24x24 Updated by Kris Moore about 4 years ago

  • Target version changed from 261 to N/A

Also available in: Atom PDF