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 not workin for localhost with --https #5045

Open
sseppo opened this issue Oct 10, 2023 · 2 comments · May be fixed by #5083
Open

HTTPS not workin for localhost with --https #5045

sseppo opened this issue Oct 10, 2023 · 2 comments · May be fixed by #5083
Labels

Comments

@sseppo
Copy link

sseppo commented Oct 10, 2023

I found couple of posts about getting https server running in ionic react projects with
ionic serve --https

However that does not work. It still starts the server as http, and manually changing url to https does not help. I have created the certificates using
ionic ssl generate

Also, running
ionic --help

does not show option --https (or --ssl either).

I am using ionic 7.

@ionitron-bot ionitron-bot bot added the triage label Oct 10, 2023
@reslear
Copy link

reslear commented Oct 12, 2023

duplicate #5028

@sseppo
Copy link
Author

sseppo commented Oct 12, 2023

@reslear, thanks for the comment, but is it dublicate or just possibly related? I mean, in the other thread it is trying to run on ios, this tries to run on desktop, not mobile. Also, there it is not using --ssl or --https which is mentioned that should be used in other threads about the subject. And it is for Vite, I have understood that the --https is only for React.

Anyway, it is also related to https so good to have that linked too. I will keep looking into that too. But I think it is not dublicate so good to have them both.

@reslear reslear linked a pull request Mar 15, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants