39 lines
623 B
Markdown
39 lines
623 B
Markdown
# proxy-inspector
|
|
|
|
`proxy_config.json` sample config:
|
|
|
|
```json
|
|
{
|
|
"groups": [
|
|
{
|
|
"port": 443,
|
|
"lookup_dns": true,
|
|
"tls": {
|
|
"issuer_cert": "intermediate_cert.pem",
|
|
"issuer_key": "intermediate_cert.key"
|
|
},
|
|
"proxy_map": {
|
|
"hatter.ink": {
|
|
"address": "101.132.122.240:443",
|
|
"tls": true
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
```
|
|
|
|
Generate self signed certificate:
|
|
|
|
```shell
|
|
$ cargo r --example generate_self_signed_ca
|
|
```
|
|
|
|
Important
|
|
|
|
* Intermediate certificate tested:
|
|
* ECDSA(P384) with SHA384
|
|
* P256 with SHA256
|
|
* P384 with SHA256 is NOT supported
|
|
|