Closed ankitmhn closed 4 years ago
Got it to work with the following code:
const https = require("https");
const fs = require("fs");
const cors = require("cors");
const app = express();
app.use(cors());
const PORT = 8081;
const server = https.createServer(
{
key: fs.readFileSync("./privkey.pem"),
cert: fs.readFileSync("./cert.pem"),
},
app
);
....
const guacServer = new GuacamoleLite({ server }, guacdOptions, clientOptions);
server.listen(PORT);
Does guacamole-lite have SSL support? Can the doc be updated with sample code for it. Thanks!