This commit is contained in:
rsc 2005-02-13 22:05:31 +00:00
parent a784b110f5
commit 45993349d8

View file

@ -1,6 +1,6 @@
.TH RSA 8 .TH RSA 8
.SH NAME .SH NAME
dsagen, rsagen, rsafill, asn12dsa, asn12rsa, dsa2pub, rsa2pub, dsa2ssh, rsa2ssh, rsa2x509 \- generate and format dsa and rsa keys dsagen, rsagen, rsafill, asn12dsa, asn12rsa, dsa2pub, rsa2csr, rsa2pub, dsa2ssh, rsa2ssh, rsa2x509 \- generate and format dsa and rsa keys
.SH SYNOPSIS .SH SYNOPSIS
.PP .PP
.B dsagen .B dsagen
@ -74,6 +74,12 @@ dsagen, rsagen, rsafill, asn12dsa, asn12rsa, dsa2pub, rsa2pub, dsa2ssh, rsa2ssh,
[ [
.I file .I file
] ]
.PP
.B rsa2csr
.I certinfo
[
.I file
]
.SH DESCRIPTION .SH DESCRIPTION
Plan 9 represents DSA and RSA keys as attribute-value pair lists Plan 9 represents DSA and RSA keys as attribute-value pair lists
prefixed with the string prefixed with the string
@ -276,14 +282,15 @@ pemencode CERTIFICATE
.EE .EE
.LP .LP
generates such a textual certificate. generates such a textual certificate.
Applications that serve TLS-encrypted sessions (for example, Applications that serve TLS-encrypted sessions
.IR httpd (8), typically expect certificates in ASN.1/DER/PEM format.
.IR pop3 (8), .PP
and .I Rsa2csr
.IR tlssrv (8)) is like
expect certificates in ASN.1/DER/PEM format. .I rsa2x509
but writes an X.509 certificate request.
.SH EXAMPLES .SH EXAMPLES
Generate a fresh key and use it to start a TLS-enabled web server: Generate a fresh key and use it to start the Plan 9 TLS-enabled web server:
.IP .IP
.EX .EX
rsagen -t 'service=tls owner=*' >key rsagen -t 'service=tls owner=*' >key