I’d like to use a custom certificate for my Glitch project cause I’m testing a bunch of stuff regarding my actual website, although I’m not able to port forward the 80 or 443 ports, and my VPS is currently offline due to maintenance and won’t be active until Tuesday 1600 +0100. So question is can I run my own SSL certificate on Glitch?
EDIT: I wish to achieve this by using the https
built-in module in Node.js.
// Create a HTTPS Server
const HttpsServer = Https.createServer({
cert: Fs.readFileSync(__dirname + "/../secure/d.crt"),
key: Fs.readFileSync(__dirname + "/../secure/d.key"),
}, App).listen(process.env.PORT_HTTPS, () => console.log(":" + process.env.PORT_HTTPS));