Jira (PUP-10104) puppet device fails when using csr_attributes.yaml

2019-11-15 Thread Heston Hoffman (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Heston Hoffman updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10104  
 
 
  puppet device fails when using csr_attributes.yaml   
 

  
 
 
 
 

 
Change By: 
 Heston Hoffman  
 
 
Labels: 
 beginner  resolved-issue-added  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
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 puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.329426.1571134076000.35699.1573862100332%40Atlassian.JIRA.


Jira (PUP-10104) puppet device fails when using csr_attributes.yaml

2019-11-08 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10104  
 
 
  puppet device fails when using csr_attributes.yaml   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Release Notes Summary: 
 The `csr_attributes.yaml` file can now be specified when requesting a certificate signing request for a device using "puppet device --target devicename"  
 
 
Release Notes: 
 Bug Fix  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
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 puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.329426.1571134076000.25129.1573244460109%40Atlassian.JIRA.


Jira (PUP-10104) puppet device fails when using csr_attributes.yaml

2019-11-08 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10104  
 
 
  puppet device fails when using csr_attributes.yaml   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Fix Version/s: 
 PUP 6.4.z  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
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 puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.329426.1571134076000.25119.1573244280256%40Atlassian.JIRA.


Jira (PUP-10104) puppet device fails when using csr_attributes.yaml

2019-11-08 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10104  
 
 
  puppet device fails when using csr_attributes.yaml   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Sprint: 
 Coremunity Hopper Platform Core KANBAN  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
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 puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.329426.1571134076000.25123.1573244280281%40Atlassian.JIRA.


Jira (PUP-10104) puppet device fails when using csr_attributes.yaml

2019-11-08 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-10104  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: puppet device fails when using csr_attributes.yaml   
 

  
 
 
 
 

 
 Merged to https://github.com/puppetlabs/puppet/commit/5154f39aba6d2ff359bb2ef3e0349ce59d7c26cf  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
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 puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.329426.1571134076000.25121.1573244280264%40Atlassian.JIRA.


Jira (PUP-10104) puppet device fails when using csr_attributes.yaml

2019-11-08 Thread Jonas Verhofsté
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jonas Verhofsté commented on  PUP-10104  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: puppet device fails when using csr_attributes.yaml   
 

  
 
 
 
 

 
 And now there's https://github.com/puppetlabs/puppet/pull/7816, pretty trivial change I guess.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
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 puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.329426.1571134076000.24210.1573230780207%40Atlassian.JIRA.


Jira (PUP-10104) puppet device fails when using csr_attributes.yaml

2019-11-08 Thread Jonas Verhofsté
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jonas Verhofsté assigned an issue to Jonas Verhofsté  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10104  
 
 
  puppet device fails when using csr_attributes.yaml   
 

  
 
 
 
 

 
Change By: 
 Jonas Verhofsté  
 
 
Assignee: 
 Jonas Verhofsté  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
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 puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.329426.1571134076000.24201.1573230300210%40Atlassian.JIRA.


Jira (PUP-10104) puppet device fails when using csr_attributes.yaml

2019-10-30 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10104  
 
 
  puppet device fails when using csr_attributes.yaml   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Acceptance Criteria: 
 Create a {{csr_attributes.yaml}} file as described in https://puppet.com/docs/puppet/latest/config_file_csr_attributes.html. Run {{puppet agent}}, {{puppet ssl}} and {{puppet device}} and verify the submitted CSR on the CA contains the attributes. For example:{noformat}$ cat attributes.yaml---custom_attributes:  1.2.840.113549.1.9.7: 342thbjkt82094y0uthhor289jnqthpc2290extension_requests:  pp_uuid: ED803750-E3C7-44F5-BB08-41A04433FE2E  pp_image_name: my_ami_image  pp_preshared_key: 342thbjkt82094y0uthhor289jnqthpc2290$ bundle exec puppet agent -t --certname test1 --csr_attributes attributes.yamlInfo: Creating a new SSL key for test1Info: csr_attributes file loading from /Users/josh/work/puppet/attributes.yamlInfo: Creating a new SSL certificate request for test1Info: Certificate Request fingerprint (SHA256): F3:1F:70:8C:96:14:D6:92:33:39:62:3B:76:4E:72:39:8D:6E:D7:5E:72:73:FE:A5:6C:17:5D:CE:01:0F:78:04Info: Certificate for test1 has not been signed yet$ openssl req -in ~/.puppetlabs/etc/puppet/ssl/certificate_requests/test1.pem -noout -text...Attributes:challengePassword:342thbjkt82094y0uthhor289jnqthpc2290Requested Extensions:1.3.6.1.4.1.34380.1.1.1:.$ED803750-E3C7-44F5-BB08-41A04433FE2E1.3.6.1.4.1.34380.1.1.3:..my_ami_image1.3.6.1.4.1.34380.1.1.4:.$342thbjkt82094y0uthhor289jnqthpc2290{noformat}  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 
 

Jira (PUP-10104) puppet device fails when using csr_attributes.yaml

2019-10-30 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10104  
 
 
  puppet device fails when using csr_attributes.yaml   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Sprint: 
 Coremunity Hopper  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
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 puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.329426.1571134076000.12082.1572415500248%40Atlassian.JIRA.


Jira (PUP-10104) puppet device fails when using csr_attributes.yaml

2019-10-30 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10104  
 
 
  puppet device fails when using csr_attributes.yaml   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Fix Version/s: 
 PUP 6.11.0  
 
 
Fix Version/s: 
 PUP 6.4.z  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
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 puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.329426.1571134076000.12080.1572415500239%40Atlassian.JIRA.


Jira (PUP-10104) puppet device fails when using csr_attributes.yaml

2019-10-15 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-10104  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: puppet device fails when using csr_attributes.yaml   
 

  
 
 
 
 

 
  
 
 
 
 
 $ git --no-pager grep Puppet::SSL::Oids.register_puppet_oids  
 
 
 lib/puppet/application/agent.rb:Puppet::SSL::Oids.register_puppet_oids  
 
 
 lib/puppet/application/ssl.rb:Puppet::SSL::Oids.register_puppet_oids  
 
 
 lib/puppet/test/test_helper.rb:  Puppet::SSL::Oids.register_puppet_oids
  
 
 
 
   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

Jira (PUP-10104) puppet device fails when using csr_attributes.yaml

2019-10-15 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10104  
 
 
  puppet device fails when using csr_attributes.yaml   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Labels: 
 beginner  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
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 puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.329426.1571134076000.947.1571159281103%40Atlassian.JIRA.


Jira (PUP-10104) puppet device fails when using csr_attributes.yaml

2019-10-15 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-10104  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: puppet device fails when using csr_attributes.yaml   
 

  
 
 
 
 

 
 Looks like puppet device has the same problem as puppet ssl did. Really the OID registration should occur in the SSLProvider so that individual applications don't need to.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
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 puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.329426.1571134076000.944.1571159281091%40Atlassian.JIRA.


Jira (PUP-10104) puppet device fails when using csr_attributes.yaml

2019-10-15 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10104  
 
 
  puppet device fails when using csr_attributes.yaml   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Team: 
 Coremunity  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
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 puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.329426.1571134076000.940.1571159220241%40Atlassian.JIRA.


Jira (PUP-10104) puppet device fails when using csr_attributes.yaml

2019-10-15 Thread Jonas Verhofsté
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jonas Verhofsté created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10104  
 
 
  puppet device fails when using csr_attributes.yaml   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Created: 
 2019/10/15 3:07 AM  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Jonas Verhofsté  
 

  
 
 
 
 

 
 Whilst trying to use trusted facts for my puppet device, I noticed the `puppet device --target devicename` fail with the error "OBJ_txt2obj: first num too large". However, manually requesting the cert with `puppet ssl` does work and behaves as expected. Guessing it's related to PUP-9746, or at least a similar issue. Desired Behavior: First `puppet device` run should request a cert with correct extension requests Actual Behavior: First `puppet device` run fails with "Cannot create CSR with extension request extension_name: OBJ_txt2obj: first num too large"  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment