-
Notifications
You must be signed in to change notification settings - Fork 278
Getting Toggl Desktop to work with local proxy
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.
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.
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
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
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
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.