A certificate warning that appears the day you set up a new NAS is usually harmless. The same warning appearing on a connection that has worked for a year, with no change at the server end, is a different matter entirely. Learning to tell those two situations apart is how you fix security certificate error sftp webdav xplore connections properly, instead of tapping Accept on every prompt and training yourself to ignore the one warning that actually matters.
X-plore connects to servers in two distinct ways that people constantly confuse. WebDAV over HTTPS uses a TLS certificate, the same system your browser uses. SFTP uses SSH, which relies on a host key, not a TLS certificate at all. The dialogs look similar, the causes overlap, but the fixes and the risks are not identical. Start by noting which protocol you were connecting with, the exact wording of the error, and whether anything changed on the server recently.
Fix Security Certificate Error SFTP WebDAV Xplore Problems by Identifying the System
For a WebDAV connection, X-plore asks Android’s TLS stack to verify that the server’s certificate was issued by a trusted authority, matches the hostname you typed, and has not expired. If any check fails, you get a certificate error. For SFTP, X-plore stores the server’s SSH host key fingerprint the first time you connect and compares it on every later visit. If the key does not match the stored one, you get a host key warning. Neither system is being difficult for fun. Both exist to answer one question: are you really talking to your server, or to something pretending to be it?
| Error or warning | Protocol | Common cause | First check |
|---|---|---|---|
| Certificate not trusted / self-signed | WebDAV (HTTPS) | Home NAS or home server using its own generated certificate | Confirm the server is yours and the fingerprint matches the server admin page |
| Certificate expired | WebDAV (HTTPS) | Renewal failed or was never set up, common with manually managed certificates | Check the expiry date shown and the server’s renewal status |
| Hostname mismatch | WebDAV (HTTPS) | Connecting by IP address or a different domain than the certificate was issued for | Connect using the exact hostname on the certificate |
| Host key changed | SFTP (SSH) | Server reinstalled, SSH regenerated, or device replaced | Ask whether the server was rebuilt; compare the fingerprint out of band |
| Date and time error | Both | Phone clock wrong, so a valid certificate looks expired or not yet valid | Enable automatic date and time on the phone and reconnect |
That last row catches more people than expected. TLS validation depends on the current date, so a phone whose clock reset after a flat battery can reject perfectly good certificates. Fix the clock before investigating anything more exotic.

Self-Signed Certificates on Home NAS Gear Are Expected, Not Suspicious
Most home NAS units, single-board servers, and router-attached storage ship with a self-signed certificate: the device creates and signs its own identity because no public authority has verified it. On your own network, for your own hardware, that is a normal starting point. The certificate still encrypts the connection. What it lacks is independent proof of identity, which you supply yourself by verifying the fingerprint once, carefully.
Do that verification properly. Open the NAS administration page on a computer on the same network, find its certificate fingerprint, and compare it character by character with the fingerprint X-plore shows. If they match, accept and save the certificate so the warning does not repeat. If they do not match, stop: you may have typed the wrong address, reached a different device that took over the old IP address, or something is intercepting the connection.
A longer-term improvement is to give the NAS a real certificate. Many NAS platforms support free Let’s Encrypt certificates, and our guide to setting up ownCloud and Nextcloud in X-plore covers the server side. A trusted certificate removes the self-signed warning and makes any future warning meaningful again.
Expired Certificates and Hostname Mismatches
An expired certificate is a server maintenance problem, not a phone problem. Renew it on the server, restart the WebDAV or HTTPS service, then reconnect. Accepting an expired certificate leaves you unable to tell a neglected server from a fake one, so treat any acceptance as temporary, and if someone else administers the server, tell them before moving sensitive files.
Hostname mismatch has a cleaner solution. Certificates are issued to names, not to IP addresses in most home setups. If the certificate is for nas.example.com or a dynamic DNS name, connect in X-plore using that exact name rather than 192.168.1.50. The encryption and destination are the same, but the name now matches what the certificate claims, and the error disappears for a legitimate reason. Recreating the saved server entry in X-plore with the correct hostname is safer than accepting a mismatch warning every time.
Bottleneck:
Tip:
All figures are estimates under good local conditions — strong signal, no competing traffic, both devices on the same network. Real speeds drop with distance, walls, channel congestion and slow storage on either device. Protocol options (SMB, FTP, SFTP) assume a 5 GHz-class Wi-Fi link.
The SFTP Host Key Changed: Expected After a Reinstall, a Red Flag Without One
SSH host keys change when the SSH server software is reinstalled, when the operating system is rebuilt, when keys are deliberately regenerated, or when you replace the hardware. If you reflashed your NAS, rebuilt a Raspberry Pi server, or restored a virtual machine from scratch last weekend, a changed host key message on Monday is exactly what should happen. Verify the new fingerprint on the server console or admin page, delete the old saved entry in X-plore if it will not update, reconnect, and save the new key.
Treat the opposite case with real suspicion. If the host key changes and nobody reinstalled anything, do not connect and do not enter your password until you understand why. Possibilities range from the mundane, such as the IP address being reassigned to a different machine on your network, to the serious, such as a compromised server or an interception attempt. Check the address, check the device, and confirm the fingerprint through a route that does not depend on the connection being questioned. This discipline is the same habit behind securing local wireless transfers with a proper password: small checks, done every time, before credentials move.
A Verification Routine That Takes Two Minutes
- Stop at the warning. Read whether it concerns a TLS certificate or an SSH host key, and note the fingerprint shown.
- Check your phone’s date and time are set automatically.
- Confirm you typed the intended hostname or address and the correct protocol and port.
- Compare the fingerprint with the value shown in the server’s own admin interface or console, reached separately.
- Ask what changed: renewal, reinstall, new hardware, a new IP assignment, or nothing anyone knows about.
- Only then accept and save. If nothing explains the change, leave the connection unused and investigate first.
Notice what is not on that list: disabling certificate checking altogether. Leaving validation off removes the warning and the protection together. For especially sensitive material, add a separate layer as described in our guide to encrypting files with AES-256 before upload, so the files stay protected even if a transfer path is ever mishandled.
When the Error Will Not Clear
If you have verified everything and X-plore still complains, delete the saved server entry and create it fresh, because an old entry can hold a stale hostname, port, or saved certificate. Try the same server from a desktop client on the same network: if it also reports a problem, the server needs attention; if not, the phone’s stored entry or clock is the likely culprit. Our wider Cloud & Security guides collect the related advice in one place.
One situation calls for simply walking away: a server you do not own, cannot verify, reached over a network you do not trust. Download nothing and enter no reusable password. Sometimes a warning you cannot explain is telling you this connection should not happen today.
Frequently Asked Questions
Is it safe to accept a self-signed certificate from my own NAS?
It can be, provided you verify it first. Compare the fingerprint X-plore shows with the fingerprint in the NAS admin page, reached separately on your own network. If they match exactly, accepting and saving that certificate for your own device is reasonable. Never accept without that comparison.
What is the difference between an SFTP host key and a WebDAV certificate?
WebDAV over HTTPS uses a TLS certificate issued for a hostname, checked for trust, expiry, and name match. SFTP uses an SSH host key whose fingerprint X-plore saves on first connection and compares on later visits. They solve a similar identity problem in two separate systems, so their warnings and fixes differ.
My SFTP host key changed but I did not reinstall anything. What should I do?
Do not connect or enter your password yet. Check that the address has not been reassigned to a different device, confirm the fingerprint through the server console or admin page, and ask anyone who manages the server what changed. An unexplained key change is a genuine red flag.
Why did certificate errors start after my phone battery died?
Most likely the phone’s clock reset. TLS validation depends on the correct date, so a wrong clock makes valid certificates look expired or not yet valid. Enable automatic date and time, let the phone sync, and reconnect before changing any server settings.
How do I stop the self-signed warning appearing every time?
After verifying the fingerprint once, save or trust the certificate in X-plore for that server entry so it is remembered. The permanent fix is to install a publicly trusted certificate, such as a free Let’s Encrypt certificate, on the server itself.


