<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>griefworker</author_name>
  <author_url>https://blog.hatena.ne.jp/griefworker/</author_url>
  <blog_title>present</blog_title>
  <blog_url>https://tnakamura.hatenablog.com/</blog_url>
  <categories>
    <anon>C#</anon>
  </categories>
  <description>WCF は NetTcpBinding を使う場合でも SSL で通信を暗号化できる。 暗号化に使う SSL 証明書は、Windows の証明書ストアにインストールしてある中から検索して使うのが一般的なやり方っぽいが、 インストールしていない証明書のファイルを読み込んで使うことも可能。 コードはこんな感じ。WCF サービスをセルフホストするのに、Topshelf を使っている。 using System; using System.IO; using System.Security.Cryptography.X509Certificates; using System.ServiceModel…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftnakamura.hatenablog.com%2Fentry%2F2016%2F10%2F03%2Fwcf-service-load-certificate-from-file&quot; title=&quot;証明書ファイルを読み込んで WCF の SSL over TCP で使う - present&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>2016-10-03 14:37:16</published>
  <title>証明書ファイルを読み込んで WCF の SSL over TCP で使う</title>
  <type>rich</type>
  <url>https://tnakamura.hatenablog.com/entry/2016/10/03/wcf-service-load-certificate-from-file</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
