mrwooster
mrwooster

Reputation: 24237

Disable ssl in apache on port 443

I am running a NodeJS app on apache and using mod_proxy to forward requests on 443 to the nodeJS app.

This works fine on port 80, but when I try to set it up for port 443, I get the following error in apache:

[error] Server should be SSL-aware but has no certificate configured [Hint: SSLCertificateFile] ((null):0)

It appears that this error is caused because I am trying to listen on port 443 in apache but not providing an ssl certificate... but I dont need to as my NodeJS app is performing the SSL.

How can I tell apache to ignore this error?

Upvotes: 2

Views: 2250

Answers (1)

ThiefMaster
ThiefMaster

Reputation: 318568

What you are trying cannot work. A client connecting to port 443 will speak HTTPS/SSL - so the application that handles the connection needs to use SSL for connections on that port.

Upvotes: 1

Related Questions