Asked by:
unable to establish secure connection with the server

Question
-
User-1105778986 posted
hello , i want to change the windows authentication of my app asp.net mvc 4 to forms authentication with active directory . i use this link https://msdn.microsoft.co
m/en-us/library/ff650308.aspx but when i tested it 's disploy :Parser error message : unable to establish secure connection with the server
Source error : An application error occured on yhe server .the current custom error settings for this application prevent the details of the server
how i can resolve the problem please ?
Friday, November 4, 2016 9:04 AM
All replies
-
User753101303 posted
Hi,
Have you tried to check the server event log to see if you have additional details there that could help to better understand the exact problem before trying to solve it. From a search it seems you can use SSL with LDAP. Do you know if this is what your company is using?
Friday, November 4, 2016 10:46 AM -
User-1105778986 posted
Hi , i don't have more informations on the server event log and the company use SSL with LDAP but the problem display always
Friday, November 4, 2016 11:28 AM -
User283571144 posted
Hi amerta,
Hi , i don't have more informations on the server event log and the company use SSL with LDAP but the problem display alwaysAccording to your description, I guess there are something wrong with your webconfig settings.
I suggest you could check you could connect to the server or the domain firstly and check you have a sufficient permissions account in Active Directory.
More details, you could refer to follow link:
http://www.schiffhauer.com/mvc-5-and-active-directory-authentication/
http://samirvaidya.blogspot.sg/2015/03/unable-to-establish-secure-connection.html
Best Regards,
Brando
Monday, November 7, 2016 9:05 AM -
User-1105778986 posted
Hi Brando ZWZ
question please ;
when i can use LDAPS:// in the connectionString ? I can use Ldaps ://......: 636 without any configuartion in the web.config and any configuration on the active directory ? or it's necessary to change the active directory with ssl for to use LDAPS:// ?
Tuesday, November 8, 2016 9:29 AM -
User1283705980 posted
Hi,
I don't think you need to change the active directory with ssl for to use LDAPS.
In my opinion, if you use AD over SSL, you will use Ldaps.
Thursday, November 10, 2016 3:24 PM