Forum Discussion
Cannot execute pbiviz --create-cert
- 7 years ago
Hi Magnus,
Try to run the following command:
openssl req -x509 -newkey rsa:4096 -keyout PowerBICustomVisualTest_private.key -out PowerBICustomVisualTest_public.crt -days 365
Pleas let us know whether it helped or not.
We will add this command in our documentation also.
Kind Regards,
Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
[email protected]
Small update....
My machine -> windows 7
Went ahead and got pbiviz version 3 installed, now I am on version 3.0.12.
Trying to execute the command "pbiviz --install-cert" but I am getting another error now "Unhandled promise rejection". My best guess is that there is still some problem with OpenSSL. I did download the latest binary I could find from a OpenSSL related party (https://indy.fulgan.com/). I have added a directory to the path so that the command "openssl" works in the same directory where I am running the pbiviz command.
This is not working by any standard. How can I find out what pbiviz needs from me to install the cert? The error message does not really mean anything to me, it could be anything for all I can tell.
I personally haven't needed to do this as I'm using Win 10, but the old GitHub documentation has some instructions on installing OpenSSL for Windows 7. Does this help at all? Other than that, we might need one of the team to assist...
- v-evelk7 years agoMicrosoft Employee
Hi Magnus,
Try to run the following command:
openssl req -x509 -newkey rsa:4096 -keyout PowerBICustomVisualTest_private.key -out PowerBICustomVisualTest_public.crt -days 365
Pleas let us know whether it helped or not.
We will add this command in our documentation also.
Kind Regards,
Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
[email protected]- Anonymous7 years agoNot applicable
Hi Evgenii
Thank you for the suggestion though I sort of recognized that these problems were not really with the documentation, but rather with me not having upgraded to windows 10, which I have now done, and all the problems have afterwards gove away.
/Magnus