Difference between revisions of "Winrm renew tls cert"
Jump to navigation
Jump to search
| Line 5: | Line 5: | ||
ConfigureWinRM.ps1 servername https | ConfigureWinRM.ps1 servername https | ||
| + | |||
| + | |||
| + | ``` | ||
| + | Get-ChildItem Cert:\ -Recurse | ||
| + | $mypwd = ConvertTo-SecureString -String "foo" -Force –AsPlainText | ||
| + | Import-PfxCertificate –FilePath .\NA26-P-VenSQL01.extendhealth.com.pfx cert:\localMachine\my -Password $mypwd | ||
| + | ``` | ||
| + | https://learn.microsoft.com/en-us/troubleshoot/windows-client/system-management-components/configure-winrm-for-https | ||
Latest revision as of 21:31, 22 August 2023
https://stackoverflow.com/questions/61326087/how-to-renew-port-5986-winrm-certificate
ConfigureWinRM.ps1 servername https
Get-ChildItem Cert:\ -Recurse $mypwd = ConvertTo-SecureString -String "foo" -Force –AsPlainText Import-PfxCertificate –FilePath .\NA26-P-VenSQL01.extendhealth.com.pfx cert:\localMachine\my -Password $mypwd