From e233aec60795f6b1efe825745dde7e786c261fd0 Mon Sep 17 00:00:00 2001 From: Kristaps Fabians Geikins Date: Wed, 4 Dec 2024 12:44:25 +0000 Subject: [PATCH] chore: add extra instructions for straight up windows (#86) --- src/powerbi-visual/README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/powerbi-visual/README.md b/src/powerbi-visual/README.md index 0a05471..583cf1c 100644 --- a/src/powerbi-visual/README.md +++ b/src/powerbi-visual/README.md @@ -83,7 +83,10 @@ You'll need to properly set up the certificate in order to be able to use the ho 1. To ensure proper SSL cert usage 1. Ensure [mkcert](https://github.com/FiloSottile/mkcert) is installed 1. Run `npm run generate-certs` - 1. If you're on WSL2, you'll need to copy over the root CA to the Windows side and install it there as a trusted root CA. Typically its in `~/.local/share/mkcert/rootCA.pem` on WSL2. From bash, `cd` to that folder and then do `explorer.exe .` to open it in Windows Explorer and then copy the pem file to someplace better accessible. Then open `crtmgr` and install it into **Trusted Root Certification Authorities**. "Certificates - Current User" > "Trusted Root Certification Authorities" > "Certificates" > Right Click "All Tasks" > "Import" > "Local Machine" > "Place all certificates in the following store" > "Trusted Root Certification Authorities". You may have to set the cert filter to "All Files" to see the `.pem` file. + 1. If you're on Windows or WSL2, you'll need to copy over the root CA to the Windows side and install it there as a trusted root CA. + 1. WSL2: Typically its in `~/.local/share/mkcert/rootCA.pem` on WSL2. From bash, `cd` to that folder and then do `explorer.exe .` to open it in Windows Explorer and then copy the pem file to someplace better accessible. + 1. Windows: Typically its in `%LOCALAPPDATA%\mkcert\`. + 1. Open `crtmgr` and install it into **Trusted Root Certification Authorities**. "Certificates - Current User" > "Trusted Root Certification Authorities" > "Certificates" > Right Click "All Tasks" > "Import" > "Local Machine" > "Place all certificates in the following store" > "Trusted Root Certification Authorities". You may have to set the cert filter to "All Files" to see the `.pem` file. 1. After the cert is installed you may have to restart your browser & dev server 1. Run `npm run dev` 1. PowerBI -> Home > New Report > Paste Or manually enter date > Auto-create > Create