Azure / azure-quickstart-templates

Azure Quickstart Templates
https://aka.ms/azqst
MIT License
14.02k stars 16.1k forks source link

Generated certificate expired - already reported on #12100 #12108

Open jrfbal opened 2 years ago

jrfbal commented 2 years ago

201-vm-winrm-windows

Issue Details

Repro steps (if necessary, delete otherwise)

Generated self-signed certificate has expired.

On file ConfigureWinRM.ps1, replace: .\makecert -r -pe -n CN=$hostname -b 01/01/2012 -e 01/01/2022 -eku 1.3.6.1.5.5.7.3.1 -ss my -sr localmachine -sky exchange -sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12 -# $serial 2>&1 | Out-Null

with

.\makecert -r -pe -n CN=$hostname -b 01/01/2012 -e 01/01/2032 -eku 1.3.6.1.5.5.7.3.1 -ss my -sr localmachine -sky exchange -sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12 -# $serial 2>&1 | Out-Null

Thank you

xandersherry commented 2 years ago

A PR has been created to resolve this issue: #12101

xandersherry commented 2 years ago

This PR has been merged so you should be able to close this issue @jrfbal.