Solved

Need help with Apache SSL configuration

Posted on 2015-01-30
2
121 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 64

Accepted Solution

by:
btan earned 500 total points
ID: 40580935
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 7

Author Closing Comment

by:Raghav
ID: 40581470
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The task of choosing a web design company to build a website for your business should never be taken in a light manner. Provided the fact that your website will act as a representative to your business and will be responsible for imposing an online …
Online collaboration is quickly becoming embedded in the workplace, and its benefits are tangible. See what the current landscape looks like and what the future holds for collaboration tools and the future of work.
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 selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

632 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