Security

last person joined: yesterday 

Forum to discuss Enterprise security using HPE Aruba Networking NAC solutions (ClearPass), Introspect, VIA, 360 Security Exchange, Extensions, and Policy Enforcement Firewall (PEF).
Expand all | Collapse all

Generated Sponsor Confirmation email - Change the Click here link

This thread has been viewed 4 times
  • 1.  Generated Sponsor Confirmation email - Change the Click here link

    Posted Aug 13, 2013 11:54 AM

    Hi,

     

    We are using the default options for the sponsor email confirmation.

    In the email there is the "Click Here" which brings the sponsor to a page to do the confirmation of the

    guest account.

     

    The link that is generated is based on the "hostname" of the CPPM. Unfortunately, our commercial cert that is loaded in the Apache of the CPPM is registered with a different domain name so when the link is clicked we get the warning about the cert not being valid.

     

    Is there a way that I can modify the auto generated link to use the domain name in our commercial cert and now the hostname of the server?

     

    I noticed under the "Sponsorship Confirmation" section there is the "UI Overrides" option. Is this how I would accomplish it?

     

    Thank you



  • 2.  RE: Generated Sponsor Confirmation email - Change the Click here link
    Best Answer

    Posted Aug 13, 2013 01:47 PM

    The email that is sent to the sponsor for confirmation is a print template.

     

    You can edit this link by going to Configuration » Print Templates » Sponsorship Confirmation » Edit.

     

    The default is as follows:

     

    <a href="{'guest_register_confirm.php'|NwaGetAppUrl:false:$u.require_auth}?{if $u.source}gsr_id={$u.source|rawurlencode}&{/if}token={$u.register_token|rawurlencode}" target="_blank">click here</a> to confirm or reject the request.

     

    You can change the highlighted part to specify a different server name:

     

    <a href="https://my-cppm-server.example.com/guest/guest_register_confirm.php?{if $u.source}gsr_id={$u.source|rawurlencode}&{/if}token={$u.register_token|rawurlencode}" target="_blank">click here</a> to confirm or reject the request.

     

     



  • 3.  RE: Generated Sponsor Confirmation email - Change the Click here link

    Posted Aug 13, 2013 05:10 PM

    @amigodave

    Thank you!

    This was 100% what I needed.

    I didn't realize this was where you went to edit these.

     

    This is geat though. It allowed me to edit the URL and it is now pointing to the correct domain.

     

    Thank you again!

     

    Cheers