@vitejs/plugin-basic-ssl
A plugin to generate untrusted certificates which still allows to access the page after proceeding a wall with warning.
Last updated a year ago by patak .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @vitejs/plugin-basic-ssl 
SYNC missed versions from official npm registry.

@vitejs/plugin-basic-ssl npm

A plugin to generate untrusted certificates which still allows to access the page after proceeding a wall with warning.

In most scenarios, it is recommended to generate a secure trusted certificate instead and use it to configure server.https

Usage

// vite.config.js
import basicSsl from '@vitejs/plugin-basic-ssl'

export default {
  plugins: [
    basicSsl({
      /** name of certification */
      name: 'test',
      /** custom trust domains */
      domains: ['*.custom.com'],
      /** optional, days before certificate expires */
      ttlDays: 30,
      /** custom certification directory */
      certDir: '/Users/.../.devServer/cert',
    }),
  ],
}

License

MIT

Current Tags

  • 2.3.0                                ...           latest (18 days ago)

14 Versions

  • 2.3.0                                ...           18 days ago
  • 2.2.0                                ...           a month ago
  • 2.1.4                                ...           3 months ago
  • 2.1.3                                ...           3 months ago
  • 2.1.2                                ...           3 months ago
  • 2.1.0                                ...           9 months ago
  • 2.0.0                                ...           a year ago
  • 1.2.0                                ...           a year ago
  • 1.1.0                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
  • 0.1.2                                ...           4 years ago
  • 0.1.1                                ...           4 years ago
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (0)
None
Dev Dependencies (13)

Copyright 2013 - present © cnpmjs.org | Home |