Hello there, I’ve been trying to set up https for my website
My domain is: outoften.fr but you can visit my website using api.outoften.fr
I ran the commands listed in the certbot tutorial, sudo certbot certonly --standalone
My web server is (include version): Node js I use a very basic code to create the https server :
const privateKey = fs.readFileSync(’/etc/letsencrypt/live/outoften.fr/privkey.pem’, ‘utf8’);
const certificate = fs.readFileSync(’/etc/letsencrypt/live/outoften.fr/fullchain.pem’, ‘utf8’);
const ca = fs.readFileSync(’/etc/letsencrypt/live/outoften.fr/chain.pem’, ‘utf8’);
const httpsOptions = {
key : privateKey,
cert : certificate,
ca : ca
}
https.createServer(httpsOptions,app).listen(443)
The operating system my web server runs on is (include version): Ubuntu 16.04
My hosting provider, if applicable, is: OVH
I can login to a root shell on my machine (yes or no, or I don’t know): yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): Not sure what this is
When I go to my website it says not secured but it still says certificate are valid.
I used the website provided by certbot to verify how good or bad it is and I got this result https://www.ssllabs.com/ssltest/analyze.html?d=outoften.fr#whyNotTrusted
Thanks in advance for any help