porta modio-newkeys till Rust
Specialfall av caramel-client med följande features:
-
Tar ClientID från existerande mac-address för interface i list (wan, eth0)
-
Använder enbrart inbäddat eller explicit utpekat CA-cert, ingen bundle
-
Genererar filer enligt Environment-variabler för output, ej i working dir.
-
Returnerar status 69 om den får en HTTP 202
-
Flock on key file, returning error 1 if things aren't working.
-
Flock on key file both when generating /modifying key and CSR files
-
Sets User-agent to newkeys/$CLIENT_ID
-
Uses ClientCertificate to identify itself on TLS if there is one
-
Only fetches files if newer than existing certificate
Bygger på: agile#1778
Edited by Spindel 🕷 Ljungmark