Got a really strange issue that I can not seem to resolve. We have a fresh Web 8.5 installation that is HTTPS and LDAP enabled using the setup scripts, but Core service when trying to install DXA 1.6 is constantly failing with a Message Security verification failed error according to Svc trace logs.
Get-CoreServiceClient : Exception calling "GetCurrentUser" with "0" argument(s): "An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail." At C:\Users\mherbert\Downloads\SDL.DXA.NET.1.6\cms\cms-import.ps1:132 char:22 + $coreServiceClient = Get-CoreServiceClient "Service" + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Get-CoreServiceClient], MethodInvocationException + FullyQualifiedErrorId : MessageSecurityException,Get-CoreServiceClient
This was configured using the SetupLDAP and SetupHTTPS scripts so unsure what else could be missing or incorrect. Web 8.5 itself has a Self signed certificate on the server, and a load balancer with a different certifcate that passes all traffic back to the server over HTTPS.
Further to that, I do see the below errors in event viewer as well
Invalid user name or password. Please verify your user name or password. The user name was username.
User: NT AUTHORITY\NETWORK SERVICE
StackTrace Information Details: at Tridion.Security.DirectoryService.AuthenticateUser(String userName, String password) at Tridion.Security.Web.LdapAuthenticationHttpModule.OnAuthenticateRequest(Object sender, EventArgs e)