How to install trusted certificate from charlesproxy on Chrome Ubuntu 2021

When you use charlesproxy and don't configure charlesproxy's CA as trusted ssl you will get this error in chrome:

That happens because chrome detect that the SSL certificate is being replaced to some self signed CA. To fix this error you need to export your certificate from charlesproxy, and add it to the chrome's "Authorities" tab.



The most important thing is to export the certificate in .CER format, not in .PEM as set by default. Chrome has troubles reading PEM, the only working format is CER.

Then go to the chrome's ssl settings page chrome://settings/certificates and go to the "Authorities" tab:
The default chrome's file browser will not show you .cer files, you need to change the file browser's settings to show all files.
The .cer file will appear and you need to chose it:
Then on the chrome's check "Trust this certificate for identifying websites":
After that, the https error page must be gone because chrome now trusts charlesproxy's CA.

Комментарии

Популярные сообщения из этого блога

DOS атака при помощи Python

Взлом почты mail.ru live.com и yahoo.com

Ведем телеграм канал через питон