Hi,
I have followed this post successfully: How to Get SSL/HTTPS for Localhost.
Basically we use OpenSSL to generate keys and a self signed certificate, so that we can test localhost via HTTPS.
This nodejs is from the above tutorial.  I ran it on my Ubuntu machine:
const fs = require('fs')
const key = fs.readFileSync('./cert/localhost.decrypted.key')
const cert = fs.readFileSync('./cert/localhost.crt')
const express = require('express')
const app = express()
app.get('/', (req, res, next) => {
  res.status(200).send('Hello world!')
And from my Windows 10 Pro machine, I am able to access https://192.168.0.16:5000.
Where 192.168.0.16 is the IP address of the Ubuntu machine.
- 
Firefox responds with Hello world!no warning.
- 
Chrome, Edge, Opera, Brave and Vivaldi respond with Hello world!but withNot securewarning.
Please help me with the following question. Can we write an actix-web equivalence of the above NodeJs script, please?
-- That is, we would use the same localhost.decrypted.key and localhost.crt files.
Please note, I am not asking for the code. I would just like a confirmation that we can, or can not.
Thank you and best regards,
...behai.