Wednesday, August 17, 2022

Create Self Signed Cert Powershell

 $Params = @{
    "DnsName"           = @("quail-vm1.nytis.com")
    "CertStoreLocation" = "Cert:\LocalMachine\My"
    "NotAfter"          = (Get-Date).AddMonths(100)
    "KeyAlgorithm"      = "RSA"
  "KeyLength"         = "2048"
}

New-SelfSignedCertificate @Params


https://www.sslshopper.com/ssl-converter.html