New Install - Panel Error - SSL_ERROR_RX_RECORD_TOO_LONG

Discussion in 'Installation/Configuration' started by HappierTimesAhead, Mar 8, 2022.

  1. Hi,

    I am having an issue with a fairly new (last seven days) server: -

    Debian 11
    All services installed -- including NGINX

    A couple of websites installed and they are all working fine.

    Panel on port 8080 has been working all OK for the last week. However I am now getting: -
    when trying to access the panel.

    I have tried to
    Code: --force
    and answered yes to
    Create new ISPConfig SSL certificate (yes,no) [no]: == YES
    Still no joy.

    Could anyone help me out please?

    Many thanks and kind regards

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Double check that the URL in the browser starts with https:// and not http://
    HappierTimesAhead likes this.
  3. Just for completeness here are my selections when running the update: -
    Code: --force
    Shall the script create a ISPConfig backup in /var/backup/ now? (yes,no) [yes] == YES
    Reconfigure Permissions in master database? (yes,no) [no]: == NO
    Reconfigure Services? (yes,no,selected) [yes]: == YES
    ISPConfig Port [8080]: == 8080
    Create new ISPConfig SSL certificate (yes,no) [no]: == YES
    Symlink ISPConfig SSL certs to Postfix? (y,n) [y]: == YES
    Symlink ISPConfig SSL certs to Pure-FTPd? Creating dhparam file may take some time. (y,n) [y]: == YES
    Reconfigure Crontab? (yes,no) [yes]: == YES
    Many thanks and kind regards to all

  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please try if you are able to connect with http://
    HappierTimesAhead likes this.
  5. If I try and connect with http:// it takes me to the first website and shows https://**************.com which is a live site?
    http://panel..**************.com:8080/ >> https://**************.com
  6. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    HappierTimesAhead likes this.
  7. @Taleman Hi, thanks for the advice.

    The issue is I cannot get to the Panel to check the IP's of the other sites as I cannot access it!

    But you got me thinking...

    I've just check another dev server where I did a clean install yesterday using the auto-install script and checking System >> Server Config I see that the IP Address: field is set to

    As I was reading the Perfect Server Automated ISPConfig 3 Installation on Debian 10 - 11 and Ubuntu 20.04 I remember thinking that in nano /etc/hosts it was odd to have instead of the real ip address. I have just re-read the guide again and can see it's a bit ambiguous TBH. It really should say, for idiots like me "Change to your own IP Address" :)

    So, as I cannot access the panel how can I change the server IP address in the database to get the panel working?

    Once again thanks for pointing me in the right direct (I think).

    Kind regards

  8. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Do not change that.
    Instead if /etc/hosts -file is wrong, login as root on terminal and change the file.
    HappierTimesAhead likes this.
  9. Thanks @Taleman - have done that but still cannot connect to the panel? Same error.

    Should I run --force again do you think?
  10. Just tried running --force and got the following. Is answering this with NO the correct thing to do?
    Checking / creating certificate for main.*************.com
    Using certificate path /root/*************.com
    Server's public ip(s) ( not found in A/AAAA records for main.*************.com:
    Ignore DNS check and continue to request certificate? (y,n) [n]:
    It's just that I don't want to break the site as currently there is about 12k people using it!

    Many thanks

  11. till

    till Super Moderator Staff Member ISPConfig Developer

    Does main.*************.com exists in DNS and does it point with a DNS A-Record to the (external) IP address of the server? If not, then you can't get a Let's Encrypt SSL cert for that server as let#s Encrypt tries to connect from their server (which are in the public internet) to your server to fetch a specific URL that created, if it can't reach that URL from the internet, no let#s encrypt certificate will get issued.
    HappierTimesAhead likes this.
  12. @till Yes DNS works all OK and points with an A-Record to main.*************.com.

    Thank you

    Last edited: Mar 8, 2022
  13. Hi all,

    I made the necessary changes to /etc/hosts yesterday and of course still the original errors.

    The client manages the DNS via Cloudflare and assures me all is well. Thinking about it it must be OK as we could access the panel from all locations over the past week.

    My question is if I run --force will I cause problems with the live sites?

    Many thanks for all the help


  14. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    The installer does not change any certificates for sites, it will only request a certificate for the server's own hostname.
    HappierTimesAhead likes this.
  15. till

    till Super Moderator Staff Member ISPConfig Developer

    Does he just use the Cloudflare DNS, or does he also use other Cloudflare features? You can't get a Let's Encrypt cert when you are behind Cloudflare proxy. Using just Cloudflare DNS is fine though.

    An ISPConfig update never changes hosted websites.
    HappierTimesAhead likes this.
  16. @Jesse Norell and @till Many thanks for your kind help - I appreciate it very much.

    The main issue was indeed Cloudflare had a proxy set for the panel. I turned that off (just the panel) and all is OK now :)

    As always many thanks to all the team for your kind help and support.

    Have a great day

    till likes this.

Share This Page