c# - Mutual authentication using openssl and .Net -


i using managed openssl wrapper mutual authentication in project. have done till sent client certificate calling .net's authenticateasclient function of sslstream , getting server certificate along 3 chain certificate in callback functions server. don't know server certificate. have 2 questions:

  1. why getting error:14094412:ssl routines:ssl3_read_bytes:sslv3 alert bad certificate error when calling authenticateasclient function if have root ca installed on local machine?

  2. how add server certificate have got in callback function server key store using managed openssl or else need server certificate finish mutual authentication?

can please me complete mutual authentication process using openssl.


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -