Certificate Orders With Created Containers Fail to Generate CSR

Bug #1443008 reported by Dave McCowan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Barbican
Fix Released
High
Dave McCowan

Bug Description

The following new functional test cases fail.

Functional Test Cases:

FAIL: functionaltests.api.v1.smoke.test_rsa.RSATestCase.test_rsa_order_certificate_from_created_container
FAIL: functionaltests.api.v1.smoke.test_rsa.RSATestCase.test_rsa_order_certificate_from_created_container_with_pass

Result:

Order goes to Error status due to server side exception:

2015-04-12 00:34:55.209 82618 TRACE barbican.tasks.resources File "/Users/dmccowan/barbican/barbican/tasks/certificate_resources.py", line 121, in issue_certificate_request
2015-04-12 00:34:55.209 82618 TRACE barbican.tasks.resources csr = _generate_csr(order_model, project_model)
2015-04-12 00:34:55.209 82618 TRACE barbican.tasks.resources File "/Users/dmccowan/barbican/barbican/tasks/certificate_resources.py", line 327, in _generate_csr
2015-04-12 00:34:55.209 82618 TRACE barbican.tasks.resources str(passphrase)
2015-04-12 00:34:55.209 82618 TRACE barbican.tasks.resources File "/Users/dmccowan/.pyenv/versions/barb278/lib/python2.7/site-packages/OpenSSL/crypto.py", line 2010, in load_privatekey
2015-04-12 00:34:55.209 82618 TRACE barbican.tasks.resources _raise_current_error()
2015-04-12 00:34:55.209 82618 TRACE barbican.tasks.resources File "/Users/dmccowan/.pyenv/versions/barb278/lib/python2.7/site-packages/OpenSSL/_util.py", line 22, in exception_from_error_queue
2015-04-12 00:34:55.209 82618 TRACE barbican.tasks.resources raise exceptionType(errors)
2015-04-12 00:34:55.209 82618 TRACE barbican.tasks.resources Error: []

Expected:

A good CSR is created and order succeeds.

Changed in barbican:
milestone: none → kilo-rc1
Changed in barbican:
milestone: kilo-rc1 → none
Revision history for this message
Dave McCowan (dave-mccowan) wrote :

This bug was fixed before kilo-rc1.

Changed in barbican:
assignee: nobody → Dave McCowan (dave-mccowan)
Revision history for this message
Douglas Mendizábal (dougmendizabal) wrote :
Changed in barbican:
status: New → Fix Committed
importance: Undecided → High
milestone: none → kilo-rc1
Thierry Carrez (ttx)
Changed in barbican:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in barbican:
milestone: kilo-rc1 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.