Pixiv-Nginx/自签证书傻瓜式批处理包/★使用说明★.txt

5 lines
812 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

1.下载 OpenSSLhttps://slproweb.com/products/Win32OpenSSL.html安装设置为「环境变量」自行百度只要在CMD中输入openssl有反应就行而不是「'openssl' 不是内部或外部命令,也不是可运行的程序或批处理文件」)。
2.第一次使用时直接使用「【限初次使用】一键生成根证书和子证书.bat」并将rootCA.crt安装到系统受信任的根证书列表即可生成的Pixiv.key和Pixiv.crt可替换软件自带的CA。
3.需要添加域名时打开「config_childCA.txt」加入完后使用「【修改config_childCA.txt后使用】重新签发子证书.bat」将新生成的Pixiv.crt替换Nginx目录原先的文件在系统host文件添加「127.0.0.1 域名」的字段, 并修改根目录「/conf/pixiv.conf」。