Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Hierdie gesprek is in die argief. Vra asseblief 'n nuwe vraag as jy hulp nodig het.

Firefox sync incorrectly claims my own server URL is invalid.

  • 6 antwoorde
  • 2 hierdie probleem
  • 12 views
  • Laaste antwoord deur Kevin

more options

I use my own server (implemented in PHP, run on Apache) to sync Firefox instances. The URL is https://diederickdevries.net/owncloud/remote.php/mozilla_sync/. Firefox Desktop (version 27.0.1 on Arch Linux) syncs without problem.

However, when I tap "Connect", Firefox on my Android device (version 27.0) asks me to enter a valid server URL, implying what I entered isn't correct. My Apache acces/error logs do not mention anything trying to access that URL at the moment my phone's Firefox states that it is "Verifying".

Is there a log on the phone that I could check? Is this a bug? How should I proceed?

Thanks for any help, Diederick de Vries

I use my own server (implemented in PHP, run on Apache) to sync Firefox instances. The URL is https://diederickdevries.net/owncloud/remote.php/mozilla_sync/. Firefox Desktop (version 27.0.1 on Arch Linux) syncs without problem. However, when I tap "Connect", Firefox on my Android device (version 27.0) asks me to enter a valid server URL, implying what I entered isn't correct. My Apache acces/error logs do not mention anything trying to access that URL at the moment my phone's Firefox states that it is "Verifying". Is there a log on the phone that I could check? Is this a bug? How should I proceed? Thanks for any help, Diederick de Vries

All Replies (6)

more options

I notice you have a self-signed SSL certificate. There is a bug on file indicating that this is a problem: 756763 – Android Sync can't accept self-signed certificates (or roots unknown to Android) for custom Sync servers on Android 2. There are a number of other bugs related to this error message, and I'm not sure which is the most relevant, actually.

more options

You will need to import the self-signed certificate into the Android certificate store.

more options

Hi, Thanks, but I'm unsure how to do that. I've copied the crt file from my apache installation to my phone, and when I tap on it in a file manager, the phone proposes to open it using an installation app for certificates. However, when I tap it, it tells me it cannot read the file. The log says:

[ 03-04 22:40:05.782 4815: 4815 E/CertInstaller ] Failed to read certificate: java.io.FileNotFoundException: /storage/emulated/0/.../server.crt: open failed: EACCES (Permission denied)

It has 0660 permissions, but I cannot chmod it to 0666: I don't have the rights.

How should I install the certificate?

more options

I don't know. Never had the need to add a custom certificate to Android. https://encrypted.google.com/search?hl=en&q=Android%20add%20self%20signed%20certificate

more options

I imported the certificate using Settings -> Securiy -> Install from sdcard, but the phone's log still says:

[ 03-09 10:51:42.342 18284:19573 I/FxSync ] firefox :: EnsureUserExistence :: Error checking for user existence.

[ 03-09 10:51:42.342 18284:19573 W/FxSync ] firefox :: AccountAuthenticator :: Authentication failed. javax.net.ssl.SSLPeerUnverifiedException: No peer certificate

What certificate should I import then?

more options

I don't know the answer the #sync irc channel on irc.mozilla.org is where I would suggest asking your question.

irc://irc.mozilla.org/sync