feat: fill certificate fields from uploaded certificate file
Parse uploaded PEM or DER certificates with cryptography and fill common name, SANs, issuer, serial number, SHA-256 fingerprint and validity dates. Name and type are only set when left empty; the type is derived from the CA flag and extended key usage. Files containing a private key are rejected. Works in the UI form and the REST API. Adds cryptography as a dependency. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
f296a576f2
commit
2a41118e8e
9 files changed
+228
No files matched your search
@@ -32,6 +32,7 @@ classifiers = [
|
||||
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
|
||||
]
|
||||
dependencies = [
|
||||
"cryptography >= 41.0",
|
||||
"license-expression == 30.4.4",
|
||||
]
|
||||
|
||||
|
||||
Reference in new issue
Block a user