Cant confirm cert on custom host with dev domain

Open
#17 3 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript
Domain
devtools, security

Research direction

Start with the Vite command and vite.config.ts configuration shown, then inspect how basicSsl() generates and serves its self-signed certificate for custom hosts. Reproduce the missing confirmation behavior in Chrome and Firefox on Windows 11, compare it with a .ru host, and consider the issue done when the .dev host can be confirmed or the limitation is documented.

Written by the indexing model from the issue text.

Description

OS: Windows 11

vite --https --host any-custom-host.dev --port 443 --mode multi --strictPort

vite.config.ts

export default defineConfig({
  server: { https: true },
  plugins: [vue(), basicSsl()],
  preview: {
    https: true
  }
})

there is no cert confirm button in chrome and firefox

host with ru domain works well

vite-plugin-mkcert works well with .dev domain

Dominant language
TypeScript
Stars
517
Forks
27
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from vitejs/vite-plugin-basic-ssl

All issues in vitejs/vite-plugin-basic-ssl

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.