LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-21-2014, 12:32 PM   #1
pun_Krawk
LQ Newbie
 
Registered: Jan 2014
Location: Los Angeles
Posts: 2

Rep: Reputation: Disabled
Upgrading Squeeze To Wheezy : phpmyadmin = ssl_error_rx_record_too_long


Hi all,

Here is my situation. I have a web app running a Turnkey LAMP (12.1) AMI on Amazon AWS with Debian Squeeze 6.0.7. I would like to upgrade to the latest version of Wheezy (7.3), but I'm running into a problem I can't figure out. I'm not very strong with server administration, so bare with me.

I decided to fire up a default instance and do a clean run-through. I'm following a guide like this. Everything installed with no problems, except for one annoying problem where I had to remove "default-character-set=utf8" from the force_utf.cnf file in order to install mysql-server.

However, now I can't access phpmyadmin at all. When I try to access it, it forces the use of https, and then gives me the following error:

SSL received a record that exceeded the maximum permissible length.
(Error code: ssl_error_rx_record_too_long)

Since this is a default installation/upgrade, I'm not sure what I would have done to cause this. Webmin works fine without problems. Everything I've tried from searching online has failed. Does anyone have any ideas on this? Or can suggest a workaround?

The temporary server address is: https://ec2-54-193-76-29.us-west-1.c...aws.com:12322/

Thanks for any assistance!
 
Old 01-21-2014, 02:22 PM   #2
sag47
Senior Member
 
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
Blog Entries: 36

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
http://ec2-54-193-76-29.us-west-1.co...22/phpmyadmin/

That's because you're using the HTTPS protocol on a site which is only serving the HTTP protocol.

Code:
^_^[sam@stealth:~]$ openssl s_client -connect ec2-54-193-76-29.us-west-1.compute.amazonaws.com:12322 < /dev/null
CONNECTED(00000003)
140083573110432:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:766:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 7 bytes and written 321 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
---
O_O[sam@stealth:~]$
I wouldn't recommend logging in over plain text... Also, webmin and phpmyadmin are usually the first places of a website to be attacked for vulnerabilities (and usually compromise the server).

Last edited by sag47; 01-21-2014 at 02:25 PM.
 
Old 01-21-2014, 04:50 PM   #3
pun_Krawk
LQ Newbie
 
Registered: Jan 2014
Location: Los Angeles
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sag47 View Post
http://ec2-54-193-76-29.us-west-1.co...22/phpmyadmin/

That's because you're using the HTTPS protocol on a site which is only serving the HTTP protocol.

Code:
^_^[sam@stealth:~]$ openssl s_client -connect ec2-54-193-76-29.us-west-1.compute.amazonaws.com:12322 < /dev/null
CONNECTED(00000003)
140083573110432:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:766:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 7 bytes and written 321 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
---
O_O[sam@stealth:~]$
I wouldn't recommend logging in over plain text... Also, webmin and phpmyadmin are usually the first places of a website to be attacked for vulnerabilities (and usually compromise the server).
Thank you! You got me going in the right direction. I followed this guide to get it working. That said, I was unaware of how much got wiped out when upgrading to Wheezy. Perhaps I'm not knowledgeable enough to do this yet with the server my web app is running on.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Install Percona Server 5.6 And phpMyAdmin On Debian 7 Wheezy LXer Syndicated Linux News 0 11-04-2013 05:01 PM
Downgrading From Wheezy to Squeeze resuni Debian 9 07-17-2013 05:18 PM
Problems with Wheezy not in Squeeze bondo Debian 2 07-09-2013 07:48 AM
[SOLVED] Squeeze -> Wheezy: problems with procps Thomas Mueller Debian 2 05-10-2013 06:45 PM
[SOLVED] Upgrading Squeeze to Wheezy: a nightmare! edbarx Debian 17 03-19-2012 04:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration