@lahmjs/plugin-basic-ssl
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

@lahmjs/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

// lahm.config.js
import basicSsl from '@lahmjs/plugin-basic-ssl'

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

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @lahmjs/plugin-basic-ssl

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

1.19 MB

Total Files

8

Last publish

Collaborators

  • nkduy