ekollof / gentlsa

Tool for DANE/TLSA (with Cloudflare API support)
Other
16 stars 4 forks source link

[Feature Request] Local mode? #6

Open Giga-Pudding opened 1 year ago

Giga-Pudding commented 1 year ago

Instead of letting gentlsa.py connect to every possible service/server to get the certificate hash, how about specifiying a local path to the certificate? This makes sense, if a certbot is running on the local machine (gentlsa.py is probably often used as hook in conjunction with a certbot).

From a security point of view, it's good to avoid unnecessary network connections. Also, outbound network connections could be a possible reason for failure, in case the target/service cannot be reached for some reason.

Thank you :)