Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Programmatically import ROOT certificate to "Trusted Root Certification Authorities" in Google Chrome

Que : How to programmatically import ROOT certificate to "Trusted Root Certification Authorities" in Google Chrome via Chrome Extension?

I am developing a Chrome Extension and I want to import Root Certificate in:

chrome://chrome/settings/

Manage Certificates --> Trusted Root Certification Authorities --> Import

Is there any API for Google Chrome Extension ? or javascript code? to achieve this ?

Thanks.

like image 895
Jigar Mehta Avatar asked Sep 05 '25 17:09

Jigar Mehta


1 Answers

I'm not aware of such an alternative in Chrome. But in any case, I doubt it exist as it would be a huge security hole.

Meaning that a malicious extension could silently register expired or non trusted certificates. Thereafter, if the user visits the domain of the certificate, it wouldn't be alerted of the potential dangers of the non-trusted cert.

As usual, it would be great to have such a functionality if your intentions are good, but you just can't take the risk!

like image 152
Patrick M. Avatar answered Sep 07 '25 07:09

Patrick M.