Skip to content

Instantly share code, notes, and snippets.

@Vexcited
Created July 10, 2024 15:21
Show Gist options
  • Save Vexcited/977d7a71aab3f5082f476bdb9e7c1248 to your computer and use it in GitHub Desktop.
Save Vexcited/977d7a71aab3f5082f476bdb9e7c1248 to your computer and use it in GitHub Desktop.
Install a local SSL for PRONOTE in a VM using mkcert

HOST machine is my Linux machine
GUEST machine is the Windows virtual machine

  1. Add pronote-vm.dev to /etc/hosts on HOST machine
    To do this, you must get the IP of the GUEST machine
    For me, it was 192.168.243.128. To know this, run ipconfig on the GUEST machine.
  2. Run mkcert -install on the HOST machine
  3. Take rootCA.pem from mkcert
    You can find the location of it by running mkcert -CAROOT
  4. Drag the file to the VM and import it to the system store certutil.exe -addstore -f "Root" 'C:\...\rootCA.pem'
  5. Generate an SSL certificate on HOST machine mkcert -ecdsa -pkcs12 pronote-vm.dev
  6. Give the .p12 to the GUEST and import it from PRONOTE.net
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment