make-https

1.1.3 • Public • Published

Create self signed tls certificates without OpenSSL.

install

npm install [-g] make-https

create a cert and key

make-https [npx make-https]

double click keys/cert.crt to install cert

add config to vite.config.js

  server: {
    https: {
     +++  cert: fs.readFileSync(path.join(__dirname, "keys/cert.crt")),
     +++  key: fs.readFileSync(path.join(__dirname, "keys/cert.key")),
    },
  },

Readme

Keywords

none

Package Sidebar

Install

npm i make-https

Weekly Downloads

0

Version

1.1.3

License

ISC

Unpacked Size

2.87 kB

Total Files

4

Last publish

Collaborators

  • easyvue