Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nodejs with apache2 over ssl #18499

Closed
guftall opened this issue Feb 1, 2018 · 1 comment
Closed

nodejs with apache2 over ssl #18499

guftall opened this issue Feb 1, 2018 · 1 comment
Labels
https Issues or PRs related to the https subsystem. question Issues that look for answers. wrong repo Issues that should be opened in another repository.

Comments

@guftall
Copy link

guftall commented Feb 1, 2018

i want to pass server requests on port 443 to my nodejs app.

i run node app with require('https') and port=3443, certificate.crt, certificate.key on https options.

and this apache config in virtualhost:
SSLEngine on

    SSLProxyVerify none
    SSLProxyEngine on
    SSLCertificateFile /path/certificate.crt
    SSLCertificateKeyFile /path/certificate.key

    <Proxy *>
            Order deny,allow
            Allow from all
    </Proxy>

    ProxyPass / http://localhost:3443/
    ProxyPassReverse / http://localhost:3443/

and when i run server apache said: Error during SSL Handshake with remote server
my question is, should i start my node app with http and include certificates in virtualhost config only?

@bnoordhuis
Copy link
Member

Please post your question to the help repo. Thanks.

@bnoordhuis bnoordhuis added question Issues that look for answers. https Issues or PRs related to the https subsystem. wrong repo Issues that should be opened in another repository. labels Feb 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
https Issues or PRs related to the https subsystem. question Issues that look for answers. wrong repo Issues that should be opened in another repository.
Projects
None yet
Development

No branches or pull requests

2 participants