Security

Reply
MVP

Facebook Social Login Certificate error

Hi all,

 

I've been trying to implement social logins into our guest portal but am currently unsuccessful with facebook. When clicking the button, I get the typical google redirect error about HSTS. I checked the connection and it says that I have a certificate error:  (net::ERR_CERT_COMMON_NAME_INVALID).

 

I'm using a wildcard certificate for captive portal on the controller and replaced the securelogin.arubanetworks.com url in clearpass guest portal with the dns name for the controller. Google accepts this without problem but facebook doesn't seem to work. Any ideas?

 

Kind regards,

 

jcelis

Guru Elite

Re: Facebook Social Login Certificate error

Do you have the necessary Facebook names whitelisted?

Tim Cappalli | Aruba Security TME
@timcappalli | timcappalli.me | ACMX #367 / ACCX #480
MVP

Re: Facebook Social Login Certificate error

Yes, currently have quite a lot configured for facebook.

 

including:

graph.facebook.com

api-read.facebook.com

api-video.facebook.com

fbstatic-a.akamaihd.net

fbcdn-profile-a.akamaihd.net

fbexternal-a.akamaihd.net

facebook.com

 

Kind regards,

 

jcelis

Guru Elite

Re: Facebook Social Login Certificate error

You should only need these:

 

netdestination CPG-SOCIAL_FACEBOOK
  name *.facebook.com
  name *.facebook.net
  name *.fbcdn.net
  name *.fbstatic-a.akamaihd.net
!

Tim Cappalli | Aruba Security TME
@timcappalli | timcappalli.me | ACMX #367 / ACCX #480
MVP

Re: Facebook Social Login Certificate error

Managed to test now. The missing *.facebook.net was apparently a really important one :)

 

Thanks!!!!

Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: