doc/SSL: remove line continuation marker
some people got confused by the '\' line continuation marker, thus put everything in a single line, even if the line gets overly long.
This commit is contained in:
parent
bdec5ac1f3
commit
29d448ed63
|
@ -49,8 +49,7 @@ Creating a self-signed certificate
|
||||||
OpenSSL:
|
OpenSSL:
|
||||||
|
|
||||||
Creating a self-signed certificate and key:
|
Creating a self-signed certificate and key:
|
||||||
$ openssl req -newkey rsa:2048 -x509 -keyout server-key.pem \
|
$ openssl req -newkey rsa:2048 -x509 -keyout server-key.pem -out server-cert.pem -days 1461
|
||||||
-out server-cert.pem -days 1461
|
|
||||||
Create DH parameters (optional):
|
Create DH parameters (optional):
|
||||||
$ openssl dhparam -2 -out dhparams.pem 2048
|
$ openssl dhparam -2 -out dhparams.pem 2048
|
||||||
|
|
||||||
|
@ -58,8 +57,7 @@ GnuTLS:
|
||||||
|
|
||||||
Creating a self-signed certificate and key:
|
Creating a self-signed certificate and key:
|
||||||
$ certtool --generate-privkey --bits 2048 --outfile server-key.pem
|
$ certtool --generate-privkey --bits 2048 --outfile server-key.pem
|
||||||
$ certtool --generate-self-signed --load-privkey server-key.pem \
|
$ certtool --generate-self-signed --load-privkey server-key.pem --outfile server-cert.pem
|
||||||
--outfile server-cert.pem
|
|
||||||
Create DH parameters (optional):
|
Create DH parameters (optional):
|
||||||
$ certtool --generate-dh-params --bits 2048 --outfile dhparams.pem
|
$ certtool --generate-dh-params --bits 2048 --outfile dhparams.pem
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue