aramperes / nut-rs

rups: A Network UPS Tools (NUT) implementation in Rust.

Home Page:https://crates.io/crates/rups

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Strict SSL verification

aramperes opened this issue · comments

When implemented for #1, any sort of SSL certificate validation was turned off (cert chain, DNS name, OCSP). Proper verification should be enabled by default, and disabled using .with_insecure_ssl(true).

For rupsc, -S should turn on strict validation, and --insecure-ssl should keep unverified SSL on.