Difference between revisions of "Winrm renew tls cert"

From UVOO Tech Wiki
Jump to navigation Jump to search
(Created page with "https://stackoverflow.com/questions/61326087/how-to-renew-port-5986-winrm-certificate")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
https://stackoverflow.com/questions/61326087/how-to-renew-port-5986-winrm-certificate
 
https://stackoverflow.com/questions/61326087/how-to-renew-port-5986-winrm-certificate
 +
 +
https://github.com/Microsoft/vsts-rm-extensions/blob/master/TaskModules/powershell/WinRM/WinRM-Http-Https/ConfigureWinRM.ps1
 +
 +
 +
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

https://github.com/Microsoft/vsts-rm-extensions/blob/master/TaskModules/powershell/WinRM/WinRM-Http-Https/ConfigureWinRM.ps1

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