summaryrefslogtreecommitdiffstats
path: root/doc/man1
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-02-18 09:46:52 +1000
committerPauli <paul.dale@oracle.com>2020-02-21 22:55:13 +1000
commit35eb4588710dc900f53301f87e3a27782b443f76 (patch)
tree294eeda9864dffe36cc56df1b355c0af8ddb2b40 /doc/man1
parente1dcac22607f6ecbb5ad4f15fc1a54f54f40c1ba (diff)
pkey: update command line tool examples in light of deprecations.
Specifically, refer from the deprecated tools to the pkey equivalents. Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> (Merged from https://github.com/openssl/openssl/pull/11113)
Diffstat (limited to 'doc/man1')
-rw-r--r--doc/man1/openssl-dsa.pod.in3
-rw-r--r--doc/man1/openssl-ec.pod.in3
-rw-r--r--doc/man1/openssl-ecparam.pod.in3
-rw-r--r--doc/man1/openssl-pkey.pod.in2
-rw-r--r--doc/man1/openssl-rsa.pod.in3
-rw-r--r--doc/man1/openssl-rsautl.pod.in3
6 files changed, 16 insertions, 1 deletions
diff --git a/doc/man1/openssl-dsa.pod.in b/doc/man1/openssl-dsa.pod.in
index 4ba948a41b..03fcb7d09b 100644
--- a/doc/man1/openssl-dsa.pod.in
+++ b/doc/man1/openssl-dsa.pod.in
@@ -127,6 +127,9 @@ a public key.
=head1 EXAMPLES
+Examples equivalent to these can be found in the documentation for the
+non-deprecated L<openssl-pkey(1)> command.
+
To remove the pass phrase on a DSA private key:
openssl dsa -in key.pem -out keyout.pem
diff --git a/doc/man1/openssl-ec.pod.in b/doc/man1/openssl-ec.pod.in
index 7bf1989295..ed85ca04b8 100644
--- a/doc/man1/openssl-ec.pod.in
+++ b/doc/man1/openssl-ec.pod.in
@@ -145,6 +145,9 @@ This option checks the consistency of an EC private or public key.
=head1 EXAMPLES
+Examples equivalent to these can be found in the documentation for the
+non-deprecated L<openssl-pkey(1)> command.
+
To encrypt a private key using triple DES:
openssl ec -in key.pem -des3 -out keyout.pem
diff --git a/doc/man1/openssl-ecparam.pod.in b/doc/man1/openssl-ecparam.pod.in
index c8391b481f..934bf5a380 100644
--- a/doc/man1/openssl-ecparam.pod.in
+++ b/doc/man1/openssl-ecparam.pod.in
@@ -134,6 +134,9 @@ This option will generate an EC private key using the specified parameters.
=head1 EXAMPLES
+Examples equivalent to these can be found in the documentation for the
+non-deprecated L<openssl-genpkey(1)> and L<openssl-pkeyparam(1)> commands.
+
To create EC parameters with the group 'prime192v1':
openssl ecparam -out ec_param.pem -name prime192v1
diff --git a/doc/man1/openssl-pkey.pod.in b/doc/man1/openssl-pkey.pod.in
index e2905b6934..c85fc12327 100644
--- a/doc/man1/openssl-pkey.pod.in
+++ b/doc/man1/openssl-pkey.pod.in
@@ -120,7 +120,7 @@ of a key pair.
=head1 EXAMPLES
-To remove the pass phrase on an RSA private key:
+To remove the pass phrase on a private key:
openssl pkey -in key.pem -out keyout.pem
diff --git a/doc/man1/openssl-rsa.pod.in b/doc/man1/openssl-rsa.pod.in
index a688260270..5b867225ac 100644
--- a/doc/man1/openssl-rsa.pod.in
+++ b/doc/man1/openssl-rsa.pod.in
@@ -140,6 +140,9 @@ Like B<-pubin> and B<-pubout> except B<RSAPublicKey> format is used instead.
=head1 EXAMPLES
+Examples equivalent to these can be found in the documentation for the
+non-deprecated L<openssl-pkey(1)> command.
+
To remove the pass phrase on an RSA private key:
openssl rsa -in key.pem -out keyout.pem
diff --git a/doc/man1/openssl-rsautl.pod.in b/doc/man1/openssl-rsautl.pod.in
index b9d0572883..1a3a1516e3 100644
--- a/doc/man1/openssl-rsautl.pod.in
+++ b/doc/man1/openssl-rsautl.pod.in
@@ -135,6 +135,9 @@ used to sign or verify small pieces of data.
=head1 EXAMPLES
+Examples equivalent to these can be found in the documentation for the
+non-deprecated L<openssl-pkeyutl(1)> command.
+
Sign some data using a private key:
openssl rsautl -sign -in file -inkey key.pem -out sig