Security

 View Only
  • 1.  ClearPass Guest captive portal certificate issue with public dns

    Posted Sep 18, 2025 10:32 AM

    Clients on our guest network get pointed to a specific public DNS IP (a service which helps with content filtering). So they don't point to our internal DNS.

    Right now for testing, the captive portal profile points to ClearPass by IP address (because there is no external public DNS record that would resolve to ClearPass's internal IP)

    This works for testing, but when the captive portal pops up on the test laptop, we get an (expected) certificate error. The certificate in place is our *.domain.org wildcard cert. Well, the IP in the address bar obviously doesn't match the wildcard cert.

    I found a few, mostly outdated articles that spoke about this. Was wondering if there is a current best practice or what the going options are today to work around this? Thanks for any input!



    -------------------------------------------


  • 2.  RE: ClearPass Guest captive portal certificate issue with public dns

    Posted Sep 18, 2025 01:46 PM

    Either use an internal DNS server, add an entry to your external DNS, or utilize a firewall or other appliance that can provide a DNS rewrite.



    ------------------------------
    Carson Hulcher, ACEX#110
    ------------------------------



  • 3.  RE: ClearPass Guest captive portal certificate issue with public dns

    Posted Sep 18, 2025 02:05 PM

    Thanks for your input Carson, it is appreciated. To clarify on your 2nd suggestion (add an entry to external DNS)... so adding an external/public DNS entry which resolves to the internal/private IP of our ClearPass server - while not a common network configuration - is a supported configuration in the context of ClearPass Guest and captive portal?

    -------------------------------------------



  • 4.  RE: ClearPass Guest captive portal certificate issue with public dns

    Posted Sep 18, 2025 02:13 PM

    The only thing we care about from a ClearPass standpoint is that the client device is able to resolve the FQDN for the supplied URL, how you go about accomplishing that is entirely up to you, your systems, and whatever restrictions there are.

    Some (most?) public DNS zones don't allow creating an A record that points at a private IP address, so you have to look at what options you have available to work around that, i.e., response rewrite, NAT, etc.



    ------------------------------
    Carson Hulcher, ACEX#110
    ------------------------------



  • 5.  RE: ClearPass Guest captive portal certificate issue with public dns

    Posted Sep 19, 2025 03:20 AM

    Hi.

    I have solved the Problem in the following way:

    Buy or Create a public Webserver Cert eq auth.yourdomain.com that is signed by an public Authority.
    Import Cert on the MDC (Mobility Conductor -> System -> Certificates) as Type ServerCert
    Go to Clearpass Sides -> Weblogin site and take care the Address match the cert (auth.yourdomain.com)

    Check Controller by ssh to controller and run command "sh datapath fqdn" This should show auth.yourdomain.com

    Don't worry about ip addresses, the Controller will take care about this and deliver Clearpass side to the Client with the valid certificate of auth.yourdomain.com.



    ------------------------------
    Peter Blumenau
    ------------------------------



  • 6.  RE: ClearPass Guest captive portal certificate issue with public dns

    Posted Sep 19, 2025 09:07 AM

    What you're showing in this screenshot has nothing to do with the redirect to the captive portal.  That is how you get the captive portal credentials to post to the NAD.



    ------------------------------
    Carson Hulcher, ACEX#110
    ------------------------------



  • 7.  RE: ClearPass Guest captive portal certificate issue with public dns

    Posted Sep 19, 2025 10:02 AM

    I am not controller-based, I am running aos-8 instant. In my web login configuration, in that "address" field, I have "captiveportal-login.mydomain.org" (and my wildcard cert installed on the VC for captive portal is my *.mydomain.org wildcard cert). I believe this is the recommended config in my setup.

    -------------------------------------------



  • 8.  RE: ClearPass Guest captive portal certificate issue with public dns

    Posted Sep 19, 2025 10:14 AM

    You're correct.



    ------------------------------
    Carson Hulcher, ACEX#110
    ------------------------------