OpenSSL tool to create a temp SSL certificate

 


OpenSSL tool is a freeware to create a temp SSL certificate that can be used internally for web servers\Printers.


Url to download the OpenSSL tool.

https://slproweb.com/products/Win32OpenSSL.html


Once you install the OpenSSL Tool on a Windows machine, then you must also set the below path as a system variable to make the software work. 


"Path C:\Program Files\OpenSSL-Win64\bin"



Generate Private key

openssl genrsa -des3 -out oasispntr25.key 2048



Genrate CSR - Certificate Signing request

openssl req -key oasispntr25.key -new -out oasispntr25csr.csr


Create certificate 

openssl x509 -sha256 -signkey oasispntr25.key -in oasispntr25csr.csr -req -days 365 -out oasispntr25.crt


Convert certificate in PFX format.

openssl pkcs12 -inkey oasispntr25.key -in oasispntr25.crt -export -out oasispntr25-PFX.pfx


CN - Cammon Name(FQDN) is most important while generating the CSR.


Comments

Popular posts from this blog

User Account not shwoing in Azure Metaverse - Azure Sync Issues

Could not communicate with the VM agent for snapshot status.

Hidden or corrupted Outlook inbox Rule