Control Web Panel

WebPanel => CentOS-WebPanel GUI => Topic started by: Administrator on September 10, 2014, 03:43:27 PM

Title: How to fix Encryption error on login
Post by: Administrator on September 10, 2014, 03:43:27 PM
If you get Encryption error on login using root then try following.

Login as root in shell/ssh
1. try setting new password for root user.
Code: [Select]
passwd

if this does not help then try
2. Check hashing (hashing needs to be md5 or )
Code: [Select]
authconfig --test | grep hashing
if you get following "password hashing algorithm is descrypt" then you need to change hashing type.
Code: [Select]
authconfig --passalgo=md5 --update
then again set new root password
Code: [Select]
passwd

Supported Encryptions are:
MD5: "authconfig --passalgo=md5 --update"
SHA-256: "authconfig --passalgo=sha256 --update"
SHA-512: "authconfig --passalgo=sha512 --update"

Note, all users need to change their passwords in order to generate hashes using new encryption.
Title: Re: How to fix Encryption error on login
Post by: Wizzie on March 15, 2015, 05:03:39 PM
well, i have a similar issue but with the users i've created.
i can login as root but not as user...
Title: Re: How to fix Encryption error on login
Post by: gavinengel on April 09, 2015, 08:01:46 AM
I would prefer to not have to change my password hashing algorithm.  Currently it is set to this, although I'm using Fedora 21.

$ authconfig --test | grep hashing     
password hashing algorithm is sha512

Is there anyway that the algorithm could be automatically discovered and used for the login user?
Title: Re: How to fix Encryption error on login
Post by: Administrator on April 09, 2015, 05:24:28 PM
with the current version no, but is could be added with some newer version.
CWP already has a few ones in auto-detection but probably not all.
Title: Re: How to fix Encryption error on login
Post by: gavinengel on April 10, 2015, 04:05:11 AM
Understood!
Title: Re: How to fix Encryption error on login
Post by: ashleyyoung on April 14, 2015, 07:40:59 PM
Hi

I have tried the steps above, however it's a little different for me - I can login as the root fine, however I cannot login to users accounts.

Please help...
Title: Re: How to fix Encryption error on login
Post by: nothywu on April 16, 2015, 09:55:41 AM
Hi

I have tried the steps above, however it's a little different for me - I can login as the root fine, however I cannot login to users accounts.

Please help...
Hi,

I got exactly the same problem..any fix?

Thanks
Title: Re: How to fix Encryption error on login
Post by: Administrator on April 16, 2015, 10:44:49 AM
if you have followed above instructions then only thing you need to do is to set a new password for a user.
Title: Re: How to fix Encryption error on login
Post by: pixelpadre on July 02, 2015, 09:42:12 PM
Followed the steps exactly and made no difference. V5.5 32bit
Title: Re: How to fix Encryption error on login
Post by: Administrator on July 02, 2015, 09:58:11 PM
you should check on that with your server admin or support, also it would be recommended to use centos 6 64bit system.
Title: Re: How to fix Encryption error on login
Post by: pixelpadre on July 02, 2015, 11:36:43 PM
I just installed centos 6.5 32bit and I still cant get in.  I have to use 32 bit because I only have 512MB ram on my server.
Title: Re: How to fix Encryption error on login
Post by: Administrator on July 03, 2015, 05:13:40 AM
can you contact support so we can check that
http://centos-webpanel.com/contact
Title: Re: How to fix Encryption error on login
Post by: pixelpadre on July 03, 2015, 03:07:42 PM
Sorry about getting back to you late.

I did go ahead and install the centos 6 version with 64bit.  And i can log in. ok.

But i still am having the same problem with all of the versions.  Internal server error 500.  I will post it.
Title: Re: How to fix Encryption error on login
Post by: Administrator on July 03, 2015, 05:36:39 PM
there should be the answer
http://wiki.centos-webpanel.com/500-internal-server-error
Title: Re: How to fix Encryption error on login
Post by: justcurious on March 31, 2017, 07:56:03 PM
I'm getting this error when trying to log in as both root and user when I use the domain url (www.mydomain.com:2030), but when using the IP address (123.123.123.123:2030), I can login with both.

If I browse to www.mydomain.com, I'm getting the HTTP Test Page powered by CWP, so that appears to be working as it should.

I'm using CentOS Linux release 7.3.1611 (Core) with CWP version: 0.9.8.296.

I have another server setup exactly the same (apart from the other is using CWPpro), but I can log in using domain url and ip address.

The hashing on both servers is SHA-512.

Any suggestions, please ?



Title: Re: How to fix Encryption error on login
Post by: tster13 on January 30, 2020, 12:45:13 AM
Make it proper.

Setup dom.mydomain.com as hostname (of course must be A record in DNS also).

CWP will autogenerate SSL certificates using LetsEncrypt.