Score:0

How to resolve "400 Bad Request" after cloning a webserver that uses Cloudflare for SSL?

bh flag

I'm trying to clone a webserver that hosts sites that rely on Cloudflare for their SSL certificates.

After cloning the server and updating my local hosts file to point the site to the new server, I'm met with the error:

400 Bad Request
No required SSL certificate was sent
nginx

How can I work around this or resolve this without needing to take the original server/site offline?

If it matters, the website is a Wordpress site.


Note: I saw this similar question but it doesn't seem to quite cross over into the problem I'm seeing (Nginx used at proxy there, and no Cloudflare component)

Steffen Ullrich avatar
se flag
The problem is in the configuration of your cloned server - which you don't provide. Likely you require in your config the client to provide a client certificate (`ssl_verify_client on`), which the client does not have.
Slbox avatar
bh flag
Thank you so much - that was the answer! If you submit it as an answer, I'll accept it.
Score:1
se flag

The problem is in the configuration of your cloned server. Likely you require in your config the client to provide a client certificate (ssl_verify_client on), which the client does not have.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.