<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Aws on the art of simplicity</title><link>https://naoko.github.io/tags/aws/</link><description>Recent content in Aws on the art of simplicity</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 03 Apr 2019 00:00:00 +0000</lastBuildDate><atom:link href="https://naoko.github.io/tags/aws/index.xml" rel="self" type="application/rss+xml"/><item><title>Fingerprint of PEM ssh key</title><link>https://naoko.github.io/posts/2019-04-03-fingerprint-of-pem/</link><pubDate>Wed, 03 Apr 2019 00:00:00 +0000</pubDate><guid>https://naoko.github.io/posts/2019-04-03-fingerprint-of-pem/</guid><description>&lt;h3 id="the-problem"&gt;The problem&lt;/h3&gt;
&lt;p&gt;I was on AWS and needed to select SSH Key pair.
It has been a while that I needed to create one that might require SSH Key pair.
So to be sure I got the correct key, I needed to compare fingerprint listed on Key Pair list.
I do have &lt;code&gt;pem&lt;/code&gt; key with name contain &lt;code&gt;aws&lt;/code&gt; so I want to generate finger print for that key.&lt;/p&gt;
&lt;h3 id="how-to-solve-it"&gt;How to solve it&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;openssl pkcs8 -in path/to/private_key_file -nocrypt -topk8 -outform DER | openssl sha1 -c
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;or use AWS tool&lt;/p&gt;</description></item></channel></rss>