Re: node.js application listening on port 8000 enabled with SSL certificate returns ERR_SSL_PROTOCOL_ERROR on browser.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

When I hit http://nodejs.mydomain.com:8000/demo/index.html (without ssl) it works with port number using the below httpd config file. Is there a way to enable SSL connections?

httpd.conf file configuration
#cat /etc/httpd/conf.d/nodejsnodejsssl.conf
<VirtualHost *:80>
<Location />
        ProxyPass http://localhost:8000/
    </Location>
</VirtualHost>

Please suggest further. Thanks in advance. 


Best Regards,

Kaushal

On Wed, Jun 21, 2023 at 11:09 PM Kaushal Shriyan <kaushalshriyan@xxxxxxxxx> wrote:
On Wed, Jun 21, 2023 at 10:35 PM Darryl Baker <darryl.baker@xxxxxxxxxxxxxxxx> wrote:

Have you tried browsing to https://nodejs.mydomain.com/demo/index.html The proxy configuration in Apache will direct the connection to nodejs over port 8000.


Hi Darryl,

When I am trying to access the URL https://nodejs.mydomain.com/demo/index.html, I am seeing the below information in Apache HTTP server access logs. 

172.16.16.45 - drupaladmin [21/Jun/2023:23:04:07 +0530] "GET /demo/index.html HTTP/1.1" 404 25644 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36"
172.16.16.45 - drupaladmin [21/Jun/2023:23:04:18 +0530] "GET /demo/index.html HTTP/1.1" 404 25644 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36"
172.16.16.45 - drupaladmin [21/Jun/2023:23:04:39 +0530] "GET /demo/index.html HTTP/1.1" 404 25644 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" 

Please suggest further. Thanks in advance. 

 

Best Regards,

 

Kaushal


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux