Error de certificado generado con IIS

Error de certificado IIS con FZ

Error GnuTLS -48: Key usage violation in certificate has been detected

Este es el error que aparece cuando usamos un servidor FTPS creado con IIS y un cliente FileZilla.

Con cliente WinSCP no salta este error.

Se puede crear otro certificado, ya que el creado con IIS no da ninguna opción de configuración.

Por ejemplo, crearlo con la PowerShell.

«This is a problem with the certificate generation of Microsoft IIS (but may also happen if you incorrectly generated a certificate with another method), as it does not allow the certificates to be used for digital signatures»

ftp – FileZilla reporting «GnuTLS error -48: Key usage violation in certificate has been detected» – Super User

Crear un certificado con la PowerShell – Resumen

Tutorial Windows – Crear un certificado autofirmado [ Paso a paso ] (techexpert.tips)

Crear certificado autofirmado.

New-SelfSignedCertificate -DnsName ftp.asir00.net -CertStoreLocation cert:\LocalMachine\My -FriendlyName "MyCert" -NotAfter (Get-Date).AddYears(10) -KeyLength 4096

Exportar certificado.

Export-Certificate -Cert Cert:\LocalMachine\My\xxx[aquí-tu-thumbprint]xxx -FilePath C:\MyPublicCert.cer

Importar certificado.

Import-Certificate -CertStoreLocation Cert:\LocalMachine\AuthRoot -FilePath C:\MyPublicCert.cer

Posteriormente, tendremos que configurar FTP de IIS indicándole que el certificado que queremos utilizar es «MyCert»

Error de certificado generado con IIS

Deja un comentario