Puppet: System Administration Automated

Support

Ticket #1020: ssl_error_diff.patch

File ssl_error_diff.patch, 0.9 kB (added by jamtur01, 1 year ago)
  • a/lib/puppet/network/xmlrpc/client.rb

    old new  
    4848                            Puppet.warning "Transient SSL write error; restarting connection and re 
    4949                            self.recycle_connection 
    5050                            retry 
     51                        elsif detail.message =~ /certificate verify failed/ || /hostname was not ma 
     52                            Puppet.warning "Certificate verification failed; consider using the cer 
     53                            self.recycle_connection 
     54                            retry 
    5155                        end 
    5256                        raise XMLRPCClientError, 
    5357                            "Certificates were not trusted: %s" % detail