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

Send to Octoprint error "0x80092012" when using SSL #3120

Closed
skint007 opened this issue Nov 1, 2019 · 11 comments
Closed

Send to Octoprint error "0x80092012" when using SSL #3120

skint007 opened this issue Nov 1, 2019 · 11 comments

Comments

@skint007
Copy link

skint007 commented Nov 1, 2019

Version

2.1.0+win64

Operating system type + version

Windows 10 Pro 1903 x64

3D printer brand / version + firmware version (if known)

Prusa MK3 / FW 3.8.0

Behavior

I recently started using SSL cert for my octoprint instance and now am getting an error when trying to send a print to octoprint or "test" the connection.
I originally had the IP in there, but have tried putting the DNS to my octoprint in there, along with adding "HTTPS://" in front of both the IP and DNS. Regardless I still get the same error.
It says to make sure that my custom CA is in my cert store, which it is, chrome and my phone both see the url as a secure site.
I'll also add I don't have any basic authentication setup with the haproxy to achieve ssl

Screenshot:

image

@nordurljosahvida
Copy link
Contributor

+1 here, exact same scenario, client of mine on win10, 2.2.0 stable, we were only able to get the specific error string when running from prusa-slicer-console-exe --sw-renderer --loglevel=9, because gui only output a generic error. already tried disabling crl systemwide [not a good idea anyway] and flagging the custom CA's cert as OCSP skippable.

@bubnikv
Copy link
Collaborator

bubnikv commented Dec 3, 2020

@nordurljosahvida
What error message did you then get on your console?

already tried disabling crl systemwide [not a good idea anyway] and flagging the custom CA's cert as OCSP skippable.
Did that help?

I suppose your certificates are simply invalid.

@nordurljosahvida
Copy link
Contributor

Thanks for looking into this, I don't have the exact terminal output here but the same definition as in the gui shot posted above [the revocation function etc...]. Don't have exact error code here but the definition is identical.

The CA certificate I'm using is working on any other os, it's a fully signed and valid CA that itself signed the cert on the pi, windows recognizes it as valid, chrome as well, just not PS, and microsoft's help on this topic doesn't work systemwide.

@bubnikv
Copy link
Collaborator

bubnikv commented Dec 8, 2020

Could you please provide with such a certificate?
I suppose you don't want to share yours, but could you generate one, test that it fails and then provide it to us?

@nordurljosahvida
Copy link
Contributor

This is a cert generated exactly like the non-working one, with a different key of course. It's done by a script so it is functionally identical.
definitelynottherealone.lan.zip

@rtyr
Copy link
Collaborator

rtyr commented Feb 4, 2021

Is this issue still valid? Does it happen with 2.3.0?

@lexitus
Copy link

lexitus commented Feb 4, 2021

Not working for me as of 2.3.0. Using a home-made mkcert CA, imported into the windows cert store.
2021-02-04 17_21_22-Settings

@jasontfox
Copy link

Same problem for me, PrusaSlicer 2.3.0, personal CA for all devices on my network. This cert is recognized by all my machines and my phone as well, but will not work in PrusaSlicer.

image

@bubnikv
Copy link
Collaborator

bubnikv commented Aug 27, 2021

You may try to disable certificate revocation check on Windows with #1781 (comment)

@nordurljosahvida
Copy link
Contributor

will try asap thanks

@bubnikv
Copy link
Collaborator

bubnikv commented Jun 29, 2022

On Windows "Ignore certificate revocation checks" will likely help with self signed SSL certificates being rejected.
The checkbox was implemented in PrusaSlicer 2.4.0.
Closing.

@bubnikv bubnikv closed this as completed Jun 29, 2022
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

6 participants