How to serve Ionic app with https?
See original GitHub issueRunning ionic serve
allows to run the app on http://0.0.0.0:8100
.
Trying to access https://0.0.0.0:8100
results in:
SSL connection error
Is there a way to run the app on https?
The reason I need https is because I use Firebase and it requires requests to be made over https. See: http://stackoverflow.com/q/24431924/247243 http://stackoverflow.com/q/24442013/247243
Any ideas?
Issue Analytics
- State:
- Created 9 years ago
- Comments:24 (4 by maintainers)
Top Results From Across the Web
Ionic serve with HTTPS secure connection - Stack Overflow
I would like to know how to run ionic application with HTTPS secure connection. There is a HTTPS URL launched inside ionic application...
Read more >ionic serve
Start a local development server for app dev/testing with ionic serve. ... The dev server can use HTTPS via the --ssl option (experimental)....
Read more >Configure Angular/Ionic apps with open-ssl certificate to run ...
Configure Angular/Ionic apps with open-ssl certificate to run them securely (over https) locally · Creating the key and certificate · Configuring ...
Read more >ionic serve --ssl does not take effect for react based projects ...
A workaround is to serve the site with HTTPS=true npm start , which will run react-scripts start with https. See https://create-react-app.dev/ ...
Read more >Angular & Ionic - How to serve with SSL - YouTube
You do need OpenSSL, and it's expected that you do know that.Simple tutorial for using ionic ssl generate, and how it's setup with...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi guys, This is important because when you are developing a mobile app that uses any html5 feature (geolocation, rotation,…) chrome now requires it to be used from a secured location.
You could use
http-proxy
andconnect
to create a couple https proxy servers, one of which rewrites the livereload port. Just point your browser to https://localhost:8101 instead of 8100.