Project

General

Profile

Actions

Bug #5022

closed
CB CB

creating CA doesn't actually create the CA

Bug #5022: creating CA doesn't actually create the CA

Added by Chris Buechler about 11 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Normal
Target version:
Start date:
08/26/2015
Due date:
% Done:

100%

Estimated time:

Description

system_camanager.php, "add new", create an internal CA. fill in the fields, click Save. No CA is added.

Updated by Anonymous about 11 years ago Actions #1

  • Status changed from Confirmed to Feedback
  • Assignee changed from Anonymous to Chris Buechler
  • Target version set to 2.3

Programmer had set form action to GET when logic uses POST.

Page now creates CAs although I sometimes see:

openssl library returns: error:0D07A098:asn1 encoding routines:ASN1_mbstring_ncopy:string too short

depending on the country chosen. (US => error, GB => no error) Please advise.

JP Updated by Jim Pingle about 11 years ago Actions #2

Country code drop-down should be using the country code as the value, seems to be numeric now, so any of the 0-9 choices probably fail. GB passes because it's later in the list. The drop-down is new, it used to be text entry.

JP Updated by Jim Pingle about 11 years ago Actions #3

Opened #5043 for that separate issue with the drop-down.

JP Updated by Jim Pingle about 11 years ago Actions #4

  • Status changed from Feedback to Assigned

When pressing Save, the screen stays on "system_camanager.php?act=new" rather than returning to the CA list. The CA is added properly, it just doesn't redirect away after as it should. The redirect is OK when creating a certificate.

Updated by Anonymous about 11 years ago Actions #5

  • Status changed from Assigned to Feedback

return to calling page was commented out. Presumably for debug

Updated by Anonymous about 11 years ago Actions #6

  • % Done changed from 0 to 100

Applied in changeset pfsense:commit:683ba309d50913828decb5fe3f6ade059c1dfab2.

JP Updated by Jim Pingle about 11 years ago Actions #7

  • Status changed from Feedback to Resolved

Looks good now, thanks!

CB Updated by Chris Buechler over 10 years ago Actions #8

  • Affected Version set to 2.3
Actions

Also available in: Atom