unosquare / passcore

A self-service password management tool for Active Directory
https://unosquare.github.io/passcore/
MIT License
1.04k stars 229 forks source link

The server is not operational, using LDAPS at 636 #669

Open RPDJF opened 2 years ago

RPDJF commented 2 years ago

PassCore Server

Content root path: C:\passcore

Now listening on: http://cptest.society.ch:80/

Now listening on: https://cptest.society.ch:443/

Application started. Press Ctrl+C to shut down.

info: Microsoft.AspNetCore.Hosting.Diagnostics[1]

  Request starting HTTP/2.0 POST https://cptest.society.ch/api/password application/json 129

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]

  Executing endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]

  Route matched with {action = "Post", controller = "Password"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Post(Unosquare.PassCore.Web.Models.ChangePasswordModel) on controller Unosquare.PassCore.Web.Controllers.PasswordController (Unosquare.PassCore.Web).

info: Unosquare.PassCore.PasswordProvider.PasswordChangeProvider[0]

  PerformPasswordChange for user test.jddpcnew@society.ch

warn: Unosquare.PassCore.PasswordProvider.PasswordChangeProvider[0]

  Not using AutomaticContext  dc01.internal.society.ch:636

warn: Unosquare.PassCore.PasswordProvider.PasswordChangeProvider[0]

  The server is not operational.

info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]

  Executing ObjectResult, writing value of type 'Unosquare.PassCore.Web.Models.ApiResult'.

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2]

  Executed action Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web) in 175.3988ms

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]

  Executed endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Hosting.Diagnostics[2]

  Request finished in 263.4488ms 400 application/json; charset=utf-8

Describe the bug Displays "The server is not operational." when using LDAPs at 636. Works fine when using LDAP at 389. We tried biding the server by using ldp.exe in 636 SSL, it works perfectly fine.

Note: If you want to report an issue of passcorepro, please use the proper bug report form at https://store.unosquare.com/passcorepro

To Reproduce Steps to reproduce the behavior:

  1. Define "636" as port in use
  2. LdapSecureSocketLayer to true
  3. LdapStartTls to false
  4. Restart the IIS application
  5. Try to change the password of an user
  6. The webpage displays message "The server is not operational"

Expected behavior We expect that users would be able to change password using LDAPs at 636 Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here. We're using the release 4.2.0 because of the last one spamming LDAP requests.

dontcareaboutmyusername commented 1 year ago

Hi @RPDJF ,

I am facing the same issue. Have you been able to solve this?