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

    Certificate Error When Opening Outlook

    Scheduled Pinned Locked Moved General pfSense Questions
    30 Posts 4 Posters 5.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.
    • M
      muswellhillbilly
      last edited by

      Feel free to give answers of more than one word at a time. We could go on like this forever unless you give a better idea of what your network is like.

      1 Reply Last reply Reply Quote 0
      • I
        Injection_Mold
        last edited by

        @muswellhillbilly:

        Feel free to give answers of more than one word at a time. We could go on like this forever unless you give a better idea of what your network is like.

        I understand. I don't want to give irrelevant information and I don't really know what is causing this so I am not sure what info to give you. I apologize. What kind of information would you like to have?

        I have a new PFSense firewall. I have Cisco APs and a Cisco controller.  When users are connected via the wired LAN they get no cert error. When they connect to the WiFi (same LAN) they get the cert issue. Not sure if this is just a DNS issue or if I have something configured wrong on the Firewall. DNS and DHCP are handled by my DC.

        1 Reply Last reply Reply Quote 0
        • V
          viragomann
          last edited by

          @Injection_Mold:

          Not sure if this is just a DNS issue or if I have something configured wrong on the Firewall. DNS and DHCP are handled by my DC.

          So do a NS lookup once on WiFi and once on LAN and copare the responds.

          1 Reply Last reply Reply Quote 0
          • M
            muswellhillbilly
            last edited by

            Are you saying your LAN and wifi clients are using the same DHCP and DNS servers? From the look of it, I'd say not - if your LAN clients are seeing the correct name for the certificate but your wifi users aren't then it's very likely they're getting different information. Have you checked a LAN client's DNS information against the same info for one of your wifi users?

            Edit: I see viragomann has already posted this idea while I was typing.

            1 Reply Last reply Reply Quote 0
            • I
              Injection_Mold
              last edited by

              @muswellhillbilly:

              Are you saying your LAN and wifi clients are using the same DHCP and DNS servers? From the look of it, I'd say not - if your LAN clients are seeing the correct name for the certificate but your wifi users aren't then it's very likely they're getting different information. Have you checked a LAN client's DNS information against the same info for one of your wifi users?

              Edit: I see viragomann has already posted this idea while I was typing.

              Ok, not sure if this has any relevance to this issue but on the wired LAN all info matches the WiFi except DHCP server. For some reason DHCP says, 1.1.1.1, when on the WiFi. It has correct DHCP ip when on the wired.

              1 Reply Last reply Reply Quote 0
              • V
                viragomann
                last edited by

                So I presume your WiFi device isn't directly connected to pfSense, it's rather connected to an AP or a wireless range extender which runs its own DHCP?
                ::)

                You may be able to configure the DHCP server to provide the correct DNS servers.

                1 Reply Last reply Reply Quote 0
                • I
                  Injection_Mold
                  last edited by

                  @viragomann:

                  So I presume your WiFi device isn't directly connected to pfSense, it's rather connected to an AP or a wireless range extender which runs its own DHCP?
                  ::)

                  You may be able to configure the DHCP server to provide the correct DNS servers.

                  The APs report to the controller. The controller is directly connected to the main switch with a LAN ip. I am not using the controller for DHCP. Only the DC for DHCP.

                  1 Reply Last reply Reply Quote 0
                  • V
                    viragomann
                    last edited by

                    And you also get different DNS servers when you are on WiFi and on wired?
                    Have you compared nslookups for your Exchange on both nets yet?

                    If there are simple APs in default mode, they should forward DHCP requests to a DHCP server, presume this is pfSense.

                    1 Reply Last reply Reply Quote 0
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator
                      last edited by

                      he is tunneling traffic back to the controllers it sounds like to me..  And he most likely has a captive portal setup on his wlc..  And cert error is what he is getting form that not his exchange cert..

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                      1 Reply Last reply Reply Quote 0
                      • I
                        Injection_Mold
                        last edited by

                        @viragomann:

                        And you also get different DNS servers when you are on WiFi and on wired?
                        Have you compared nslookups for your Exchange on both nets yet?

                        If there are simple APs in default mode, they should forward DHCP requests to a DHCP server, presume this is pfSense.

                        All other info was correct except DHCP. So I started digging through my Cisco wireless controller and found that DHCP proxy mode was set to global on my WiFi. (After reading some Cisco documentation, apparently this is set to DHCP proxy mode by default). I disabled that and now my WiFi DHCP server ip is correct. Not sure if this will resolve the cert issue or not. I am going to continue watching this closely and see if the issue comes up again. I am not saying this fixed my Cert error issue but it has resolved the DHCP server ip issue.

                        1 Reply Last reply Reply Quote 0
                        • I
                          Injection_Mold
                          last edited by

                          @johnpoz:

                          he is tunneling traffic back to the controllers it sounds like to me..  And he most likely has a captive portal setup on his wlc..  And cert error is what he is getting form that not his exchange cert..

                          See my latest reply to viragomann. Not sure if that is what was causing the Cert issue. Will watch closely the next couple of days to see if the cert issue comes up again.

                          1 Reply Last reply Reply Quote 0
                          • johnpozJ
                            johnpoz LAYER 8 Global Moderator
                            last edited by

                            why do you have to wait/watch - why not jump on the wifi and test it?

                            An intelligent man is sometimes forced to be drunk to spend time with his fools
                            If you get confused: Listen to the Music Play
                            Please don't Chat/PM me for help, unless mod related
                            SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                            1 Reply Last reply Reply Quote 0
                            • I
                              Injection_Mold
                              last edited by

                              @johnpoz:

                              why do you have to wait/watch - why not jump on the wifi and test it?

                              Ok i just tested. Still getting Cert issue. The cert is issued by pfsense.

                              1 Reply Last reply Reply Quote 0
                              • I
                                Injection_Mold
                                last edited by

                                @johnpoz:

                                why do you have to wait/watch - why not jump on the wifi and test it?

                                So the cert, which is issued by PFSense, is trying to resolve mail.domain.com even though I have my Outlook pointing to server.domain.local. Is this a NAT or Rule issue with pfsense. When I try to tracert mail.domain.com from LAN it resolves to my WAN ip. Should this be resolving to local ip from lan?

                                1 Reply Last reply Reply Quote 0
                                • V
                                  viragomann
                                  last edited by

                                  Outlook doesn't need an MX record to communicate with Exchange.

                                  Maybe the old IP is still in your DNS cache. Try to flush the cash.

                                  1 Reply Last reply Reply Quote 0
                                  • I
                                    Injection_Mold
                                    last edited by

                                    @viragomann:

                                    Outlook doesn't need an MX record to communicate with Exchange.

                                    Maybe the old IP is still in your DNS cache. Try to flush the cash.

                                    I deleted the MX record. back to where we were. I also flushed the DNS cache.

                                    1 Reply Last reply Reply Quote 0
                                    • I
                                      Injection_Mold
                                      last edited by

                                      @viragomann:

                                      Outlook doesn't need an MX record to communicate with Exchange.

                                      Maybe the old IP is still in your DNS cache. Try to flush the cash.

                                      Since deleting the MX record and flushing the cache, tracert is resolving mail.domain.com to server.domain.local now. Not sure if this will hold. Going to test Outlook now.

                                      1 Reply Last reply Reply Quote 0
                                      • I
                                        Injection_Mold
                                        last edited by

                                        @viragomann:

                                        Outlook doesn't need an MX record to communicate with Exchange.

                                        Maybe the old IP is still in your DNS cache. Try to flush the cash.

                                        Still getting the error. Its so random too. It does not come up everytime you open outlook and its not all users. It will jump around. One user will have an issue while another will not. All connected to same network. Any help is much appreciated.

                                        1 Reply Last reply Reply Quote 0
                                        • johnpozJ
                                          johnpoz LAYER 8 Global Moderator
                                          last edited by

                                          "tracert is resolving mail.domain.com to server.domain.local now"

                                          Huh??  What is the client using to access outlook.. an IP address a fqdn?  Your saying this fqdn resolves to different IPs?

                                          What are you clients using for dns?  Here is the thing its is bad idea to point a client to multiple dns that could resolve things differently..  So for example pointing client to both a local dns and a public dns is BAD idea..  You are never going to be sure which dns a client does or gets a response from.

                                          So if your asking for www.yourlocal.tld, public dns sure and the hell not going to know about that..  So if your clients need to resolve stuff that only resolves locally then only thing they should point to for dns is dns that can resolve that local stuff.

                                          If your saying it pops up here or there sounds like to me you have an issue to where your clients are going..

                                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                                          If you get confused: Listen to the Music Play
                                          Please don't Chat/PM me for help, unless mod related
                                          SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                                          1 Reply Last reply Reply Quote 0
                                          • I
                                            Injection_Mold
                                            last edited by

                                            @johnpoz:

                                            "tracert is resolving mail.domain.com to server.domain.local now"

                                            Huh??  What is the client using to access outlook.. an IP address a fqdn?  Your saying this fqdn resolves to different IPs?

                                            What are you clients using for dns?  Here is the thing its is bad idea to point a client to multiple dns that could resolve things differently..  So for example pointing client to both a local dns and a public dns is BAD idea..  You are never going to be sure which dns a client does or gets a response from.

                                            So if your asking for www.yourlocal.tld, public dns sure and the hell not going to know about that..  So if your clients need to resolve stuff that only resolves locally then only thing they should point to for dns is dns that can resolve that local stuff.

                                            If your saying it pops up here or there sounds like to me you have an issue to where your clients are going..

                                            Outlook is pointing to server.domain.local. Not sure where to begin. What is the first thing I should check?

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