From 1d3456ac21872a57f504a12b91b50a67bd26059b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=87=A8?= <87279659+windfgg@users.noreply.github.com> Date: Sat, 18 Nov 2023 13:02:01 +0800 Subject: [PATCH] Update README.md --- README.md | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 654d059..bc0b74b 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,33 @@ # 信任证书 ``` +// 使用opensll 生成证书 +openssl pkcs12 -in cert.pfx -out cert.pem -nodes -//openssl pkcs12 -in NolanProxyPoolrootCert.pfx -out narkpool.pem -nodes - +//将证书一到系统里 sudo cp cert.pem /usr/local/share/ca-certificates/cert.crt +//更新证书 sudo update-ca-certificates +//验证证书 openssl verify -CAfile /etc/ssl/certs/ca-certificates.crt cert.pem -``` \ No newline at end of file +``` +# Docker +``` +docker run -p 8080:8080 \ + -v /root/PorxyPool/config.yml:/config.yml \ + ghcr.io/windfgg/proxypool/proxy-pool:latest +``` + +# config.yml +``` +ProxyUrl: "" +ExpTime: 25 +IntervalTime: 3 +Auth: + UserName: "" + Password: "" +DetailLog: false + +```