1.安装apache2
用于充当服务器的角色
需要在配置文件apache2.conf最后加入下面两句:
ServerName localhost
DirectoryIndex index.html index.htm index.php
其中:
ServerName localhost是为了防止最后开启apache2服务的时候会提示DNS出错。
DirectoryIndex index.html index.htm index.php是默认目录的写法。
具体安装步骤见:
https://jingyan.baidu.com/article/9158e0006581d1a2541228b5.html
2.openssl安装
一般Linux系统自带
3.自建CA机构
后续更新
Linux系统下自建CA实现https访问
最新推荐文章于 2024-06-13 22:02:03 发布