ssl - the remote certificate is invalid according to the validation procedure using imap -


i wrote net 4.5 client application tool using imap require , smtp send command.

now current issue following exception @ 1 client:

"the remote certificate invalid according validation procedure"

i changed code to:

servicepointmanager.servercertificatevalidationcallback = delegate { return true; };

so certificates should accepted.

the server needs ssl.

the same connection information working outlook or thunderbird without errors.

regards

it trust issues missing root ca or intermediate on client/server.

these validation issues can logged (if enable it) capi2 event log. this answer might you.


Comments

Popular posts from this blog

c# - Update a combobox from a presenter (MVP) -

How to understand 2 main() functions after using uftrace to profile the C++ program? -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -