Community-edition: Missing "Trust invalid authority certificates" option.

Created on 2 Sep 2016  路  16Comments  路  Source: ramboxapp/community-edition

TC:

  1. Setup HTTP server with invalid certificate (let's say it is self-signed certificate for local network service).
  2. Place an image resource into the server.
  3. Setup Outlook 365 account in Rambox.
  4. Send and email to this account, in HTML format, add image tag referencing resource from step 2 with https protocol.
  5. Open this email in Outlook 365 via Rambox.
    Error message appears:
The service with the following URL has an invalid authority certification.
<URL>
You have to remove the service and add it again, enabling the "Trust invalid authority certificates" in the Options.

But there is no such option in Add Outlook 365 dialog.

Rambox 0.4.1
Electron 1.3.1
linux x64 4.7.2-040702-generic

enhancement

Most helpful comment

I believe this approach is good as a short-term solution.
But it will limit functionality of Rambox. In my opinion the best way to resolve this would be to provide configuration option either to ignore certificate errors or to add certificate to exceptions like Chrome does, resulting in ability to display images served by servers with self-signed certificates.

All 16 comments

Right, that option is only on the Custom Services.

What if you open that email in Outlook 365 in Chrome? Is showing a message/error/warning?

In Chrome everything is okay, image is displayed, no error messages, nothing related in js console.
Maybe I should also mention that I visited the server that provides the image before, in Chrome, and ignored the problem with this certificate.

Are you sure you don't allow that certificate before?

You are right, I added this certificate to exceptions in Chrome previously.

Can you remove the exception and tell me what Chromes do when wants to load the image?

When certificate is removed from exceptions in Chrome, image is not loaded and there is an error message in JS console:

Failed to load resource: net::ERR_INSECURE_RESPONSE

So what we can do is to prevent showing the error message and just not displaying the image, like Chrome. Do you agree?

I believe this approach is good as a short-term solution.
But it will limit functionality of Rambox. In my opinion the best way to resolve this would be to provide configuration option either to ignore certificate errors or to add certificate to exceptions like Chrome does, resulting in ability to display images served by servers with self-signed certificates.

I run into the same issue but not for images.

I'm using a Cisco soft-phone application, which communicates to an in-browser-app.
The latter is an internal thing with a self-signed certificate. I can access it in Chrome by adding the exception for the cert, but would like to add it as custom service in Rambox too.

@88scythe Did you check the option for "Trust invalid certificate" when you add the Custom Service?

Hi
I did. Only thing I get once I open the configured custom service is a blank page. No errors, no warnings, no nothing. :s

What about opening in Chrome?

@saenzramiro
I'm getting issues with other services with self signed certs not working.

I'm pretty sure the Trust Invalid Certificate option is no longer working

I have come across this issue for the first time since using Rambox. In my case todoist does not fully
load, stating "Certification Warning" in the status bar. Perhaps because of certificate issues with cloudfront.net? When I checked using the developer tools, it states in the "Security" tab that the certificate is valid. However, when I add the resolved URL (*.cloudfront.net) as a seperate service, it states in the "Security" tab the certificate is invalid.

I suspect this may have been caused by updating to 0.5.15. Using Chrome, todoist loads without any error.

Thanks for the quick fix!

I'm gonna close this ticket because seems to be fixed

Was this page helpful?
0 / 5 - 0 ratings