Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
bv-nn committed Jul 1, 2021
1 parent d6e584e commit 2f58ef7
Showing 1 changed file with 35 additions and 1 deletion.
36 changes: 35 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,36 @@
# most-used-openssl-commands
# Most used OpenSSL Commands

A list of most used Openssl Commands

## Information

#### Get OpenSSL Version
`openssl version`

## Generating

#### Generate a new private key and public key

Generate private key:

```shellscript
$> openssl genrsa -out private-key.pem 4096
```

Generate encrypted private key with Password:
```shellscript
$> openssl genrsa -aes256 -out private-key.pem 4096`
```

Generate the corresponding public key:
```shellscript
$> openssl rsa -in private-key.pem -pubout -out public-key.pem`
```
#### Generate a new private key and CSR


## Converting


## Validating
openssl req -out CSR.csr -pubkey -new -keyout privateKey.key -config .shareopenssl.cmf

0 comments on commit 2f58ef7

Please sign in to comment.