You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-1Lines changed: 19 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -105,7 +105,25 @@ async with NanoKVMClient(
105
105
await client.authenticate("username", "password")
106
106
```
107
107
108
-
#### Option 2: Use custom CA certificate (recommended)
108
+
#### Option 2: Certificate pinning (recommended for self-signed)
109
+
110
+
NanoKVM devices generate self-signed certificates for `localhost` with no CA to verify against. Certificate pinning verifies the server's certificate fingerprint directly instead of relying on CA-based trust.
111
+
112
+
```python
113
+
from nanokvm.utils import async_fetch_remote_fingerprint
114
+
115
+
# First, fetch the fingerprint (trust-on-first-use)
0 commit comments