<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cowkey</author_name>
  <author_url>https://blog.hatena.ne.jp/cowkey/</author_url>
  <blog_title>はむしか</blog_title>
  <blog_url>https://fm-cowkey.hatenablog.com/</blog_url>
  <categories>
    <anon>読書</anon>
    <anon>Go</anon>
  </categories>
  <description>Real World HTTPで GO言語でTLSの簡易HTTPサーバ、クライアントを実装しよう、というトピックがありました。 説明の通り、OpenSSLコマンドでルートCA、サーバ、クライアントの鍵と証明書を作りました。(コマンドの意味は理解できておらず…この辺りも学んでおかないと…) 本来、無条件に信頼するルートCAはOSに登録されていたり、ツールや言語によってはn内部に含まれていたりするそうです。今回のオレオレ証明書、curlで叩くならコマンドラインで渡すなどの方法もとれるそうですが、、GO言語のデフォルトではOSのを参照してしまうそう。 それも面倒なので、プログラムコード内で登録します…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffm-cowkey.hatenablog.com%2Fentry%2F2018%2F01%2F27%2F154721&quot; title=&quot;Go言語のTLSのHTTP実装：オレオレ証明書をコード中で登録する - はむしか&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-01-27 15:47:21</published>
  <title>Go言語のTLSのHTTP実装：オレオレ証明書をコード中で登録する</title>
  <type>rich</type>
  <url>https://fm-cowkey.hatenablog.com/entry/2018/01/27/154721</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
