Skip to content

All CAs are gone when I try to delete one #873

@amachekhin

Description

@amachekhin

Describe the bug
I have two CA in pfSense config. When I try to delete one of them, both are gone.

To Reproduce

  1. Create two CA in System/Certificates/Authorities
  2. Go to pfSense REST API Documentation page, authorize and go to endpoint /api/v2/system/certificate_authority DELETE, id = 0, Execute.
  3. You will see "response_id": "SUCCESS",
  4. Go back to System/Certificates/Authorities, and there are no CA letf.

Expected behavior
One CA should be gone and one left.

Screenshots or Response

{
  "code": 200,
  "status": "ok",
  "response_id": "SUCCESS",
  "message": "",
  "data": {
    "id": 0,

pfSense Version & Package Version:

  • pfSense Version: 2.8.1
  • Package Version: 2.7.5

Affected Endpoints:

  • URL: /api/v2/system/certificate_authority

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions