Project

General

Profile

Actions

Bug #13817

closed

ENC smart proxy validation fails

Added by Matthew Ceroni about 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Security
Target version:
Fixed in Releases:
Found in Releases:

Description

Using latest nightly and encountered the following error: No smart proxy server found on [] and is not in trusted_puppetmaster_hosts

As you can see it wasn't listing the connecting smart proxy / host. Dug into the code and found the following section of code:


if certificate.subject_alternative_names
request_hosts += certificate.subject_alternative_names
elsif certificate.subject
request_hosts << certificate.subject
end

Testing of certificate.subject_alternative_names always evaluates to true even when no SAN. This results in request_hosts to be empty and authentication of the request fails.


Related issues 1 (0 open1 closed)

Related to Foreman - Feature #12127: Foreman should verify x509 subject alternative names when authenticating a smart proxyClosedTimo Goebel10/09/2015Actions
Actions #1

Updated by Matthew Ceroni about 8 years ago

Created pull request to fix issue:

[[https://github.com/theforeman/foreman/pull/3213]]

Actions #2

Updated by Anonymous about 8 years ago

  • Category set to Security
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3213 added
Actions #3

Updated by Dominic Cleal about 8 years ago

  • Assignee set to Matthew Ceroni
  • translation missing: en.field_release set to 71
Actions #4

Updated by Dominic Cleal about 8 years ago

  • Related to Feature #12127: Foreman should verify x509 subject alternative names when authenticating a smart proxy added
Actions #5

Updated by The Foreman Bot about 8 years ago

  • Pull request https://github.com/theforeman/foreman/pull/3277 added
Actions #6

Updated by Anonymous about 8 years ago

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

Updated by Bryan Kearney almost 8 years ago

  • Bugzilla link set to 1326036
Actions

Also available in: Atom PDF