ssl - serve ionic3 app with https locally -


is there way configure ionic serve locally using https?
remote host ssl , secure cookies lost when come non-ssl browser.

what i'm doing in app:
1) i’m sending authentication request app ssl server using ionic proxy.
2) server response contain sessionid in secure cookie.
3) i’m sending request suppose have sessionid in requestheader cookie.

in reality last request doesn’t have sessionid in requestheader cookie , that's why 401 ‘unauthorized’. when @ responseheader cookie of first request see following: set-cookie:phpsessid=5583u6dcq803qlm5mnnc79vua4i0hs10htoj1mavskhv0bdg8m31; path=/; secure; httponly

my idea make somehow run locally in secure mode secure cookie passed through. don't know how let ionic serve https.

what easiest way solve problem?

thank you.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -