Issue #21386 has been updated by BenoƮt Allard.

Ok, I doesn't look like a permission issue. As the error clearly tells us that 
the problem occurs when establishing the SSL connection.

When I apply the following patch, it works fine:

    --- a/puppet/lib/puppet/network/http/connection.rb
    +++ b/puppet/lib/puppet/network/http/connection.rb
    @@ -142,8 +142,9 @@
             @connection.ca_file     = ssl_configuration.ca_auth_file
             @connection.cert        = ssl_host.certificate.content
             @connection.verify_mode = OpenSSL::SSL::VERIFY_PEER
             @connection.key         = ssl_host.key.content
    +        @connection.ssl_version = :SSLv3
           else
             # We don't have the local certificates, so we don't do any 
verification
             # or setup at this early stage.  REVISIT: Shouldn't we supply the 
local
             # certificate details if we have them?  The original code didn't.


My master is version 3.1.1, running from a Debian6 with ruby 1.8.

I'm willing to provide more information if requested as I don't have the 
feeling that I solved the trouble in a correct way.

----------------------------------------
Bug #21386: Puppet Master (3.2.2/CentOs) -> Puppet Agent (3.2.2/W2008)
https://projects.puppetlabs.com/issues/21386#change-93659

* Author: Darren Ledger
* Status: Needs More Information
* Priority: Normal
* Assignee: Darren Ledger
* Category: SSL
* Target version: 
* Affected Puppet version: 3.2.2
* Keywords: 3.2.2, SSL windows
* Branch: 
----------------------------------------
Hello,

I am experiencing this issue.

Could not retrieve domain: undefined method `gsub' for nil:NilClass
Could not retrieve domain: undefined method `gsub' for nil:NilClass
Could not retrieve domain: undefined method `gsub' for nil:NilClass
Error: Failed to apply catalog: SSL_connect SYSCALL returned=5 errno=0 state=SSL
v2/v3 read server hello A

With PMaster -> PAgent = 3.2.2 and CentOs, no issue.

Please advise.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to