How to add chrome certificate to the list of trusted certificates.

Hi, I’m trying to add a Chrome’s certificate from a Not Secure connection to the list of trusted certificates I have locally.

I’m doing it for development purposes.

For that, I’ve tried

  1. Click “Not Secure” in the address bar.
  2. Click Certificate.
  3. Click Details.
  4. Click Export.

[FONT=inherit]Run:

certutil -d sql:$HOME/.pki/nssdb -A -t "P,," -n {CERT_NAME} -i {CERT_NAME}

Restart Chrome.

It doesn’t work. I’ve checked

$HOME/.pki/nssdb

and the file wasn’t added.

What I’m missing?

*p.s. I new on this whole thing so I might misspelled something. Apologies in advance. Thank you.
*

[/FONT]
[FONT=inherit][LEFT][FONT=Arial]

[/LEFT]
[/FONT]
[/FONT]

How did you check it? Post complete command and its output. The line above certainly does not “check” anything.

and the file wasn’t added.

What does it mean? NSS certificate database is exactly that - database. It does not keep individual files. What file do you mean and how did you check that file was or was not added?

Chrome warns about https unsecure connection if it uses weak encryption.
Possibly you need to allow connection for chosen sites.

https://duckduckgo.com/?q=chrome+not+secure+connection