The article is outdated, read updated article about certificate in official documentation of Power BI.
To access your visual through PowerBI you need to add a trusted certificate for localhost. This will allow PowerBI to load the visual assets in your browser without a security warning.
If you are no longer using the PowerBI Custom Visual CLI tools, you should remove the certificate from your system.