Skip to content

Allow passing SSL Cert/Key when using HTTPS #1226

Closed
@willsoto

Description

@willsoto

What problem does this feature solve?

Allows users to utilize custom SSL certs for HTTPS.

In some cases, it might be necessary to use an SSL certificate for local development.

Moreover, these options are accepted for both webpack-dev-server and the newer webpack-serve:

I think it makes sense to expose these options to users.

Other CLIs have accepted similar PRs:

What does the proposed API look like?

The addition of --key, --cert and potentially --cacert to vue-cli-service serve.

These values would be optional when --https is used, but in order to use --key and --cert, --https would be required. Or we could infer --https from the presence of a cert/key.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions