Skip to content

Commit 898d52a

Browse files
Andreas Opferkuchmichael-ciniawsky
Andreas Opferkuch
authored andcommitted
docs(examples/cli/https/readme): add an explanation how to generate certificates in Windows 7 (#1425)
1 parent df30727 commit 898d52a

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

examples/cli/https/README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,20 @@ certificate is only good for 30 days, at which point it'll be regenerated.
88
We highly recommend creating and managing your own certificates. Please see the
99
following resources for doing so:
1010

11-
* (MacOS) https://certsimple.com/blog/localhost-ssl-fix
12-
* (Windows) https://technet.microsoft.com/itpro/powershell/windows/pkiclient/new-selfsignedcertificate
11+
### MacOS
12+
https://certsimple.com/blog/localhost-ssl-fix
13+
14+
### Windows 10
15+
https://technet.microsoft.com/itpro/powershell/windows/pkiclient/new-selfsignedcertificate
16+
17+
### Windows 7
18+
https://msdn.microsoft.com/en-us/library/aa386968.aspx
19+
20+
Example (the .pfx file generated the following way can be used without `--pfx-passphrase`):
21+
```
22+
makecert -r -pe -sky exchange -sv makecert.pvk makecert.cer
23+
pvk2pfx -pvk makecert.pvk -spc makecert.cer -pfx makecert.pfx
24+
```
1325

1426
## Getting Started
1527

0 commit comments

Comments
 (0)