Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
puppet and kerberos keytabs
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Bjorge Solli  
View profile  
 More options Sep 15 2011, 4:34 am
From: Bjorge Solli <bjo...@solli.priv.no>
Date: Thu, 15 Sep 2011 10:34:16 +0200
Local: Thurs, Sep 15 2011 4:34 am
Subject: puppet and kerberos keytabs
Hi,

we use kerberos with keytabs on our clients. We do *not* trust root on
the clients! One client should never have access to any other client's
keytab. This is my proposed solution to get the keytabs to the clients,
any comments welcome!

1. Use file to get /root/.ssh/authorized_keys
2. Use exported resource to let the client "notify" the server that it
wants a keytab
3. On the serverside
3.1 Generate keytab (if not exist)
3.2 Push keytab using ssh with key

Problems:
1. As far as I understand we can't use file to get the keytab as local
root on clients then could get other client's keytabs. (solved in solution)
2. Reinstallation. How do I tell the server to push the key once more to
the same client? (not solved in solution)

A suggestion here is to use a custom fact => has og has not keytab.

Any other suggetions?

Regards
Bj rge


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bjorge Solli  
View profile  
 More options Sep 15 2011, 1:12 pm
From: Bjorge Solli <bjo...@solli.priv.no>
Date: Thu, 15 Sep 2011 19:12:31 +0200
Local: Thurs, Sep 15 2011 1:12 pm
Subject: Re: [Puppet Users] puppet and kerberos keytabs
On 15/09/11 10:34, Bjorge Solli wrote:

A co-worker suggested using the certs with apache to deny access to all
other than the requesting puppet client, and thus eliminate step 3.2 and
problem 2 and negate problem 1:-)

This will probably be our solution if noone has an even better idea.

Regards
Bj rge


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nigel Kersten  
View profile  
 More options Sep 15 2011, 5:06 pm
From: Nigel Kersten <ni...@puppetlabs.com>
Date: Thu, 15 Sep 2011 14:06:00 -0700
Subject: Re: [Puppet Users] puppet and kerberos keytabs

You could create custom fileserver mount points with explicit access
privileges so only the specific clients can access those files.

You could create a function that returned the correct keytab for a given
host, so the content was only available in the catalogs, not as files.

file { "/path/to/my_keytab":
  content => retrieve_keytab_for($certname),

}

or something along those lines.

keytab distribution sucks :(

--
Nigel Kersten
Product Manager, Puppet Labs

*Join us for **PuppetConf *
<http://www.bit.ly/puppetconfsig>
Sept 22/23 Portland, Oregon, USA.
*
*


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bjorge Solli  
View profile  
 More options Sep 17 2011, 8:21 am
From: Bjorge Solli <bjo...@solli.priv.no>
Date: Sat, 17 Sep 2011 14:21:29 +0200
Local: Sat, Sep 17 2011 8:21 am
Subject: Re: [Puppet Users] puppet and kerberos keytabs
On 15/09/11 23:06, Nigel Kersten wrote:

> file { "/path/to/my_keytab":
>   content => retrieve_keytab_for($certname),
> }

Isn't $certname set by the client? Then a client could "impersonate"
another?

> keytab distribution sucks :(

Yes!

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »