Skip to content

Commit 36a82f6

Browse files
committed
fixed certificate.md
1 parent 97c36d7 commit 36a82f6

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

docs/certificat.md renamed to docs/certificate.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
11

2-
3-
Generate a couple private and public key
2+
Generate a couple private and public key:
43

54
```bash
6-
openssl req -newkey rsa:2018 -nodes -keyout privkey.pem -x509 -days 365 -out public.pem
5+
openssl req -newkey rsa:2048 -nodes -keyout privkey.pem -x509 -days 365 -out public.pem
76
```
87

9-
merge them into a p12 file :
10-
8+
Merge them into a p12 file:
119

1210
```bash
1311
openssl pkcs12 -inkey privkey.pem -in public.pem -export -out server.p12
1412
```
1513

16-
Check your p12 file :
17-
14+
Check your p12 file:
1815

1916
```bash
2017
openssl pkcs12 -in server.p12 -noout -info

0 commit comments

Comments
 (0)