Skip to content

Commit

Permalink
Fix incorrect openssl-smime doc sample command for encrypt
Browse files Browse the repository at this point in the history
Original documented sample command causes error. PEM recipient cert argument needs to go last.

CLA: trivial

Reviewed-by: Matt Caswell <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
(Merged from openssl#25829)
  • Loading branch information
arsdragonfly authored and t8m committed Nov 1, 2024
1 parent 59f5f6c commit 1d160db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/man1/openssl-smime.pod.in
Original file line number Diff line number Diff line change
Expand Up @@ -397,9 +397,9 @@ Verify a message and extract the signer's certificate if successful:

Send encrypted mail using triple DES:

openssl smime -encrypt -in in.txt -from [email protected] \
openssl smime -encrypt -in in.txt -out mail.msg -from [email protected] \
-to someone@somewhere -subject "Encrypted message" \
-des3 user.pem -out mail.msg
-des3 user.pem

Sign and encrypt mail:

Expand Down

0 comments on commit 1d160db

Please sign in to comment.