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
Solved

Need help with Apache SSL configuration

Posted on 2015-01-30
2
117 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 63

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: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying 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

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…
To properly understand GitHub, let’s divide it into two words ‘Git’ and ‘Hub’. Git is basically a ‘Distribution Version Control’ (DVC) and ‘Source Code Management’ (SCM) system widely used by software programmers while Hub means the efficient centre…
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
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…

809 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