[Solved] Fresh installed Cloud panel: Unable to login
Hello,
first of all, thanks for the effort – specially for the free edition!
I’ve installed Cloudpanel onto a German Server 2012 R2 with a seperate SQL Server 2012 (Licensed), in a German Windows Server 2012 R2 Active Directory forest.
The forest also contains 2 Exchange 2013 Servers in a Database Availabilty Group.
However if I try to login I get the error “Error: Die L?nge der zu entschl?sselnden Daten ist ung?ltig.”, the Logs says the following:
2016-09-08 16:12:57,443 ::: [15] ERROR ::: CloudPanel.UserMapper — Error logging in user Administrator@ad.nightwire.de: System.Security.Cryptography.CryptographicException: Die L?nge der zu entschl?sselnden Daten ist ung?ltig.
?? bei System.Security.Cryptography.CryptoAPITransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount)
?? bei CloudPanel.Base.Security.DataProtection.Decrypt(String cipherString, String key)
?? bei CloudPanel.UserMapper.ValidateUser(String username, String password)
?
My configuration looks like this:
? <Settings>
??? <Database>Data Source=XXXXXX;Initial Catalog=cloudpanel;User Id=cloudpanel;Password=XXXXXX</Database>
??? <CompanyName>XXXXXX</CompanyName>
??? <HostingOU>OU=Hosting,DC=ad,dc=XXXXXX,DC=XXXXXX</HostingOU>
??? <UsersOU>OU=Users,OU=Hosting,DC=ad,dc=XXXXXX,DC=XXXXXX</UsersOU>
??? <PrimaryDC>XXXXXX</PrimaryDC>
??? <Username>XXXXXX\svc_cp</Username>
??? <Password>XXXXXX</Password>
??? <SuperAdmins>”Dom?nen-Admins”</SuperAdmins>
??? <BillingAdmins>”Dom?nen-Admins”</BillingAdmins>
??? <ResellersEnabled>true</ResellersEnabled>
??? <SaltKey>XXXXXX</SaltKey>
? </Settings>
?
Do you have any idea whats wrong? I feel like it’s somehow related to the Domain controller.
Thanks already!
Robin
Robin,
Looking at what you sent… why is the security group inside quotes:
?<SuperAdmins>"Dom?nen-Admins"</SuperAdmins>
The issue was resolved by the user going to the settings page from the server that had CloudPanel installed on. I believe Robin tried to manually enter data into settings.xml but it requires that the password is encrypted so it has to be entered on the settings page within CloudPanel.
That was a trial. It doesn’t work without it either..
I’m assuming you changed the salt key (which you should)… how many digits is it?
I did, tried different lenghes. As well as the preset one. Sadly no success at all.
?
Can you recycle the application pool and attempt to login. After fails email the logs to support@knowmoreit.com
Hey, I believe that my error is related to a .NET Framework Issue.
I’ll try to fix that first, I’ll give a status update afterwards.
Reinstalling .NET Framework didn’t fix it either.
I’ve send the requested logs to your mail address.
Thanks for the fast responses already!
Yeah, exactly that was my problem. Maybe we should extend the KB Article a bit.
- 5 Forums
- 714 Topics
- 3,630 Posts
- 1 Online
- 254 Members