Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
Svn-to-Git
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王华
Svn-to-Git
Commits
6f9ee136
Commit
6f9ee136
authored
Dec 06, 2018
by
王进波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
c4ee4d8e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
如何在ArchLinux上安装自签名SSL证书.md
doc/如何在ArchLinux上安装自签名SSL证书.md
+18
-0
No files found.
doc/如何在ArchLinux上安装自签名SSL证书.md
0 → 100644
View file @
6f9ee136
# 如何在ArchLinux上安装自签名证书
简单来说只有两行命令,将证书拷贝到指定目录下,然后更新证书信任列表
```
shell
cp
*
.crt /usr/share/ca-certificates/trust-source/anchors
update-ca-trust
#或 trust extract-compat
```
这里是为了安装 mitmproxy 的ssl证书,便于拦截和 decode https请求,mitmproxy第一次启动时会自动生成自签名证书,证书存放在目录
`.mitmproxy/`
下
```
sudo cp .mitmproxy/mitmproxy-ca.pem /usr/share/ca-certificates/trust-source/anchors/
sudo trust extract-compat
```
重要的是,更新证书后需要重启浏览器,才会重新加载系统证书
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment