Fresh installed Clo…
 
Notifications
Clear all

[Solved] Fresh installed Cloud panel: Unable to login

9 Posts
2 Users
0 Reactions
5,753 Views
0
Topic starter

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

KMI Support 2016-09-08 08:40

Robin,

Looking at what you sent… why is the security group inside quotes:

?<SuperAdmins>"Dom?nen-Admins"</SuperAdmins>
6 Answers
0

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.

0
Topic starter

That was a trial. It doesn’t work without it either..

KMI Support 2016-09-08 08:58

I’m assuming you changed the salt key (which you should)… how many digits is it?

0
Topic starter

I did, tried different lenghes. As well as the preset one. Sadly no success at all.

?

KMI Support 2016-09-08 09:08

Can you recycle the application pool and attempt to login. After fails email the logs to support@knowmoreit.com

0
Topic starter

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.

0
Topic starter

Reinstalling .NET Framework didn’t fix it either.

I’ve send the requested logs to your mail address.

Thanks for the fast responses already!

0
Topic starter

Yeah, exactly that was my problem. Maybe we should extend the KB Article a bit.

Share: