<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Iam on Evan Hoffman</title><link>https://evan.wtf/tags/iam/</link><description>Recent content in Iam on Evan Hoffman</description><generator>Hugo</generator><language>en-US</language><copyright>Evan Hoffman</copyright><lastBuildDate>Tue, 14 Oct 2014 12:01:49 +0000</lastBuildDate><atom:link href="https://evan.wtf/tags/iam/index.xml" rel="self" type="application/rss+xml"/><item><title>Installing a new SSL certificate in your ELB via CLI</title><link>https://evan.wtf/2014/10/14/installing-a-new-ssl-certificate-in-your-elb-via-cli/</link><pubDate>Tue, 14 Oct 2014 12:01:49 +0000</pubDate><guid>https://evan.wtf/2014/10/14/installing-a-new-ssl-certificate-in-your-elb-via-cli/</guid><description>&lt;p&gt;For future me:&lt;/p&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;Create the key and CSR:&lt;/p&gt;&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;$ openssl req -out wildcard.site.com.csr -new -newkey rsa:2048 -nodes -keyout wildcard.site.com.key&#10;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;Upload the CSR to your SSL vendor (in this case, DigiCert) and obtain the signed SSL certificate.&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;Create a PEM-encoded version of the signing key. This is required for AWS/IAM certs. To check if your key is already PEM-encoded, just &amp;ldquo;head -1 site.key&amp;rdquo;. If the first line says &amp;ldquo;&amp;mdash;&amp;ndash;BEGIN PRIVATE KEY&amp;mdash;&amp;ndash;&amp;rdquo; then it&amp;rsquo;s NOT PEM-encoded. The first line should be &amp;ldquo;&amp;mdash;&amp;ndash;BEGIN RSA PRIVATE KEY&amp;mdash;&amp;ndash;&amp;rdquo;.&lt;/p&gt;</description></item></channel></rss>