Project

General

Profile

Actions

Bug #18040

closed

Certificates with OU= give an error when listing smart-proxy cert list.

Added by Stefan Goethals over 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
PuppetCA
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When a certificate containing an OU (possibly any other field than CN) is signed. An error occurs when viewing cert list page.

Possibly, the id of the certificate is not parsed correctly and ends up containing a '/' character which is not allowed.

The certificate could be parsed in the manner puppet does it https://github.com/puppetlabs/puppet/blob/master/lib/puppet/util/ssl.rb#L44 to avoid this issue.


Files

Foreman_cert_stack.txt Foreman_cert_stack.txt 20.7 KB Stefan Goethals, 01/12/2017 04:04 AM

Related issues 1 (0 open1 closed)

Has duplicate Foreman - Bug #18240: foreman-proxy reports an error about the mcollective certificateDuplicate01/25/2017Actions
Actions #1

Updated by Dominic Cleal over 7 years ago

  • Category set to PuppetCA

If you have the log of the error/stacktrace then it may help someone to fix the problem without trying to create a reproducer.

Actions #3

Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Daniel Lobato Garcia
  • Pull request https://github.com/theforeman/foreman/pull/4185 added
Actions #4

Updated by Dominic Cleal about 7 years ago

  • Has duplicate Bug #18149: Puppet CA returns invalid certificates if using organizational units in the distinguished name added
Actions #5

Updated by Dominic Cleal about 7 years ago

  • Has duplicate deleted (Bug #18149: Puppet CA returns invalid certificates if using organizational units in the distinguished name)
Actions #6

Updated by Daniel Lobato Garcia about 7 years ago

  • Target version set to 169
Actions #7

Updated by Dominic Cleal about 7 years ago

  • Has duplicate Bug #18240: foreman-proxy reports an error about the mcollective certificate added
Actions #8

Updated by Anonymous about 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #9

Updated by Dominic Cleal about 7 years ago

  • translation missing: en.field_release set to 210
Actions #10

Updated by Brad Buckingham about 7 years ago

  • Target version deleted (169)
Actions #11

Updated by Daniel Lobato Garcia about 7 years ago

  • Target version set to 1.11.0
Actions

Also available in: Atom PDF