Use valid cert for HTTPS in development
See original GitHub issueIs this a bug report?
No. This is a question (for now) or discussion.
Which terms did you search for in User Guide?
HTTPS
Environment
- OS:
Windows 10
node -v
:8.4.0
yarn --version
:0.27.5
/1.0.0
- I haven’t ejected
- Browser: Chrome 62
Steps to Reproduce:
- Create a project
- Run: ‘
set HTTPS=true&&yarn start
’ (ornpm start
) - Open
https://localhost:3000
in the browser
Expected Behavior
Safe and secure HTTPS connection
Actual Behavior
Error message:
Your connection is not private
Main Question:
What I’m doing wrong and how to open secure connection without seeing errors or “unsafe connection warnings”?
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
How to use HTTPS for local development - web.dev
If you open your locally running site in your browser using HTTPS, your browser will check the certificate of your local development server....
Read more >Using HTTPS in Your Development Environment - Auth0
In a production environment, you need a certificate issued by a real Certificate Authority. However, you can be more relaxed in a development...
Read more >How to Create Your Own SSL Certificate Authority for Local ...
So there you have it, how to become your own local certificate authority to sign your local SSL certificates and use HTTPS on...
Read more >How to get HTTPS working on your local development ...
Open Keychain Access on your Mac and go to the Certificates category in your System keychain. Once there, import the rootCA.pem using File...
Read more >HTTPS In Development: A Practical Guide - Marmelab
Why Use HTTPS On a Development Environment? ... How To Generate A Valid Certificate For A Development Environment?
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 FreeTop 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
Top GitHub Comments
I fixed this in very interesting and tricky way:
certmgr.msc
).chrome://flags/#allow-insecure-localhost
flag. - https://goo.gl/VBV6uRAnd it works! Thanks to Samet Karaibryamov
The most interesting is that 1 and 2 can’t fix the security error without 3 and 3 can’t without 1 and 2.
Closing as stale.