chux0519 / pegasocks

A lightweight proxy client written in C, intends to support multiple protocols(trojan etc.)
BSD 3-Clause "New" or "Revised" License
117 stars 35 forks source link

[Feature Request] Ability to set a ca-file path for OpenSSL or MbedTLS #18

Closed mokhtarabadi closed 2 years ago

mokhtarabadi commented 3 years ago

The SSL certificates file (for example it is /etc/ssl/certs/ca-certificates.crt on ubuntu) in android is not stable, which mean android changed the path in various android releases, I think the best thing to avoid problems about this is way to set a ca-file path for pegasocks

mokhtarabadi commented 3 years ago

Or even can include trusted certificates into C codes, something like this

chux0519 commented 2 years ago

PR is merged, https://github.com/chux0519/pegasocks/pull/26

ca file could be setted via ssl.cert, also, DNS servers can be setted now, with dns_servers

check: https://github.com/chux0519/pegasocks/wiki/manpage

mokhtarabadi commented 2 years ago

Thanks @chux0519