I have been working to making a Bot to use SSL certificates for encryption on traffic to and from the BOT when communicating to its clients. I have so far generated certs/ CSR using OpenSSL , but I can also find few utilities in Powershell which do a very much similar job .
The Powershell cmdlets below are useful for handling such jobs like Generating CSRs, private keys, etc. A simple help *Certificate reveals a load of cmdlets available in PKI Module. In case you don’t see these list of cmdlets, you may need to import PKI module by running below command :
PS > Import-Module PKI
We are going to use mainly below commands
New-SelfSignedCertificate Export-PfxCertificate Export-Certificate
- New-selfSignedCertificate – would generate a Self-signed …