Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago

pbiviz Certificate not found NET::ERR_CERT_AUTHORITY_INVALID Error

Hello, I am having a lot of problems with pbiviz, I installed the certificate using:

 

pbiviz --install-cert

 

on powershell

but I still get the message 

" warn Local valid certificate not found."

When initializing "pbiviz start" and then getting the message on the browser NET::ERR_CERT_AUTHORITY_INVALID

This results in being unable to visualize the custom visual on the developer environment.

 

I tried:

  • Installing the certificate in diferent routes.
  • rebooting my computer.
  • upgrading to windows pro.
  • reinstalling the certificates.
  • importing the certificates manually.
  • asking chatGPT who replied with ¯\_(ツ)_/¯

Please help.

Or there is an option to visualise the custom visual locally

 

 

 

6 Replies

  • Hi Anonymous ,

     

    Before you start development, you'll need to install node.js and the pbiviz package. Then, when your local environment is set up, you'll need to configure Power BI service for developing a Power BI visual.

    Here is a documnent aboout this:

    Setting up an environment for developing a Power BI visual - Power BI | Microsoft Learn

    Hope it could help you.

     

    Best Regards,

    Jianbo Li

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Adamboer's avatar
    Adamboer
    Icon for Responsive Resident rankResponsive Resident

    Here are some troubleshooting steps you can try:

    1. Make sure you are running the latest version of pbiviz by running the command npm install -g powerbi-visuals-tools@latest in PowerShell.
    2. Run the command pbiviz --clean to remove any previously installed certificates.
    3. Re-run the command pbiviz --install-cert and make sure you see the message "Local certificate successfully installed."
    4. Check if the certificate is listed in the Trusted Root Certification Authorities by going to Start Menu > Run > certmgr.msc > Trusted Root Certification Authorities > Certificates.
    5. If the certificate is not listed, try importing it manually by right-clicking on the .cer file and selecting "Install Certificate."
    6. If the issue still persists, try visualizing the custom visual locally by running the command pbiviz start --no-ssl instead of pbiviz start.

    Hope this helps resolve your issue. Let me know if you have any further questions.

    • Anonymous's avatar
      Anonymous
      Not applicable

      "--clean" is not a valid option for pbiviz, and "--no-ssl" is not a valid option for pbiviz start.

      • jknottUOW's avatar
        jknottUOW
        Frequent Visitor

        Hi Anonymous  - I'm now getting the same error as you all of a sudden, did you end up finding a resolution to the issue?

         

        Like you noted, the "--clean" and "--no-ssl" options are unknown for me too.