Close Menu
Browsers reject cookies marked with the Secure attribute over HTTP. If your service handles authentication tokens via cookies, HTTPS is mandatory.
openssl req -x509 -newkey rsa:2048 -nodes -sha256 -keyout localhost.key -out localhost.crt -days 365 -subj "/CN=localhost" https localhost 11501 url
:
Here is how you can set up or manage a feature for a local server on that port: 1. Enable HTTPS for Localhost Browsers reject cookies marked with the Secure attribute
mkcert localhost 127.0.0.1 ::1
Many developers mistakenly try HTTPS when the server only speaks HTTP. https localhost 11501 url