Uninstall rootkit certificate

Hello, I was installing bitdefender and got a popup telling me that I need to close my firefox or opera to uninstall the root certificate so it can install it again, I dont really know what that means but it seemed really strange, but I panicked and think I pressed ok. Is this legitimate to the installation process or have I accidently downloaded some malware.

Answers