Solved

Need help with Apache SSL configuration

Posted on 2015-01-30
2
112 Views
Last Modified: 2015-01-31
Hello Experts,

I have installed Owncloud on a server and tried to install GoDaddy Wildcard SSL.

http works just fine but https isn't. When i try to open website using https, browser throws an error that says -

‘ssl_error_rx_record_too_long’

I tried searching for a solution but nothing seems to be working.

I need a Step-by-step guide as available documentation leads to confusion.

I am wondering which file to edit after all, some docs says its httpd.conf, some says its ssl.conf and some says its default and default-ssl.conf. too much confusion.

I am using Apache 2.2 on Ubuntu 12.04 LTS.  Any definite help would be greatly appreciated.

Thank you.

Best Regards
Raghav.
0
Comment
Question by:Raghav
2 Comments
 
LVL 61

Accepted Solution

by:
btan earned 500 total points
Comment Utility
Ref - https://www.digicert.com/ssl-support/apache-fix-common-ssl-errors.htm#SSLRecordLength

a) This error often occurs because SSL traffic is not set up correctly on the server that you are trying to secure. For example, the DNS is not correct in the DNS name on your VirtualHost.
Or
b) A mismatch between the IP address being published for the domain (e.g. in HOSTS file) and the IP address in Apache's httpd-ssl.conf file (e.g. 127.0.0.14 vs. 127.0.0.1). When the browser tried to do an https: type SSL connection, they were trying on port 127.0.0.1:443 instead. Change HOST to match the IP address in .conf
Or
c) This error can also occur if you have a misconfigured proxy that doesn't allow you to do an SSL handshake on port 443 correctly. The way to test this is to try connecting to the site from outside of your network with a few different web browsers and see if you still receive the error. If you do not receive the error the proxy is probably misconfigured.
0
 
LVL 4

Author Closing Comment

by:Raghav
Comment Utility
Thanks a lot. Your pointers proved very helpful.

The problem was in host name mismatch and thus name resolution. I corrected the problem and re-enabled the site. This worked.

Thanks again.

Best Regards
Raghav.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

New Relic: Our company recently started researching several products to figure out what were the best ways for us to increase our web page speed and to quickly identify performance problems that we may be having. One of the products we evaluated wa…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now