make-https
v1.1.3
Published
Create self signed tls certificates without OpenSSL.
Downloads
3
Readme
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")),
},
},