Bug 489380 - displayBySerial throws bad error message on unknown serial numbers
Summary: displayBySerial throws bad error message on unknown serial numbers
Keywords:
Status: CLOSED DUPLICATE of bug 553423
Alias: None
Product: Dogtag Certificate System
Classification: Retired
Component: CA
Version: 1.0
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Andrew Wnuk
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks: 443788
TreeView+ depends on / blocked
 
Reported: 2009-03-09 19:35 UTC by Rob Crittenden
Modified: 2015-01-04 23:37 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-03-17 22:07:52 UTC
Embargoed:


Attachments (Terms of Use)

Description Rob Crittenden 2009-03-09 19:35:29 UTC
Description of problem:

Retrieve an unknown serial number using:

https://ca.example.com:9444/ca/ee/ca/displayBySerial?serialNumber=0xb

and the result is a page containing the error message:

LDAP operation failure - cn=11,ou=certificateRepository, ou=ca, dc=ca.example.com-pki-ca netscape.ldap.LDAPException: error result (32); matchedDN = ou=certificaterepository,ou=ca,dc=ca.example.com-pki-ca

Version-Release number of selected component (if applicable):

svn checkout r276

Steps to Reproduce:

Request a certificate to be displayed for a non-existent serial #
  
Expected results:

A status message saying "this certificate does not exist" or something of the sort.

Comment 1 Andrew Wnuk 2009-03-17 22:07:52 UTC
I used CA installed on Fedora 8 and FireFox 2.0.0.19 to test the following combinations:

  https://<hostname>:9444/ca/ee/ca/displayBySerial?serialNumber=0xb
  https://<hostname>:9444/ca/ee/ca/displayBySerial?serialNumber=11

  http://<hostname>:9180/ca/ee/ca/displayBySerial?serialNumber=0xb
  http://<hostname>:9180/ca/ee/ca/displayBySerial?serialNumber=11

  https://<hostname>:9443/ca/agent/ca/displayBySerial?serialNumber=0xb
  https://<hostname>:9443/ca/agent/ca/displayBySerial?serialNumber=11

and they all work.

Comment 2 Rob Crittenden 2009-03-17 22:24:44 UTC
Worked how? What message did you get back? Is there an existing cert with that serial number?

Comment 3 Andrew Wnuk 2010-05-11 23:50:07 UTC

*** This bug has been marked as a duplicate of bug 553423 ***


Note You need to log in before you can comment on or make changes to this bug.