Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Getting Toggl Desktop to work with local proxy

Indrek V edited this page Jul 20, 2018 · 6 revisions

Please note that this method can make the app open to man-in-the-middle attacks and should only be done if you know what you are doing and are sure that the certificate is valid.Use at your own risk!

When using a local proxy it can be that Toggl Desktop is not working properly as it can't identify the SSL certificate. To fix this issue you can add your local SSL certificate info to the app cert file and everything works as expected.

Windows

Getting the proxy cert file

If you have the proxy cert installed you can export it from the cert manager.

  • open command line (usually by selecting "Run" from start menu
  • type in certmgr.msc
  • Look up your needed cert (there is a "Find Certificates" in the Action menu
  • Export cert (.CER file with base64 encoding)

If the cert is not installed you have to contact the person who set up the proxy and ask them for the cert file.

Copy cert data

Add your local cert info (copy the content of the cert) to the end of cacert.pem file located in the Toggl Desktop app folder.

C:\Users\<username>\AppData\Local\TogglDesktop\cacert.pem

MacOS

Getting the proxy cert file

If you have the proxy cert installed you can export it from the Keymanager. Just open up the Keymanager search for your cert and drag and drop it to where ever you need

Copy cert data

Add your local cert info (copy the content of the cert) to the end of cacert.pem file located in the Toggl Desktop app folder.

/Applications/TogglDesktop.app/Contents/Resources/cacert.pem

Linux

Add your local cert info (copy the content of the cert) to the end of cacert.pem file located:

wherever you unpacked the tar.gz file.

or in case you used the deb file

/opt/toggldesktop/cacert.pem

After adding the cert info to the cacert.pem file, the certificate is identified by Toggl Desktop and the app will be able to connect to Toggl servers without a problem.