-
Notifications
You must be signed in to change notification settings - Fork 228
PassCore using Docker always got Invalid Credentials #671
Comments
I'm not sure, but if I understand the following passage from the Readme correctly, then this means that MS Active Directory is not supported with Linux (and with that docker):
Regards |
For me it works with MS AD with passcore running in docker container. According to the container log, passcore cannot connect to the LDAP server. Maybe you don't have SSL configured for AD? |
Hi @drbogar yes. in fact after other research i had to installed AD Certificate role to enable this in the AD, and making testing using ldp.exe in the AD and now can see certificate works on MS AD, After that i exported the certificate and import from .DER converting into .PEM to our server linux as updating root-ca but maybe must be imported inside the container itself ?? but still getting error. the new one is certificate is rejected. can you provide me your the steps after MS AD are the RootCA created it. maybe I'm misssing something in the middle process. something like, |
Yes, you must install the AD RootCA certificate as a trusted CA.
I hope this helps. |
Hi @drbogar my steps was: connect to MS AD
modify the Dockerfile with your instructions and build but still with error below here is the log
|
I see... 🤔
|
Hi @drbogar sorry by delay, I did that grep and don't show up the certificate... must be appears under /etc/ssl/certs ? |
Dockerfile after last modifications
|
i guess must be add 1 not 0... after docker build when i start the container passcore inside not exist the certificate file inside. |
can you try to copy to /etc/ssl/certs instead of /usr/local... ? |
The certificate should be placed in /usr/local/share/ca-certificates/. The Extract from the
Passcore's Dockerfile creates several temporary images during the build. Each FROM is the start of a new image. To install the RootCA certificate on the final container, you need to insert the two lines I wrote earlier after the last FROM. |
Hi @drbogar I set the line after last FROM, now the certificate was added, but have to set absolute path for the command
in fact now with grep I can see it inside the container, but still getting error rejecting certificate this is weird. I test the certificate with other software and the test show "LDAPS certificates looks good" this is the output certificate
any other idea? are you using the last code here from master branch? here is the actual log
|
if I add this option
seems to works saying passowrd was changed BUT I see in the logs never connected to AD, so I assume this is only for test purpose for validate only the web form because never changed the password and with |
any update? |
PassCore Server
Describe the bug
Hi, thanks for the community free project but i'm still trying to figure out HOW can connect this docker container with Active Directory, I read ALL open issues, to verify the other solutions, I read almost ALL issues closed to implement the combination explained with different versions and appsetings.json. but NOTHING .... not exist any way to can talk with LDAP Active Directory from Docker.
To Reproduce
Steps to reproduce the behavior:
the rest of tags are too old to build now and get more errors
remove this line https://github.com/unosquare/passcore/blob/master/Dockerfile#L15
modify the line https://github.com/unosquare/passcore/blob/master/Dockerfile#L16 without
--no-restore
otherwise NEVER build an image correctlyExpected behavior
Change the password of user
Screenshots
Desktop (please complete the following information):
Additional context
I want to add this info, I made research about LDAP Novell client to check if some special chars how would be parser to set correctly and then review the code and seems ok. so in theory passcore clean very well the special chars but including changing the administrator password to a simple 123abc just for test, the container NEVER connect... always said. Invalid Credentials.
network communication are fine and can check here in both ports 389, and 636 but still research. the password in Active Directory NEVER change using 389 because require secure port so always have to use 636.
i don't know what other things need to do and verify or check to try use this software, we don't use Windows to install an IIS and deploy this.. we need to use docker as microservices.
any help please!? is very frustrating...
appsettings.json
logs from container passcore
The text was updated successfully, but these errors were encountered: