azure-cli
Version:
Microsoft Azure Cross Platform Command Line tool
20 lines (12 loc) • 649 B
Markdown
You will find this helpful while running some vm tests.
[](http://www.cert-depot.com.) - It can create certificates in both unencrypted PEM format, and PFX.
* Install openssl package for your operating system from [here](https://www.openssl.org/related/binaries.html)
* Generating a private key:
```openssl genrsa 2048 > private.pem```
* Generating the self signed certificate:
```openssl req -x509 -new -key private.pem -out public.pem```
* If required, creating PFX:
```openssl pkcs12 -export -in public.pem -inkey private.pem -out mycert.pfx```