Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SSL errors [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
kdvgent
Guru
Guru


Joined: 29 Sep 2004
Posts: 328
Location: Belgium

PostPosted: Sat Jun 03, 2017 6:31 pm    Post subject: SSL errors [SOLVED] Reply with quote

Via a webhosting firm, I am setting up a webserver. The webhosting firm has installed a certificate from Let's Encrypt. I have an "index.html" file in the root of the document directory.

If mydomain is my domain name, the domain name has an alias www.mydomain. There are also two sub-domains, x1.mydomain and x2.mydomain. In each of these subdomains I have installed an index.html file.

If I now, both with chrome and with firefox go to:

  • https://www.mydomain shows the website
  • https://x1.mydomain shows the x1 website
  • https://x2.mydomain shows the x2 website

All as could be expected. But

  • https://mydomain gives an error: ERR_SSL_PROTOCOL_ERROR in Chrome, SSL_ERROR_RX_RECORD_TOO_LONG in Firefox
.
I have this on my desktop (gentoo) and on my laptop (funtoo) but not on my Windows computer and not on my Android phone - hence I am afraid it is something gentoo/funtoo specific (linux specific?)

But I have no idea what causes this problem.

I have found nothing like this on the Internet and, any suggestion will be appreciated.

Many thanks in advance,


Last edited by kdvgent on Sun Jun 04, 2017 8:28 am; edited 1 time in total
Back to top
View user's profile Send private message
gerdesj
l33t
l33t


Joined: 29 Sep 2005
Posts: 621
Location: Yeovil, Somerset, UK

PostPosted: Sat Jun 03, 2017 11:58 pm    Post subject: Re: SSL errors Reply with quote

Any use: https://www.namecheap.com/support/knowledgebase/article.aspx/807/2223/firefox-error-code-sslerrorrxrecordtoolong
Back to top
View user's profile Send private message
kdvgent
Guru
Guru


Joined: 29 Sep 2004
Posts: 328
Location: Belgium

PostPosted: Sun Jun 04, 2017 8:31 am    Post subject: Stupid me Reply with quote

Thank you very much for your suggestion. By analyzing the packets, I figured out that the problem was a left-over entry in my /etc/hosts file. mydomain was there still pointing to a local machine on my network ( from an earlier test setup), machine that had port 443 not opened.

Problem solved.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum