Quantcast
Channel: Active questions tagged https - Stack Overflow
Viewing all articles
Browse latest Browse all 1854

How to declare in a node app a ionos certificates with plesk?

$
0
0

Certificates are placed in /usr/local/psa/var/certificates/.But their names are crypted. More over, certificates will change every year.So how to do to use them in a node appplication ?

It seems that a node application must be https and that the code must declare the certificates :

    const privateKey = fs.readFileSync('private_key.key');    const certificate = fs.readFileSync('ssl_certificate.cer');    const httpsServer = https.createServer({        key: privateKey,        cert: certificate    }, app);

With Plesk is there an automatic way to do that ? And if the name of the certificates are cryted, how to create links ?


Viewing all articles
Browse latest Browse all 1854

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>