Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    SSL_ERROR_NO_CYPHER_OVERLAP when trying to connect to webgui

    Scheduled Pinned Locked Moved webGUI
    43 Posts 6 Posters 10.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jimpJ
      jimp Rebel Alliance Developer Netgate
      last edited by jimp

      Then you have something wrong on your setup. The pfSense GUI on 2.4.4 only supports TLS 1.1 and 1.2:

      		ssl_protocols   TLSv1.1 TLSv1.2;
      		ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH";
      
      

      The only time 1.0 is turned on is when Captive Portal is enabled, but even then it is in ADDITION to 1.1 and 1.2 and only for the captive portal web server NOT the GUI.

      Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        Either your connection is being redirected to some other web server (NAT rules/reflection, perhaps) or something else is taking over the GUI port.

        What you are seeing is not coming from pfSense.

        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        GrimsonG 1 Reply Last reply Reply Quote 0
        • B
          BEB Consulting
          last edited by

          Well our PF running version 2.4.4-RELEASE only appears to have SSL/TLS 1.0. I do not see any other version as an option.

          I thought it was our BitDefender Total Security on our laptops, but I also tried via our Windows 2012 and Windows 2008 management VMs, and they both have this issue, so also IE on Windows 2008 is impacted by this issue.

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            Then check closer, because it isn't coming from pfSense.

            Look in /var/etc/nginx-webConfigurator.conf if you don't believe me.

            Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • GrimsonG
              Grimson Banned @jimp
              last edited by

              @jimp said in SSL_ERROR_NO_CYPHER_OVERLAP when trying to connect to webgui:

              Either your connection is being redirected to some other web server (NAT rules/reflection, perhaps) or something else is taking over the GUI port.

              Could also be AV software on the client device or a proxy doing a bad job at MITM.

              B 1 Reply Last reply Reply Quote 0
              • B
                BEB Consulting
                last edited by

                @jimp said in SSL_ERROR_NO_CYPHER_OVERLAP when trying to connect to webgui:

                /var/etc/nginx-webConfigurator.conf

                Just checked /var/etc/nginx-webConfigurator.conf on one of the 4 PF Appliances, it appears that it ONLY set up for HTTP even though we have HTTPS enabled right now, so something is not updating the actual configuration files when changes are made in the GUI. So this might be some other issue, that is adding to this mess.

                server {
                listen 80;
                listen [::]:80;
                However the GUI says HTTPS is enabled on port 443, so I am expecting that it should be listening on port 443, but the file is not reflecting this change, and yes, I did commit the change in the gui, and restart webConfiguratior via SSH.

                Also tried the same process on another Appliance and getting the same thing. So wonder if some update script within the CGI of the gui is broke? maybe?

                We might be in need of a rebuild I am thinking....sigh

                1 Reply Last reply Reply Quote 1
                • jimpJ
                  jimp Rebel Alliance Developer Netgate
                  last edited by

                  Are you sure there isn't another block in there? It will have port 80 declared if you have the redirect on that sends users from 80->443

                  Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                  Need help fast? Netgate Global Support!

                  Do not Chat/PM for help!

                  1 Reply Last reply Reply Quote 0
                  • B
                    BEB Consulting @Grimson
                    last edited by BEB Consulting

                    @grimson

                    We are using two management VMs, which have nothing but Windows Defender (and it is turned OFF, and NO Windows Firewall.) to rule out AV on the laptops. We are still seeing HTTPS issues, but as said with @jimp above, we are also seeing that configurations files are differing than what the GUI is reporting.

                    1 Reply Last reply Reply Quote 1
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      Also if you want to bump it, use options 16 then 11 from the ssh/console shell and that will force it to reconfigure the GUI and PHP.

                      Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                      Need help fast? Netgate Global Support!

                      Do not Chat/PM for help!

                      1 Reply Last reply Reply Quote 0
                      • B
                        BEB Consulting
                        last edited by

                        Just tried that, and I now can confirm that /var/etc/nginx-webConfigurator.conf is not being updated....the files time stamp has not changed since 10/1/2018, and I JUST made changes today via the GUI so the time stamp should have changed if it was touched by a CGI script or manually....so I think something is broke in our appliances.

                        This is the entire file.....nothing with port 443, even though the GUI says port 443 is being used.

                        nginx configuration file

                        pid /var/run/nginx-webConfigurator.pid;

                        user root wheel;
                        worker_processes 2;
                        error_log syslog:server=unix:/var/run/log,facility=local5;

                        events {
                        worker_connections 1024;
                        }

                        http {
                        include /usr/local/etc/nginx/mime.types;
                        default_type application/octet-stream;
                        add_header X-Frame-Options SAMEORIGIN;
                        server_tokens off;

                            sendfile        on;
                        
                            access_log      syslog:server=unix:/var/run/log,facility=local5 combined;
                            keepalive_timeout 75;
                        
                            server {
                                    listen 80;
                                    listen [::]:80;
                        
                                    client_max_body_size 200m;
                        
                                    gzip on;
                                    gzip_types text/plain text/css text/javascript application/x-javascript text/xml application/xml application/xml+rss application/json;
                        
                                    root "/usr/local/www/";
                                    location / {
                                            index  index.php index.html index.htm;
                                    }
                                    location ~ \.inc$ {
                                            deny all;
                                            return 403;
                                    }
                                    location ~ \.php$ {
                                            try_files $uri =404; #  This line closes a potential security hole
                                            # ensuring users can't execute uploaded files
                                            # see: http://forum.nginx.org/read.php?2,88845,page=3
                                            fastcgi_pass   unix:/var/run/php-fpm.socket;
                                            fastcgi_index  index.php;
                                            fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
                                            # Fix httpoxy - https://httpoxy.org/#fix-now
                                            fastcgi_param  HTTP_PROXY  "";
                                            fastcgi_read_timeout 180;
                                            include        /usr/local/etc/nginx/fastcgi_params;
                                    }
                                    location ~ (^/status$) {
                                            allow 127.0.0.1;
                                            deny all;
                                            fastcgi_pass   unix:/var/run/php-fpm.socket;
                                            fastcgi_index  index.php;
                                            fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
                                            # Fix httpoxy - https://httpoxy.org/#fix-now
                                            fastcgi_param  HTTP_PROXY  "";
                                            fastcgi_read_timeout 360;
                                            include        /usr/local/etc/nginx/fastcgi_params;
                                    }
                            }
                        

                        }

                        1 Reply Last reply Reply Quote 1
                        • jimpJ
                          jimp Rebel Alliance Developer Netgate
                          last edited by

                          The formatting on that got messed up. Maybe try attaching it as a file.

                          Also, what do you have in your config.xml for the GUI? It would be under <system> and then <webgui>.

                          Would look something like this:

                                          <webgui>
                                                  <protocol>https</protocol>
                                                  <loginautocomplete></loginautocomplete>
                                                  <ssl-certref>5b7777344d771</ssl-certref>
                                                  <dashboardcolumns>2</dashboardcolumns>
                                                  <port></port>
                                                  <max_procs>2</max_procs>
                                                  <nodnsrebindcheck></nodnsrebindcheck>
                                                  <nohttpreferercheck></nohttpreferercheck>
                                                  <authmode>Google Cloud Secure LDAP</authmode>
                                                  <disablehttpredirect></disablehttpredirect>
                                          </webgui>
                          

                          Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                          Need help fast? Netgate Global Support!

                          Do not Chat/PM for help!

                          1 Reply Last reply Reply Quote 0
                          • B
                            BEB Consulting
                            last edited by

                            Thanks all! I think at this point our PF Appliances are so messed up that it is pointless at this point to keep beating a dead horse. I am going to take down our secondary PF Appliances, and rebuild them, see if all works as it should, and if it does swing traffic to the the secondary, then rebuild the primary PF appliances. We only have 4 (2 Primary and 2 Secondary), so it shouldn't take to long, and I have backups of the configurations so that should speed up rebuilding.

                            1 Reply Last reply Reply Quote 0
                            • jimpJ
                              jimp Rebel Alliance Developer Netgate
                              last edited by

                              Well if you throw your hands up in the air when we're finally getting closer to finding out what's wrong, it'll never be fixed, if it does turn out to be a bug.

                              I did find one issue that wouldn't have triggered a restart when toggling some of the checkboxes that need an nginx restart (like the GUI redirect), but it isn't quite what you are hitting.

                              Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                              Need help fast? Netgate Global Support!

                              Do not Chat/PM for help!

                              1 Reply Last reply Reply Quote 1
                              • B
                                BEB Consulting
                                last edited by

                                Can't post our config.xml file as it errors on here as "Detected Spam" and won't post it.

                                1 Reply Last reply Reply Quote 1
                                • jimpJ
                                  jimp Rebel Alliance Developer Netgate
                                  last edited by

                                  I can fix that, just need to spam the thumbs up on your posts so Akismet will pass you through.

                                  Also don't need the whole config.xml just the <webgui></webgui> tags and what's inside.

                                  Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                                  Need help fast? Netgate Global Support!

                                  Do not Chat/PM for help!

                                  1 Reply Last reply Reply Quote 0
                                  • jimpJ
                                    jimp Rebel Alliance Developer Netgate
                                    last edited by

                                    Should be good to post now.

                                    Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                                    Need help fast? Netgate Global Support!

                                    Do not Chat/PM for help!

                                    1 Reply Last reply Reply Quote 0
                                    • jimpJ
                                      jimp Rebel Alliance Developer Netgate
                                      last edited by

                                      Also, FYI, clicking Save on system_advanced_admin.php will not trigger a rewrite of the nginx configuration unless something changed that requires it. For example, changing the web server port, protocol, etc. So opening the page and clicking save won't help, but if you switch the port to something else (say, 4433) it would restart with the new settings, then you can change it back. But doing option 11 from the console should always rewrite the nginx config from the contents of config.xml and then restart the web server.

                                      Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                                      Need help fast? Netgate Global Support!

                                      Do not Chat/PM for help!

                                      1 Reply Last reply Reply Quote 0
                                      • X
                                        xenicle
                                        last edited by

                                        I have changed the port to 4433, switch from http to https and save : the webgui is accessible via https on port 4433, from there I have explicitly set the port to 443 and again : get error SSL_ERROR_NO_CYPHER_OVERLAP.

                                        I am staying on 4433 for now...

                                        jimpJ 1 Reply Last reply Reply Quote 1
                                        • jimpJ
                                          jimp Rebel Alliance Developer Netgate @xenicle
                                          last edited by

                                          @xenicle said in SSL_ERROR_NO_CYPHER_OVERLAP when trying to connect to webgui:

                                          I have changed the port to 4433, switch from http to https and save : the webgui is accessible via https on port 4433, from there I have explicitly set the port to 443 and again : get error SSL_ERROR_NO_CYPHER_OVERLAP.

                                          I am staying on 4433 for now...

                                          You must have port 443 taken over by some other daemon or NAT that isn't the GUI.

                                          Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                                          Need help fast? Netgate Global Support!

                                          Do not Chat/PM for help!

                                          1 Reply Last reply Reply Quote 0
                                          • C
                                            crbon
                                            last edited by

                                            I might have some more insight regarding the issue.

                                            I was playing around in pfsense v2.4.4 and I've somehow ran into the same/similar issue again ๐Ÿ˜…

                                            When I access 192.168.1.1 (pfsense box) over HTTPS I get the SSL_ERROR_NO_CYPHER_OVERLAP error, however when I got to pfsense.localdomain (HTTPS or HTTP - which redirects to HTTPS) it works fine.
                                            Maybe this means the SSL certificate isn't bound to the IP but the domain name only?

                                            Does this mean pfsense was setup incorrectly by the user (e.g. me)? But that doesn't explain why it initially worked ๐Ÿ˜•

                                            0_1542431152952_192.168.1.1.PNG
                                            0_1542431171624_pfsense.localdomain.PNG

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.