1 | ###Creating dummy certificates for testing purpose.
|
2 |
|
3 | You will find this helpful while running some vm tests.
|
4 |
|
5 | ### Online Service
|
6 | [Cert-Depot](http://www.cert-depot.com.) - It can create certificates in both unencrypted PEM format, and PFX.
|
7 |
|
8 | ### Openssl
|
9 |
|
10 | * Install openssl package for your operating system from [here](https://www.openssl.org/related/binaries.html)
|
11 |
|
12 | * Generating a private key:
|
13 | ```openssl genrsa 2048 > private.pem```
|
14 |
|
15 | * Generating the self signed certificate:
|
16 | ```openssl req -x509 -new -key private.pem -out public.pem```
|
17 |
|
18 | * If required, creating PFX:
|
19 | ```openssl pkcs12 -export -in public.pem -inkey private.pem -out mycert.pfx```
|
20 |
|
\ | No newline at end of file |