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

Xbox certificate is still invalid after adding #2910

Closed
Kybernesis opened this issue Nov 6, 2023 · 3 comments
Closed

Xbox certificate is still invalid after adding #2910

Kybernesis opened this issue Nov 6, 2023 · 3 comments

Comments

@Kybernesis
Copy link

Hello there,

I am trying to remotely debug a webview2 based xbox application. I can successfully deploy and debug my sample app through Visual Studio. But there is no web devtools available, so that I had tried the following tutorial with no success. My xbox is not avaliable on edge://inspect page.

I've already added my xbox's root certificate to my computer's trusted root authorities.

Any help would be appreciated
regards,
Osman


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

@heloproc
Copy link

heloproc commented Nov 6, 2023

Since you've already added your Xbox's root certificate to your computer's trusted root authorities, there might be another step you need to take. Have you tried checking if the Xbox Developer Mode is enabled on your Xbox? This mode is necessary for remote debugging. You can enable it by going to the "Settings" menu on your Xbox and selecting "Developer mode."

Once Developer Mode is enabled, you should be able to connect to your Xbox for remote debugging.

@Kybernesis
Copy link
Author

Thanks for immediate response.

Yes, I had already enabled Dev mode, otherwise, I could not be able to deploy any app to my Xbox through Visual Studio.
Besides, "Device Portal" is also enabled at "Remote Access Settings" on my Xbox. The IP address is "https://192.168.1.70:11443". I can access the Xbox Device Portal from MS Edge on my laptop.

Here is a screenshot of my simple app, a copy of "webview2_sample_uwp" sample application. Nothing happens when clicking on DevTools icon topright corner.
Screenshot_2023-11-06_17-09-13

Here is my edge://inspect page.
EDGE_INSPECT

Here is my Xbox Device Portal, it is the latest software version I guess. The certificate error is apparent btw.
xboxDevicePortal

@Kybernesis
Copy link
Author

My problem is solved.

I had "reset SSL certificates" from the device portal on my Xbox device. Then downloaded the root certificate to my host pc. Now everything is working without issue.

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

No branches or pull requests

2 participants