<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Certificates &amp; Authentication on Flatcar Container Linux</title>
		<link>/docs/latest/security/cert-auth/</link>
		<description>Recent content in Certificates &amp; Authentication on Flatcar Container Linux</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
			<copyright>Copyright © The Flatcar Project Contributors.

Copyright © Flatcar a Series of LF Projects, LLC.

For website terms of use, trademark policy and other project policies please see &lt;a href=&#34;https://lfprojects.org/policies/&#34;&gt;lfprojects.org/policies&lt;/a&gt;.
</copyright>
		
		
			<atom:link href="/docs/latest/security/cert-auth/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Configuring SSSD on Flatcar Container Linux</title>
				<link>/docs/latest/security/cert-auth/sssd/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>/docs/latest/security/cert-auth/sssd/</guid>
				<description>&lt;p&gt;Flatcar Container Linux ships with the System Security Services Daemon, allowing integration between Flatcar Container Linux and enterprise authentication services.&lt;/p&gt;&#xA;&lt;h2 id=&#34;configuring-sssd&#34;&gt;Configuring SSSD&lt;/h2&gt;&#xA;&lt;p&gt;Edit /etc/sssd/sssd.conf. This configuration file is fully documented &#xA;&#xA;&#xA;&lt;a href=&#34;https://jhrozek.fedorapeople.org/sssd/1.13.1/man/sssd.conf.5.html&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;here&lt;/a&gt;&#xA;. For example, to configure SSSD to use an IPA server called ipa.example.com, sssd.conf should read:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-ini&#34; data-lang=&#34;ini&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#00f&#34;&gt;[sssd]&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;config_file_version = &lt;span style=&#34;color:#a31515&#34;&gt;2&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;services = &lt;span style=&#34;color:#a31515&#34;&gt;nss, pam&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;domains = &lt;span style=&#34;color:#a31515&#34;&gt;LDAP&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#00f&#34;&gt;[nss]&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#00f&#34;&gt;[pam]&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#00f&#34;&gt;[domain/LDAP]&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;id_provider = &lt;span style=&#34;color:#a31515&#34;&gt;ldap&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;auth_provider = &lt;span style=&#34;color:#a31515&#34;&gt;ldap&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ldap_schema = &lt;span style=&#34;color:#a31515&#34;&gt;ipa&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ldap_uri = &lt;span style=&#34;color:#a31515&#34;&gt;ldap://ipa.example.com&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;start-sssd&#34;&gt;Start SSSD&lt;/h2&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sudo systemctl start sssd&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;make-sssd-available-on-future-reboots&#34;&gt;Make SSSD available on future reboots&lt;/h2&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sudo systemctl enable sssd&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description>
			</item>
			<item>
				<title>Customizing the SSH daemon</title>
				<link>/docs/latest/security/cert-auth/customizing-sshd/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>/docs/latest/security/cert-auth/customizing-sshd/</guid>
				<description>&lt;p&gt;Flatcar Container Linux defaults to running an OpenSSH daemon using &lt;code&gt;systemd&lt;/code&gt; socket activation &amp;ndash; when a client connects to the port configured for SSH, &lt;code&gt;sshd&lt;/code&gt; is started on the fly for that client using a &lt;code&gt;systemd&lt;/code&gt; unit derived automatically from a template. In some cases you may want to customize this daemon&amp;rsquo;s authentication methods or other configuration. This guide will show you how to do that at boot time using a &#xA;&#xA;&#xA;&lt;a href=&#34;/docs/latest/fb-provision/butane/&#34;&gt;Butane Config&lt;/a&gt;&#xA;, and after building by modifying the &lt;code&gt;systemd&lt;/code&gt; unit file.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Custom certificate authorities</title>
				<link>/docs/latest/security/cert-auth/adding-certificate-authorities/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>/docs/latest/security/cert-auth/adding-certificate-authorities/</guid>
				<description>&lt;p&gt;Flatcar Container Linux supports custom Certificate Authorities (CAs) in addition to the default list of trusted CAs. Adding your own CA allows you to:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Use a corporate wildcard certificate&lt;/li&gt;&#xA;&lt;li&gt;Use your own CA to communicate with an installation of CoreUpdate&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The setup process for any of these use-cases is the same:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Copy the PEM-encoded certificate authority file (usually with a &lt;code&gt;.pem&lt;/code&gt; file name extension) to &lt;code&gt;/etc/ssl/certs&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Run the &lt;code&gt;update-ca-certificates&lt;/code&gt; script to update the system bundle of Certificate Authorities. All programs running on the system will now trust the added CA.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Generate self-signed certificates</title>
				<link>/docs/latest/security/cert-auth/generate-self-signed-certificates/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>/docs/latest/security/cert-auth/generate-self-signed-certificates/</guid>
				<description>&lt;p&gt;If you build Flatcar Container Linux cluster on top of public networks it is recommended to enable encryption for Flatcar Container Linux services to prevent traffic interception and man-in-the-middle attacks. For these purposes you have to use Certificate Authority (CA), private keys and certificates signed by CA. Let&amp;rsquo;s use &#xA;&#xA;&#xA;&lt;a href=&#34;https://github.com/cloudflare/cfssl&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;cfssl&lt;/a&gt;&#xA; and walk through the whole process to create all these components.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; We will use basic procedure here. If your configuration requires advanced security options, please refer to official &#xA;&#xA;&#xA;&lt;a href=&#34;https://github.com/cloudflare/cfssl&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;cfssl&lt;/a&gt;&#xA; documentation.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Customizing the etcd unit</title>
				<link>/docs/latest/security/cert-auth/customize-etcd-unit/</link>
				<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
				<guid>/docs/latest/security/cert-auth/customize-etcd-unit/</guid>
				<description>&lt;p&gt;The etcd systemd unit can be customized by overriding the unit that ships with the default Flatcar Container Linux settings. Common use-cases for doing this are covered below.&lt;/p&gt;&#xA;&lt;h2 id=&#34;use-client-certificates&#34;&gt;Use client certificates&lt;/h2&gt;&#xA;&lt;p&gt;etcd supports client certificates as a way to provide secure communication between clients ↔ leader and internal traffic between etcd peers in the cluster. Configuring certificates for both scenarios is done through a Butane Config. Options provided here will augment the unit that ships with Flatcar Container Linux.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
