Troubleshooting

The buyer cannot establish a TLS connection

The buyer reports a certificate or handshake failure. Your site loads perfectly in every browser you try, which makes the report look wrong.

Short answer

Suspect an incomplete certificate chain first. Browsers fetch a missing intermediate certificate automatically and say nothing about it; the Java clients behind most procurement platforms do not. Your padlock proves nothing about whether their system can verify you.

Causes, most likely first

Ordered by how often each one turns out to be the culprit, not by how interesting it is. Work down the list.

  1. The intermediate certificate is not being served

    How to confirm: Run openssl s_client -connect yourhost:443 -showcerts and count the certificates returned, or use a public SSL checker and read the chain section specifically. One certificate where there should be two or three is the fault. No browser will tell you this.

    Fix: Serve the full chain — fullchain.pem rather than cert.pem, or the bundle your CA provides. This is a configuration mistake, not a certificate mistake, so reissuing will not fix it.

  2. The certificate expired, or renewed without being reloaded

    How to confirm: Check the notAfter date on the certificate actually being served, not the one on disk. A renewal that did not reload the process leaves the old certificate in memory until a restart.

    Fix: Reload or restart after renewal, and alert on the served expiry date rather than on renewal jobs completing. A renewal that succeeds and never takes effect is the failure mode you are guarding against.

  3. No TLS version in common

    How to confirm: The handshake fails with no cipher agreed. Buyers running older Java may not negotiate a TLS 1.3-only endpoint; equally, a very old client may want TLS 1.0, which you should not re-enable.

    Fix: Support TLS 1.2 and 1.3 together. That combination serves every procurement platform in current use without reopening anything deprecated.

  4. The hostname is not covered by the certificate

    How to confirm: Compare the exact host in the endpoint URL you gave the buyer against the certificate’s SAN list. The apex domain and the www host are different names, and a certificate covering one does not cover the other.

    Fix: Issue a certificate whose SAN covers every hostname you publish, and give buyers the canonical one.

  5. A self-signed certificate on the test endpoint

    How to confirm: The test environment uses a self-signed or internal CA certificate, and only the test environment fails.

    Fix: Use a publicly trusted certificate in test as well. Buyers will not add your certificate to their truststore, and asking them to during an evaluation is a poor first impression.

If it is not on your side

Ask the buyer for the exact error string and their Java version. "PKIX path building failed" is an incomplete chain or a missing root, and says so unambiguously — it is worth more than any amount of discussion about whether the site works.

Check the document itself

Before chasing “The buyer cannot establish a TLS connection” further, paste the cXML or OCI payload into our free tester. It runs in your browser and reports the structural problems buyers reject on. The interactive demo plays the whole round trip from the buyer's seat.

Open the tester Play the demo

Related questions

It works in my browser. Why does their system fail?

Browsers repair incomplete chains by fetching the missing intermediate from the URL in the certificate, then cache it. Java truststores do no such thing — they fail. So a chain that is broken for every machine-to-machine client still looks perfect to every human who checks it, which is why this survives so long undiagnosed.

Does it matter which certificate authority we use?

Any publicly trusted CA is fine. The one caveat is that older truststores may not carry newer roots, so if you use a free CA and a single buyer on legacy infrastructure fails while everyone else succeeds, check their root store before assuming the fault is yours.

Rather not be the one debugging this?

A free PunchOut shop runs the PunchOut round trip for you: upload from Excel, test it, invite your buyer.

Start free Send us the error