Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

https? cordova run browser #89

Closed
jviure opened this issue Mar 6, 2020 · 2 comments
Closed

https? cordova run browser #89

jviure opened this issue Mar 6, 2020 · 2 comments

Comments

@jviure
Copy link

jviure commented Mar 6, 2020

Hi! sorry if my question is stupid BUT, I've an api where I've to acces through ssl, it's possible to launch the server under ssl? like https://localhost:8000

Thanks!

@breautek
Copy link
Contributor

Short answer is no, cordova doesn't support serving certificates.

I'm not certain on this, but I believe cordova run / cordova serve is intended to be used for development, not for production use. If this is the case, I don't foresee this being added as a feature.

However you can run a reverse proxy server using NGINX or Apache that serves SSL certificates, then you proxy_pass to the cordova server.

@timbru31
Copy link
Member

timbru31 commented Dec 2, 2020

Closing this issue as Norman has answered the question 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants