Certificado autofirmado no válido en Chrome y Edge
Los certificados autofirmados predeterminados generados en Windows Server (anteriores a 2022) ya no se consideran válidos por Chrome y Edge. Para obtener más información sobre Chrome, consulte la documentación de Google sobre la política RSAKeyUsageForLocalAnchorsEnabled.
Solución
En Windows Server 2022, puede generar un nuevo certificado autofirmado. En versiones anteriores, puede utilizar el siguiente script de PowerShell para generar un certificado autofirmado válido:
#Create the cert and place it in the personal cert store
$cert = New-SelfSignedCertificate -DnsName $(([System.Net.Dns]::GetHostByName($env:computerName)).HostName) -CertStoreLocation "cert:\LocalMachine\My" -KeyUsage DigitalSignature,CertSign,CRLSign -KeyAlgorithm RSA -KeyLength 2048 -Provider "Microsoft Enhanced RSA and AES Cryptographic Provider" -NotAfter (Get-Date).AddYears(5)AnteriorRegistro del sitio web de IIS
SiguienteError Invalid username or password al iniciar sesión con credenciales de dominio
Última actualización
¿Te fue útil?