How to remove Bitdefender root certificate from Firefox/Thunderbird/Chrome

This is a copy/paste from my post on reddit (https://www.reddit.com/r/BitDefender/comments/7bxixp/install_bitdefender_root_certificate_popup/)

How to get rid of Bitdefender Free edition certificate mess in Firefox (Windows 10, Firefox 57.0.2, Bitdefender FREE antivirus)

1- Check if https://unsplash.com is hijacked and certified by BitDefender

2- Uninstall BitDefender Antivirus Free

3- Uninstall BitDefender Agent

3- Reboot Computer

4- Start Firefox Check https://unsplash.com -- Should be certified by GlobalSign now

5- Reinstall Bitdefender Antivirus Free - Do NOT close Firefox when asked, just cancel BitDefender Root certificate installation

6- Let Bitdefender finish its installation.

7- Reload unsplash.com, another popup should appear, and cancel again the Bitdefender certificate installation.

8- From now, your Firefox should be immune to BitDefender certificate (close and restart then reload unsplash.com to be sure).

9- For extra Windows cleanup, remove the Bitdefender certifcate using certificate manager.

10- You can check residual rogue certificates in windows with sigcheck from SysInternals ( 'sigcheck -tv' in a console)

No side effects noticed yet.

Enjoy.