diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-12-28 11:46:15 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-12-28 11:46:15 +0100 |
commit | f464b7ff16135fc4dddf30291dc5b7226651d2b3 (patch) | |
tree | 5f5464ffa259fc94631881cdd80399613527f1a9 /sys/man/8 | |
parent | 83b854df0d2a98ca35f8d3215e7fe34531563b20 (diff) |
rsa(8): add example for tinc(8) (thanks k0ga, qwx)
Diffstat (limited to 'sys/man/8')
-rw-r--r-- | sys/man/8/rsa | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/man/8/rsa b/sys/man/8/rsa index 197028075..40309c165 100644 --- a/sys/man/8/rsa +++ b/sys/man/8/rsa @@ -274,6 +274,14 @@ Generate a certificate signing request (CSR) in PEM format: auth/rsa2csr 'CN=example.com' key | auth/pemencode 'CERTIFICATE REQUEST' .EE +.PP +Generate a tinc host key: +.IP +.EX +auth/rsagen -t 'service=tinc role=client host=myhost' > myhost.key +auth/rsa2pub < myhost.key | + auth/rsa2asn1 | auth/pemencode 'RSA PUBLIC KEY' > hosts/myhost +.EE .SH SOURCE .B /sys/src/cmd/auth .SH "SEE ALSO |