How to easily create self signed SSL certificate for testing purposes?
You can do this via openssl:
Install openssl package (if you are using Windows, download binaries here).
Generate private key: openssl genrsa 2048 > private.pem
Generate the self signed certificate: openssl req -x509 -days 1000 -new -key private.pem -out public.pem
If needed, create PFX: openssl pkcs12 -export -in public.pem -inkey private.pem -out mycert.pfx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With