-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
``` | ||
``` | ||
# 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 | ||
``` |