FubarDevelopment / FtpServer

Portable FTP server written in .NET
http://fubardevelopment.github.io/FtpServer/
MIT License
477 stars 163 forks source link

TestFtpServer cannot handle password protected certificates #97

Closed szabolcsvelkeimiservices closed 10 months ago

szabolcsvelkeimiservices commented 4 years ago

samples/TestFtpServer/FtpOptionsExtensions.cs 98th line: var cert = new X509Certificate2(options.Ftps.Certificate); change to: var cert = new X509Certificate2(options.Ftps.Certificate, options.Ftps.Password);