Enabling SSL
Last updated
mkcert -install> mkcert localhost 127.0.0.1
Created a new certificate valid for the following names ๐
- "localhost"
- "127.0.0.1"
The certificate is at "./localhost+1.pem" and the key at "./localhost+1-key.pem" โ
It will expire on 13 May 2023 ๐module.export = {
// other configuration
ssl: {
enabled: true,
ssl_certificate: './localhost+1.pem',
ssl_certificate_key: './localhost+1-key.pem'
}
}