Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"USBIP Test" certficiate not installed or properly located in certificate store #318

Open
LeeHyunTae opened this issue Jul 25, 2022 · 10 comments

Comments

@LeeHyunTae
Copy link

hello.
I was looking for usb over network-open source to be used from window to window system

I found your app by chance

Is the readme.md file still valid for installing a below version...?
PS D:\Git\usbip-win-0.3.6-dev> .\usbip.exe bind -b 1-156

I met a below error when installing usbip as ur guide(readme.md)
usbip: error: "USBIP Test" certficiate not installed or properly located in certificate store
could u check it....?

@lemchen
Copy link

lemchen commented Jul 26, 2022

same issue.

@lemchen
Copy link

lemchen commented Jul 26, 2022

https://docs.microsoft.com/en-us/windows/wsl/connect-usb

this may work, you should try.

@Kogotoro
Copy link

Kogotoro commented Jul 27, 2022

as README.md says:

Install USB/IP test certificate
Install driver/usbip_test.pfx (password: usbip)
Certificate should be installed into
"Trusted Root Certification Authority" in "Local Computer" (not current user) and
"Trusted Publishers" in "Local Computer" (not current user)

as variant using admin console from folder with usbip_test.pfx

CERTUTIL -f -user -p usbip -enterprise -importpfx root "usbip_test.pfx"
CERTUTIL -f -user -p usbip -enterprise -importpfx trustedpublisher "usbip_test.pfx"

@bejaranoo
Copy link

certutil -f -service -p usbip -importpfx Root "usbip_test.pfx"
certutil -f -service -p usbip -importpfx TrustedPublisher "usbip_test.pfx"

@Kogotoro
Copy link

Kogotoro commented Jul 28, 2022

without -enterprise its install it in current user certificate store
-enterprise = loacal computer certificate store (and require admin rights)

maybe its ok only for user... depend on how program search for it.

@bejaranoo
Copy link

bejaranoo commented Jul 28, 2022

image
I've tested the command, and it install also on local machine you can check each store with Win + R, certlm.msc or certmgr.msc

certutil -f -service -p usbip -importpfx Root "usbip_test.pfx"
certutil -f -service -p usbip -importpfx TrustedPublisher "usbip_test.pfx"

These are the flags explained
image
Source: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/certutil

@Kogotoro
Copy link

ok.. my bad, thx for clarification =)

@Kogotoro
Copy link

Kogotoro commented Jul 28, 2022

off top
mm...
http://certificate.fyicenter.com/685_Microsoft_CertUtil_Microsoft_certutil_-user_Certificate_St.html

no options
"HKEY_LOCAL_MACHINE\Software\Microsoft\SystemCertificates"

option: -service
"HKEY_LOCAL_MACHINE\Software\Microsoft\Cryptography\Services \ServiceName\SystemCertificates"

what will be difference?
__
upd:
manual install in to "Local Computer" (double click wizard...) put it into:
"HKEY_LOCAL_MACHINE\Software\Microsoft\SystemCertificates"

and
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\Services"
empty

then

certutil -f -p usbip -importpfx Root "usbip_test.pfx"
certutil -f -p usbip -importpfx TrustedPublisher "usbip_test.pfx"

should be enough?

@elvis-sun
Copy link

my

@Kogotoro

ok.. my bad, thx for clarification =)

@Kogotoro "usbip.exe bind" is ok now?

@LAIhy
Copy link

LAIhy commented Apr 16, 2024

CERTUTIL -f -user -p usbip -enterprise -importpfx root "usbip_test.pfx"
CERTUTIL -f -user -p usbip -enterprise -importpfx trustedpublisher "usbip_test.pfx"

I use these two CMD, problem solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants