Do you have encrypt set to true or secure set to true in the session config?
Session Cookies not secure..
I've just spun a Spark/Laravel 5.4 site and deployed the alpha to one of my Forge provisioned boxes and used Lets Encrypt for SSL.
I decided to let Mozilla Observatory have at it for security and it came back an "F". It got really dinged on the Session cookies not being secure. Inspecting the cookies with Chrome Developer Tools does indeed show they are not secure.
It also got flagged on some stuff I can do with the server.
However, I'm not a real security geek so any thoughts from the wise on making session cookies secure?
Thanks, Richard
So quick env addition on the https staging site &(& prod).
SESSION_SECURE_COOKIE=true
and voila. Just the HSTS and CSP to fix now :)
Thanks for the help guiding @Cronix
Please or to participate in this conversation.