This isn’t a cookie, it’s a certificate warning. There was some problem with looking up the certificate. What it’s supposed to do is warn you about sites where the certificate isn’t to be trusted–which doesn’t mean the site is necessary bad, there are several reasons.
If you weren’t going to Facebook, then the site that you were at is fudging something.