Skip to content

Using HTTPS locally #1487

Open
Open
@xiki808

Description

@xiki808

Can we run the dev server over https?

I created locally signed ssl keys using mkcert, by following this guide: https://web.dev/how-to-use-local-https/

After setting up the cert and key files to my root directory, I added this to my dev server config:

...
  sslKey: 'localhost-key.pem',
  sslCert: 'localhost.pem',
};

I still cannot access my local ( localhost:8000 ) using https protocol. Am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions