On Tue, Jul 16, 2013 at 11:19 AM, Arno den Uijl <[email protected]>wrote:

> I thought i tried the debug and trace options but i this trace was new for
> me. I looked through the code and I think that it was caused by the fact
> that there were some certificates installed with the same name. I deleted
> some from my certificate store and now it runs correct.
>
> Thanks for the help. I do think that this can be an issue for more people.
>

I didn't realize MS cert store could contain duplicates. We should be more
defensive of this, in general, to ensure the failure to add one cert
doesn't stop puppet from running:

        begin
          add_cert(x509)
        rescue OpenSSL::X509::StoreError => detail
          Puppet.warning "Failed to add certificate '#{x509.subject}'"
        end

Josh

-- 
Josh Cooper
Developer, Puppet Labs

*Join us at PuppetConf 2013, August 22-23 in San Francisco - *
http://bit.ly/pupconf13*
**Register now and take advantage of the Early Bird discount - save 25%!*

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" 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-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to