Strict SSL verification (#9)

Fixes #8
This commit is contained in:
Aram Peres 2021-07-31 11:12:45 -04:00 committed by GitHub
parent f22867d2d2
commit 3002b4de53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 171 additions and 75 deletions

View file

@ -38,11 +38,11 @@ This is a clone of [`upsc`](https://networkupstools.org/docs/man/upsc.html), so
# Show usage
rupsc -h
# List variables on UPS device "nutdev1" (assumes upsd running on 127.0.0.1:3493)
# List variables on UPS device "nutdev1" (assumes upsd running on localhost:3493)
rupsc nutdev1
# List variables on UPS device "nutdev1" (remove upsd)
rupsc nutdev1@192.168.1.2:3493
# List variables on UPS device "nutdev1" (remote upsd)
rupsc nutdev1@upsd.remote:3493
# List available UPS devices
rupsc -l
@ -54,14 +54,17 @@ rupsc -L
rupsc -c nutdev1
```
However, there are also some additions:
However, there are also some additions to the original tool:
```bash
# Enable network debugging (global flag).
# Enable network debugging
rupsc -D
# Enable SSL
# Enable SSL (strict verification)
rupsc -S
# Enable SSL (no verification)
rupsc --insecure-ssl
```
## Pronunciation