<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>CA on HiDa</title><link>https://www.0niu.cn/tags/ca/</link><description>Recent content in CA on HiDa</description><generator>Hugo -- gohugo.io</generator><language>zh</language><lastBuildDate>Mon, 16 Aug 2021 09:34:10 +0800</lastBuildDate><atom:link href="https://www.0niu.cn/tags/ca/index.xml" rel="self" type="application/rss+xml"/><item><title>Linux上添加CA证书</title><link>https://www.0niu.cn/posts/install-ca-certs-on-linux/</link><pubDate>Mon, 16 Aug 2021 09:34:10 +0800</pubDate><guid>https://www.0niu.cn/posts/install-ca-certs-on-linux/</guid><description>&lt;h2 id="rhel-系">RHEL 系&lt;/h2>
&lt;p>复制 PEM 证书到 /etc/pki/ca-trust/source/anchors&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>update-ca-trust
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="debian系">Debian系&lt;/h2>
&lt;p>复制PEM 证书到 /usr/local/share/ca-certificates，扩展名改为 .crt&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>update-ca-certificates
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description><content>&lt;h2 id="rhel-系">RHEL 系&lt;/h2>
&lt;p>复制 PEM 证书到 /etc/pki/ca-trust/source/anchors&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>update-ca-trust
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="debian系">Debian系&lt;/h2>
&lt;p>复制PEM 证书到 /usr/local/share/ca-certificates，扩展名改为 .crt&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>update-ca-certificates
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></content></item></channel></rss>