Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

How to add WinRMCertificate to existing VM

$
0
0

Hi,

don't know how it happened but i lost the WinRMCertificate in the AzureVM Config. So if i run
get-azurevm -Name <vmname> -servicename <servicename> | select expandproperty vm

the line with the DefaultWinRMCertificateThumbrint is empty. The HTTPS Listener is configured, the endpoint is configured. the self-signed certificate is in the local store.

But i can't get it to the azurevm property?! Therefore it's not possible to establish a remote PS session.

How can i add the certificate to the azurevm property again? (the other VMs have the certificate added to the property fine)

thanks!


Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>