Skip to content

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

varwof-cli

CLI management tool — mTLS direct connection to core API for certificate issuance, revocation, renewal, and queries.

⚠️ Preview — Not for production use. APIs and features may change before official release.

License Go Reference

中文

What is varwof-cli?

Command-line management client for varwof PKI core. Connects to core API via mTLS for full certificate lifecycle management.

Request → varwof-cli ──mTLS──→ core API

Quick Start

go build -o varwof-cli .

cat > config.json <<EOF
{
  "server": "https://127.0.0.1:4433",
  "ca_cert": "/etc/varwof/core/root/ca.pem",
  "client_cert": "/etc/varwof/core/keys/superadmin.pem",
  "client_key": "/etc/varwof/core/keys/superadmin-key.pem"
}
EOF

varwof-cli --config config.json issue \
  --cn server.example.com \
  --san "DNS:server.example.com,IP:10.0.0.1" \
  --profile tls-server

varwof-cli --config config.json cas

Installation

go build -o varwof-cli .

Commands

Command Description
issue Issue new certificate
revoke Revoke certificate
renew Renew certificate
list List certificates/CAs
cas View CA list
find-by-key Find by public key
re-sign Re-sign with original key
revoke-by-principal Revoke by person
revoke-subca Revoke by sub-CA
batch Batch issuance

Ecosystem

graph LR
    cli["varwof-cli"] -->|mTLS| core["core<br/>PKI CA"]
    core --> db[("SQLite")]
Loading

client is the management client of the varwof ecosystem. This project is a member of the Open Invention Network.

Links

Homepage https://varwof.com
Community https://varwof.org
IETF Draft draft-wei-aic-identity-cert
License Apache-2.0
Member Open Invention Network

About

Varwof client is a zero-dependency CLI for varwof core. mTLS admin for CA, certs, and AIC — issue, renew, revoke, batch, find-by-key, REPL. AIC issuance signs delegation tokens with user keys, encoding capabilities into Agent Identity Certificates. cert show decodes AIC/PA extensions. PKCS#7 policy signing, self-check with CRL repair.

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages