Closed wallythewebdev closed 2 years ago
Try it without the 72 - that doesn't look correct
certutil -addstore -f "Root" \wsl$\Ubuntu\home\wally0s.nitro\nitro.crt
Amazing - should have spotted that. Thanks for the quick reply 👊👊👊
From terminal - running as admin:
PS C:\Users\wally> certutil -addstore -f "Root" \\wsl$\Ubuntu\home\wally0s\.nitro\nitro.crt
Root "Trusted Root Certification Authorities"
Signature matches Public Key
Certificate "Caddy Local Authority - 2022 ECC Root" added to store.
CertUtil: -addstore command completed successfully.
I am trying to create a SSL cert using
nitro trust
- I am using WSLThe goal is to be able to use the https://.nitro instead of the http://
Some of the plugins I am using require HTTPS
This produces a message for WSL users:
Running this command ends with an error - and I have not managed to work out how to fix it yet so am asking for help.
Steps to reproduce
run
nitro trust
output:Open terminal as admin and run the above command:
certutil -addstore -f "Root" \\wsl$\Ubuntu\home\wally0s\.nitro\nitro.crt72 <nil>
. output: Error:Running the same command minus the
certutil -addstore -f "Root" \\wsl$\Ubuntu\home\wally0s\.nitro\nitro.crt72
Output:Root "Trusted Root Certification Authorities" DecodeFile returned The system cannot find the file specified. 0x80070002 (WIN32: 2 ERROR_FILE_NOT_FOUND) CertUtil: -addstore command FAILED: 0x80070002 (WIN32: 2 ERROR_FILE_NOT_FOUND) CertUtil: The system cannot find the file specified.
Any help on next steps would be great - Thanks