OnCertificateError?

Having problems with building or using the CefSharp .NET binding? Ask your CEF-related questions here. Please ask general usage questions on StackOverflow.

Moderator: amaitland

OnCertificateError?

Postby FelixCat » Tue Jan 11, 2022 11:41 am

In my development environment, I am using a self signed certificate. When I attempt to load a page with https, it displays a blank page. Looking around here, it seems I need to handle "OnCertificateError" in order to warn the user and allow them to proceed. (?)

1) Am I reading this correctly?

2) If yes to above, can someone point me to docs or examples that would explain how to set this up in code?

3) If not accurate, it it in any way possible to use CefSharp with pages using self signed certs?

Thanks!
FelixCat
Techie
 
Posts: 14
Joined: Tue Jan 11, 2022 10:58 am

Re: OnCertificateError?

Postby amaitland » Tue Jan 11, 2022 2:34 pm

OnCertificateError is correct

See https://stackoverflow.com/a/35564187/4583726 for example
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1290
Joined: Wed Jan 14, 2015 2:35 am

Re: OnCertificateError?

Postby FelixCat » Tue Jan 11, 2022 3:11 pm

This is perfect. Thanks!
FelixCat
Techie
 
Posts: 14
Joined: Tue Jan 11, 2022 10:58 am


Return to CefSharp Forum

Who is online

Users browsing this forum: No registered users and 19 guests