I have application on my localhost in https. But the certification on localhost is broken.
Below, response header. Problem: MyCookie is not created:
I use Chrome Version 51.0.2704.103 and it is not a problem to set "localhost" as a domain. It was a problem ".localhost" to set and save a cookie.
Explicit setting domain cookie on localhost doesn't work for chrome.
From this:
You can only set domain cookies for registry controlled domains, i.e. something ending in .com or so, but not IPs or intranet hostnames like localhost
Try to set
cookie_domain = ""
By this the cookie can be created and will work.
I've tried it and it was working fine.
I guess the easiest workaround for this is to add an entry to the hosts file, like
127.0.0.1 localhost.com
and then calling http://localhost.com/ instead of just localhost.
but having said that, this restriction is ridiculous IMO.