<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>TLS | Learn C Games Programming Blog</title>
	<atom:link href="https://learncgames.com/tag/tls/feed/" rel="self" type="application/rss+xml" />
	<link>https://learncgames.com</link>
	<description>A blog about C, programming games and my ebook(s).</description>
	<lastBuildDate>Sat, 19 Sep 2020 18:12:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://learncgames.com/wp-content/uploads/2020/03/cropped-favicon-32x32.png</url>
	<title>TLS | Learn C Games Programming Blog</title>
	<link>https://learncgames.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">181446779</site>	<item>
		<title>Adding an SSL Cert</title>
		<link>https://learncgames.com/adding-an-ssl-cert/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=adding-an-ssl-cert</link>
		
		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Mon, 21 Sep 2020 23:00:00 +0000</pubDate>
				<category><![CDATA[Other stuff]]></category>
		<category><![CDATA[Techniques]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[TLS]]></category>
		<guid isPermaLink="false">https://learncgames.com/?p=1433</guid>

					<description><![CDATA[<p>These days, if you have a website or even a game server then you probably should have an SSL (or TLS to be more precise) certificate. Have you heard of telnet? It&#8217;s an old protocol that allows you to connect to a remote computer and issue commands. Do you know why you don&#8217;t hear of [&#8230;]</p>
The post <a href="https://learncgames.com/adding-an-ssl-cert/">Adding an SSL Cert</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></description>
										<content:encoded><![CDATA[<div class='__iawmlf-post-loop-links' style='display:none;' data-iawmlf-post-links='[{&quot;id&quot;:510,&quot;href&quot;:&quot;https:\/\/www.jscape.com\/blog\/ssl-vs-ssh-simplified#:~:text=One%20of%20the%20most%20noticeable,authentication%20whereas%20SSH%20does%20not.&amp;text=Another%20big%20difference%20is%20that%20SSH%20has%20more%20functionality%20built%20into%20it.&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20251117103012\/https:\/\/www.jscape.com\/blog\/ssl-vs-ssh-simplified&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 15:35:41&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-02-06 15:35:41&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:511,&quot;href&quot;:&quot;https:\/\/cheapsslsecurity.co.uk&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20250915084354\/https:\/\/cheapsslsecurity.co.uk\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 15:35:46&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-01 20:36:48&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-05 06:00:41&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-12 09:17:37&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-16 05:07:03&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-26 23:21:35&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-01 08:05:07&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-04 10:11:24&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-04 10:11:24&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:512,&quot;href&quot;:&quot;https:\/\/blog.entrust.com\/2020\/02\/apple-announces-398-day-maximum-certfificate-lifetime\/#:~:text=At%20the%2049th%20meeting%20of,validity%20period%20of%20398%2Ddays.&amp;text=If%20a%20certificate%20is%20issued,be%20trusted%20by%20Safari%20browsers.&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20210411183212\/https:\/\/blog.entrust.com\/2020\/02\/apple-announces-398-day-maximum-certfificate-lifetime\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 15:35:49&quot;,&quot;http_code&quot;:403}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-02-06 15:35:49&quot;,&quot;http_code&quot;:403},&quot;process&quot;:&quot;done&quot;}]'></div>
<p><img fetchpriority="high" decoding="async" class="alignleft size-medium wp-image-1434" src="https://learncgames.com/wp-content/uploads/2020/09/putty-3678638_640-300x300.png" alt="SSL connection" width="300" height="300" srcset="https://learncgames.com/wp-content/uploads/2020/09/putty-3678638_640-300x300.png 300w, https://learncgames.com/wp-content/uploads/2020/09/putty-3678638_640-150x150.png 150w, https://learncgames.com/wp-content/uploads/2020/09/putty-3678638_640.png 640w" sizes="(max-width: 300px) 100vw, 300px" />These days, if you have a website or even a game server then you probably should have an SSL (<em>or TLS to be more precise</em>) certificate. <strong>Have you heard of telnet?</strong> It&#8217;s an old protocol that allows you to connect to a remote computer and issue commands. Do you know why you don&#8217;t hear of it any more? Because it was designed for an era where hackers didn&#8217;t spend all their time attempting to compromise computers. <strong>Telnet, like FTP has a flaw.</strong> Passwords and login details are sent in the clear. Not hashed, or encrypted.</p>
<p><strong>Why don&#8217;t I use SSH to connect to it?</strong> I do. SSH has more functionality than SSL and is very good for encrypting remote connections. SSL needs a certificate, whereas SSH doesn&#8217;t but many think you should use a SSH certificate as a substitute for username/password and I intend to. If you&#8217;re not sure of the technical differences between SSL and SSH, <a title="LInk to article explaining technical differences between SSH and SSL" href="https://www.jscape.com/blog/ssl-vs-ssh-simplified#:~:text=One%20of%20the%20most%20noticeable,authentication%20whereas%20SSH%20does%20not.&amp;text=Another%20big%20difference%20is%20that%20SSH%20has%20more%20functionality%20built%20into%20it." target="_blank" rel="nofollow noopener noreferrer">this article</a> isn&#8217;t a bad place.</p>
<p>So today I paid for an SSL certificate. I&#8217;d pointed a domain I had handy to the vps a few days ago, to give DNS a chance to settle, (<em>24 hours max but usually much less</em>) paid £20 for five years of SSL cert and installed it today. Thankfully, virtualmin which I use for configuring the server makes it straightforward to request a SSL by generating the CSR (Certificate Request an Private Key) . This blog uses an SSL cert from the same place (<a title="Link to CheapSSLSecurity" href="https://cheapsslsecurity.co.uk/" target="_blank" rel="nofollow noopener noreferrer">CheapSSL</a>). Despite the low price the certificates are very good.</p>
<p>Although the world won&#8217;t see what the cert is protecting, you almost have to have them nowadays. This is for the connection between smartphone and server. As I found today, Apple is ramping up security and Google is doing the same. I have iOS 14 on my iPhone (<em>upgraded yesterday</em>) and it refused to connect to WiFi in my local coffeeshop. Their certificate doesn&#8217;t expire for another month but I suspect it is now over 398 days old. As far as Apple is concerned, that certificate is past its use by date. This is <a title="LInk to Entrust Blog about Apple'#s SSL policy" href="https://blog.entrust.com/2020/02/apple-announces-398-day-maximum-certfificate-lifetime/#:~:text=At%20the%2049th%20meeting%20of,validity%20period%20of%20398%2Ddays.&amp;text=If%20a%20certificate%20is%20issued,be%20trusted%20by%20Safari%20browsers." target="_blank" rel="noopener noreferrer">Apple&#8217;s new policy</a> since earlier this year. My wife&#8217;s iPhone, still on iOS 13 connected quite happily.</p>
<p>For those who have bought a multi-year certificate as I have today, it just means you have to generate another CSR and install a newer certificate once every 400 days or so. I&#8217;ve started taking screenshots of the details so I get them correct! I believe Google is moving to this 398 day maximum as well.</p>
<p>So the commands from smartphone to game server are now sent over https and encrypted in flight as are the results. It&#8217;s one less thing to worry about.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>The post <a href="https://learncgames.com/adding-an-ssl-cert/">Adding an SSL Cert</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1433</post-id>	</item>
	</channel>
</rss>
