File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -10,21 +10,22 @@ Run `$ vendor/bin/openssl help [<command_name>]` to display the usage details fo
10
10
### Generate a private key
11
11
12
12
The default private key file with the name ` private.pem ` will be generated to the current working directory. You can
13
- specify the ` --type ` and ` --bits ` as an option. If you want to keep an existing private key, append the ` --no-override `
14
- option to the command.
13
+ specify the ` --type ` , ` --bits ` and ` --passphrase ` as an option. If you want to keep an existing private key, append the
14
+ ` --no-override ` option to the command.
15
15
16
16
``` bash
17
- $ vendor/bin/openssl openssl:generate-private-key [< output> ]
17
+ $ vendor/bin/openssl openssl:generate-private-key [options] [--] [ < output> ]
18
18
```
19
19
20
20
### Export the public key
21
21
22
22
The default public key file with the name ` public.pem ` will be exported to the current working directory. The private
23
- key is expected to be named ` private.pem ` . It should also be stored in the working directory per default. If you want to
24
- keep an existing public key, append the ` --no-override ` option to the command.
23
+ key is expected to be named ` private.pem ` . It should also be stored in the working directory per default. Use the
24
+ ` --passphrase ` option when the private key was encrypted by a passphrase. If you want to keep an existing public key,
25
+ append the ` --no-override ` option to the command.
25
26
26
27
``` bash
27
- $ vendor/bin/openssl openssl:export-public-key [< input> ] [< output> ]
28
+ $ vendor/bin/openssl openssl:export-public-key [options] [--] [ < input> [< output> ] ]
28
29
` ` `
29
30
30
31
# # Development
You can’t perform that action at this time.
0 commit comments