Unwrap some lines which fit on one line just fine when rendered; the
readability of the finished product is more important here.
This commit is contained in:
parent
fab8424905
commit
616f60e06d
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=24585
1 changed files with 3 additions and 6 deletions
|
@ -3086,18 +3086,15 @@ An optional company name []:<userinput><replaceable>Another Name</replaceable></
|
|||
not required, a self signed certificate can be created. First,
|
||||
generate the <acronym>RSA</acronym> key:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>openssl dsaparam -rand -genkey -out
|
||||
<filename>myRSA.key</filename> 1024</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>openssl dsaparam -rand -genkey -out <filename>myRSA.key</filename> 1024</userinput></screen>
|
||||
|
||||
<para>Next, generate the <acronym>CA</acronym> key:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>openssl gendsa -des3 -out \
|
||||
<filename>myca.key</filename> <filename>myRSA.key</filename></userinput></screen>
|
||||
<screen>&prompt.root; <userinput>openssl gendsa -des3 -out <filename>myca.key</filename> <filename>myRSA.key</filename></userinput></screen>
|
||||
|
||||
<para>Use this key to create the certificate:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>openssl req -new -x509 -days 365 -key \
|
||||
<filename>myca.key</filename> -out <filename>new.crt</filename></userinput></screen>
|
||||
<screen>&prompt.root; <userinput>openssl req -new -x509 -days 365 -key <filename>myca.key</filename> -out <filename>new.crt</filename></userinput></screen>
|
||||
|
||||
<para>Two new files should appear in the directory: a certificate
|
||||
authority signature file, <filename>myca.key</filename> and the
|
||||
|
|
Loading…
Reference in a new issue