emacs-application-framework
emacs-application-framework copied to clipboard
How to handle my local https site with ERR_CERT_AUTHORITY_INVALID error
Describe the bug When I try to connect my local https server with private cert, "ERR_CERT_AUTHORITY_INVALID" is found and I can not access my local server, but other browsers such as chrome, firefox are working if make the site exception.
could you please let me know how to my site make exception from secure in eaf browser?
Add below code at https://github.com/emacs-eaf/emacs-application-framework/blob/8410cca2de534d9c2f76ef4d0a672b631318b86a/core/webengine.py#L768
def certificateError(self, certificateError):
return True
This patch will fix your problem?
Reference link: https://stackoverflow.com/questions/52867707/get-sslerrors-signal-in-qwebengineview
I have no idea if I've added it right place.
def certificateError(self, certificateError): return True def callback_js(self, result): ''' Callback of JavaScript, call loop.quit to jump code after loop.exec.''' self.result = result self.loop.quit()
Unfortunately, it didn't work.
I haven't idea now :(
Well noted with many thanks
Thank you for your attention 🙂
2023년 1월 28일 (토) 오전 10:05, Andy Stewart @.***>님이 작성:
I haven't idea now :(
— Reply to this email directly, view it on GitHub https://github.com/emacs-eaf/emacs-application-framework/issues/1050#issuecomment-1407235637, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJCCVMEOPK6GCA3W4CNOFNTWURWFRANCNFSM6AAAAAAUHAEVKU . You are receiving this because you authored the thread.Message ID: @.***>