ref: dc463a66e342c6b979f97e9e7c164c8ed5ff03d8
parent: a784463187a1cc331214a1ef17c26d4797f7f882
	author: cinap_lenrek <cinap_lenrek@felloff.net>
	date: Fri Dec 28 06:46:15 EST 2018
	
rsa(8): add example for tinc(8) (thanks k0ga, qwx)
--- a/sys/man/8/rsa
+++ b/sys/man/8/rsa
@@ -274,6 +274,14 @@
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
--
⑨