-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
feature 🔨A new featureA new feature
Description
A setting in webx.config.json to configure Transport Layer Security using a given server certificate and enable Web X to serve over HTTPS. All clients connection over HTTP will be upgraded to HTTPS automatically.
{
"name": "My todo WebX Project",
"version": "1.0.0",
"description": "An example WebX project.",
"tls": {
"cert": "path/to/cert.pem",
"key": "path/to/key.pem"
},
}cert: Path to the public key certificate file (if null, a self-signed cert will be generated)
-----BEGIN CERTIFICATE-----
MII...
-----END CERTIFICATE-----
key: Path to the private key file (if null, a self-signed key will be generated)
-----BEGIN PRIVATE KEY-----
MII...
-----END PRIVATE KEY-----
These files can be located in /etc/letsencrypt/live/example.com if generated with:
sudo certbot certonly --standalone --preferred-challenges http -d example.comThis will result in Web X running with the support for secure TLS connections.
+--- WebX -------------------
| Project: My todo WebX Project
| Mode: development
| TLS: enabled
...
+----------------------------Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feature 🔨A new featureA new feature