Skip to content

Support HTTPS in dev environment #24

@simont789

Description

@simont789

Hi,

I've been trying to make dev server support HTTPS, but I can't quite make it happen.

What I did was making app.UseHttpsRedirection(); run in all envrionment, adding https: trueto vue.config.js and it serves as https. The problem is that chrome does not trust the dev-certs generated by asp.net core. I can't tell if it something about linking the certificate info in https: {....}, as I cannot see any similar setup in the official react template. Since Asp.net core 3.0 supports https, a better solution would be automatically uses the very same cert automatically.

Would be great if someone could tell me what I did wrong. Cheers!

Simon

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions