My system is Linux Mint 19.1, Chromium browser.
Having hard time with that red information bar at browser address. I have a web server that has my certificate and a key. The certificate pair generated like so:
openssl req -x509 -newkey rsa:4096 -sha256 -days 3650 -nodes -keyout my_file.key -out my_file.crt \
-subj /CN=AMAZON_ADDRESS.compute.amazonaws.com\
-addext subjectAltName=DNS:AMAZON_ADDRESS.amazonaws.com,IP:xxx.xxx.xxx.xxx
The Chromium browser connects to my https address but still rejects the certificate with:
This server could not prove that it is 18.220.1.136;
its security certificate is not trusted by your computer's operating system.
I have tried numerous suggestions found on the internet and SO sites.
1) Add the certificate to NSS DB, as found here: https://chromium.googlesource.com/chromium/src/+/HEAD/docs/linux_cert_management.md
certutil -d sql:/home/MYLAP/.pki/nssdb/ -A -t "P,," -n xxx.xxx.xxx.xxx -i my_file.crt
2) Import the certificate with Chromium menu.
3) Add the certificate to my OS trusted certificates by putting it in /usr/share/ca-certificates directory and running update-ca-certificates
The above actions still get me to Chromium browser warning.
My question is, how to properly generate certificate pair and add it to the browser trust chain?
Chromiumand theOS. – user14063792468 Jul 17 '19 at 10:45