mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 05:40:11 +01:00
Use recommended ciphers and typo
* "des3" --> "aes256"
This commit is contained in:
parent
3281387087
commit
dd8378fe19
1 changed files with 2 additions and 2 deletions
|
|
@ -9,7 +9,7 @@ cd /etc/ssl
|
|||
### Create the Certificate Autority (CA)
|
||||
|
||||
Firstly, generate the CA:
|
||||
```openssl genrsa -des3 -out ca.key 4096```
|
||||
```openssl genrsa -aes256 -out ca.key 4096```
|
||||
This asks to enter a passphrase.
|
||||
Next, create the server-side certificate, that will be sent via the TLS server to the client.
|
||||
```openssl req -new -x509 -days 365 -key ca.key -out ca.crt```
|
||||
|
|
@ -18,7 +18,7 @@ You will be asked to answer a few questions.
|
|||
### Create a client certificate
|
||||
|
||||
Create the key like previously:
|
||||
```openssl genresa -des3 -out userA.key 4906```
|
||||
```openssl genrsa -aes256 -out userA.key 4906```
|
||||
Then create a Certificate Signing Request (CSR)
|
||||
```openssl req -new -key userA.key -out userA.csr```
|
||||
A number of questions should be answered also.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue