Hello,

On 08/01/2020 16:01, Ahmed Salama via PacketFence-users wrote:
We are running packetfence 9.1 based on E-mail Authentication and everything is going fine, but we are facing an issue that the link sent to guests on there e-mail to activate there access is based on HTTPS which gave them certificate error as we are not using a certificate, kindly need to know how to make the link to be HTTP not HTTPS , and after having a look on the E-mail template I see that the link is read from parameter [% activation_uri %] but I don't know from where I can modify it

From what I see in PF's code [1], https is hard-coded for `activation_uri`. In your situation, you have two solutions:
1. generate a HTTP SSL certificate with Let's Encrypt
2. edit email template in connection profile to replace `activation_uri` by your HTTP URL.

I recommend 1. because you will have other issues if you don't have a correct certificate.

[1] https://github.com/inverse-inc/packetfence/blob/c0b364925ffd695b3a0f9d6757384dc12ecc5667/lib/pf/activation.pm#L493-L497
--
Nicolas Quiniou-Briand
[email protected]  ::  +1.514.447.4918 *140  ::  https://inverse.ca
Inverse inc. :: Leaders behind SOGo (https://sogo.nu), PacketFence (https://packetfence.org) and Fingerbank (http://fingerbank.org)


_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to