[GH-ISSUE #208] Option to accept Self Signed Certificates #201

Closed
opened 2026-02-25 22:36:27 +03:00 by kerem · 12 comments
Owner

Originally created by @giomf on GitHub (Dec 4, 2018).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/208

Software versions

  • Browser: Firefox 63.0.3
  • Nextcloud: 14.0.4.2
  • Nextcloud Bookmarks app: 0.14.2
  • Floccus: 3.1.14
  • Floccus sync method: nextcloud-folders

Steps to reproduce

  1. Open Firefox (Private Mode)
  2. Sync by clicking on "Sync now"

Expected outcome

Because Im in Private Mode, the self signed Certificates never gets saved.
A Dialog, that Im trying to connect to an "unsafe" webpage with an option to accept (Like Firefox normally does)

Actual outcome

"Network Error: Check your Connection or your account details"

Workaround

So as workaround I have to connect to my Server first, accept the untrusted Certificate and after that I can Sync via floccus

Originally created by @giomf on GitHub (Dec 4, 2018). Original GitHub issue: https://github.com/floccusaddon/floccus/issues/208 <!-- Hello there! Thank you for providing feedback! Please answer the below questions to allow for as smooth a process of tackling the issue as possible :) (Note: Everything surrounded by arrows, like this text for example, will not be visible.) --> ### Software versions <!-- Please provide the versions of the following software products in your set up --> - Browser: Firefox 63.0.3 - Nextcloud: 14.0.4.2 - Nextcloud Bookmarks app: 0.14.2 - Floccus: 3.1.14 - Floccus sync method: nextcloud-folders <!-- either XBEL/webdav (signified as `webdav`), nextcloud Bookmarks legacy (signified as `nextcloud`), or nextcloud Bookmarks v0.14+ with folders (signified as `nextcloud-folders`) --> ### Steps to reproduce <!-- What did you do? Be as specific as possible --> 1. Open Firefox (Private Mode) 2. Sync by clicking on "Sync now" ### Expected outcome <!-- What did you think was going to happen or what do you think should have happened? --> Because Im in Private Mode, the self signed Certificates never gets saved. A Dialog, that Im trying to connect to an "unsafe" webpage with an option to accept (Like Firefox normally does) ### Actual outcome <!-- What actually happened after you did the above steps? --> "Network Error: Check your Connection or your account details" ### Workaround So as workaround I have to connect to my Server first, accept the untrusted Certificate and after that I can Sync via floccus <!-- It is useful to attach a debug log file to the issue. You can obtain a debug log of the most recent sync runs by clicking 'Debug log' in the bottom right corner of the floccus panel in your browser. If you don't want your bookmarks to be public, you can send the log file to me via mail --> <!-- Thanks! Now, hit Submit and wait for a reply :) -->
kerem closed this issue 2026-02-25 22:36:27 +03:00
Author
Owner

@marcelklehr commented on GitHub (Dec 9, 2018):

Hey,

It should be possible to store a permanent exception for your self-signed certificate. This way you don't have to manually accept it every time. Let me know if that works.

<!-- gh-comment-id:445501211 --> @marcelklehr commented on GitHub (Dec 9, 2018): Hey, It should be possible to [store a permanent exception](https://www.attachmate.com/documentation/gateway-1-1/gateway-admin-guide/data/fxg_add_untrusted_cert.htm) for your self-signed certificate. This way you don't have to manually accept it every time. Let me know if that works.
Author
Owner

@giomf commented on GitHub (Dec 9, 2018):

Hi,
as I mentioned, its not possible because I'm using Firefox in Private-mode. so no History neither Certificates are stored permanently. After every restart I have to accept it again.

<!-- gh-comment-id:445529838 --> @giomf commented on GitHub (Dec 9, 2018): Hi, as I mentioned, its not possible because I'm using Firefox in Private-mode. so no History neither Certificates are stored permanently. After every restart I have to accept it again.
Author
Owner

@marcelklehr commented on GitHub (Dec 9, 2018):

I see. Is it possible to disable private mode temporarily and then add the exception permanently?

<!-- gh-comment-id:445540849 --> @marcelklehr commented on GitHub (Dec 9, 2018): I see. Is it possible to disable private mode temporarily and then add the exception permanently?
Author
Owner

@giomf commented on GitHub (Dec 9, 2018):

Yes that's possible.
But I would appreciate to have this feature.

<!-- gh-comment-id:445541316 --> @giomf commented on GitHub (Dec 9, 2018): Yes that's possible. But I would appreciate to have this feature.
Author
Owner

@marcelklehr commented on GitHub (Dec 9, 2018):

Unfortunately, I don't think it's possible to reach that deeply into the security architecture with an extension. It's also kind of out of scope for floccus to handle this. In a time of let's encyrpt availability, I would simply suggest to use them as a CA and avoid self-signed certificates, if possible.

<!-- gh-comment-id:445542274 --> @marcelklehr commented on GitHub (Dec 9, 2018): Unfortunately, I don't think it's possible to reach that deeply into the security architecture with an extension. It's also kind of out of scope for floccus to handle this. In a time of let's encyrpt availability, I would simply suggest to use them as a CA and avoid self-signed certificates, if possible.
Author
Owner

@giomf commented on GitHub (Dec 9, 2018):

Ok I see,
Unfortunately, Im dealing with some kind of dyndns. so no Let's Encrypt for me...
Thank you anyway

<!-- gh-comment-id:445546186 --> @giomf commented on GitHub (Dec 9, 2018): Ok I see, Unfortunately, Im dealing with some kind of dyndns. so no Let's Encrypt for me... Thank you anyway
Author
Owner

@mnalis commented on GitHub (Dec 17, 2018):

Just to note that Let's Encrypt works just fine with dynamic IPs (like in dyndns) for me.

All it requires is that your hostname resolves to correct IP at the moment of renewal, so LE servers can connect to your LE script. So, if your machine HTTPS can be directly reached on the Internet (without using VPNs or similar hacks), you can use Let's Encrpyt to provide its certificates.
Hopefully it helps the OP.

<!-- gh-comment-id:447810434 --> @mnalis commented on GitHub (Dec 17, 2018): Just to note that Let's Encrypt works just fine with dynamic IPs (like in dyndns) for me. All it requires is that your hostname resolves to correct IP at the moment of renewal, so LE servers can connect to your LE script. So, if your machine HTTPS can be directly reached on the Internet (without using VPNs or similar hacks), you can use Let's Encrpyt to provide its certificates. Hopefully it helps the OP.
Author
Owner

@bernd-wechner commented on GitHub (Dec 17, 2018):

I can second mnalis, and state that I use letsencrypt to maintain certs for at least two servers behind a single router (gateway) that has a dynamic names (ddns). Yes, plural. Multiple domain names pointing to one dynamic IP address at which my gateway farms incoming traffic out to a machine on my LAN based on the domain name used. And the names are managed just fine with letsencrypt.

<!-- gh-comment-id:447813967 --> @bernd-wechner commented on GitHub (Dec 17, 2018): I can second mnalis, and state that I use letsencrypt to maintain certs for at least two servers behind a single router (gateway) that has a dynamic names (ddns). Yes, plural. Multiple domain names pointing to one dynamic IP address at which my gateway farms incoming traffic out to a machine on my LAN based on the domain name used. And the names are managed just fine with letsencrypt.
Author
Owner

@giomf commented on GitHub (Dec 30, 2018):

Thanks,
I will give it a try

<!-- gh-comment-id:450552435 --> @giomf commented on GitHub (Dec 30, 2018): Thanks, I will give it a try
Author
Owner

@marcelklehr commented on GitHub (Apr 12, 2022):

Adding android user level certs does not seem to work for everyone.

<!-- gh-comment-id:1096722638 --> @marcelklehr commented on GitHub (Apr 12, 2022): Adding android user level certs does not seem to work for everyone.
Author
Owner

@marcelklehr commented on GitHub (Apr 12, 2022):

Oops, wrong issue. Sorry.

<!-- gh-comment-id:1096790221 --> @marcelklehr commented on GitHub (Apr 12, 2022): Oops, wrong issue. Sorry.
Author
Owner

@github-actions[bot] commented on GitHub (Apr 13, 2023):

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:1506179188 --> @github-actions[bot] commented on GitHub (Apr 13, 2023): This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/floccus#201
No description provided.