I have a ftps server set up. Let’s say the cert CN says serverx.domain.com
However I can also connect to the server if I provide ftp.domain.com as the address.
Since there’s domain mismatch, app won’t allow me to accept the certificate - it just silently fails and says “please check login credentials again”.
The only way to determine what’s wrong is to read the logs which state: “SSL: certificate subject name ‘serverx.domain.com’ does not match target host name ‘ftp.domain.com’”
Instead of just giving a generic error, which is also misleading, you could either give an option to accept the cert or at least inform properly what’s going on.