Tagged Questions
1
vote
0answers
17 views
Proxying HTTPS using Node.js (without SSL certificate)
I'm trying to setup a local server to proxy some of the requests to a remote https server, where some files are served locally.
It can be done using apache mod_ssl, mod_proxy, without asking me a ...
0
votes
0answers
17 views
Extract a tls-socket (ssl) of https in NodeJS
I want to use nodejs to create a multiple server application:
https + websocket + ssl-socket. I manged to get the https- (+express) and the websocket-server (ws) to run on the same port.
Is there ...
0
votes
0answers
18 views
Browser do not switch to ssl with nodejs ssl
I am trying to setup ssl with nodejs and express. I purchased a certificate from godaddy and got the below files
1.mydomain.com.crt
2.gd_intermediate.crt
3.gd_bundle.crt
After many tries , I got ...
0
votes
1answer
33 views
Can't set a signed SSL certificate on NodeJS/expressJS
I'm trying to set a signed certificate to set an HTTPS sever on nodejs.
But I keep getting the following error in chrome (and similar on other browsers).
"Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL ...
0
votes
1answer
90 views
Configuring SSL endpoints for node.js worker roles on Azure
I've set up a node.js app to run on worker roles (not web roles) on Azure cloud services. Everything was working fine with the standard app running on HTTP.
Now I'm trying to get it running over SSL ...
0
votes
3answers
73 views
How to build a PHP/Node proxy to render external http images on https website?
I have a website running on https.
I have to load images from external server (external domain) which doesn't have https, but single http protocol.
Is there's any way to handle proxy for http images ...
1
vote
1answer
17 views
How do I configure NPM to Trust the firewall issuer for HTTPS proxying?
I am attempting to use NPM in an environment behind a corporate firewall. Said firewall intercepts all https traffic and signs it with its' own CA... Is there a way to "trust" this CA so that NPM can ...
0
votes
1answer
40 views
How can I use an http proxy with node.js https?
I want to make an https request call from node.js, using the standar https Client. But I cannot reach the remote server directly from my network and need to go through a proxy.
How do I tell node.js ...
0
votes
1answer
64 views
socket.io in node.js: socket.emit doesn't complete before socket.disconnect
I'm trying to use node.js as a server with socket.io (over a https connection server object, client connecting with option secure: true) with a JavaScript front end.
On the server if a login attempt ...
6
votes
1answer
165 views
HTTP 400: Bad Request error in ADFS HTTPS Request
I am writing a Node.js app and am trying to integrate an ADFS server to get authentication. For that, I am using wstrust-client, and using the ADFS Server URL as my endpoint. My code so far is:
...
0
votes
2answers
86 views
Create HTTPS server with node js
I want to create a https server for my localhost.
Node JS documentation provides out of the box solution but I have some confusion with it.
Example
var https = require('https');
var fs = ...
2
votes
1answer
236 views
Apache + Symfony2 + HTTPS + Node.js + Socket.io: socket.emit not firing
I've been spending hours upon hours on this problem, but to no avail.
EDIT: solution found (see my answer)
Project background
I'm building a project in Symfony2, which requires a module for ...
0
votes
1answer
83 views
Node.js HTTPS POST Request at IP Address fails
I'm trying to make an HTTPS POST SOAP Request using the following script:
var http = require('http');
function Authenticate() {
// Build the post string from an object
var post_data = ...
0
votes
2answers
253 views
NodeJS + Express + Socket.IO + SSL
So I'm trying to use NodeJS with Express + Socket.IO.
I've looked at about 5 other stack overflow questions, and looked over the documentation to the point my eyes feel like they're going to bleed!
...
0
votes
1answer
136 views
NodeJS Sending a HTTPS SOAP Request
I'm trying to send a SOAP request at a specific end point using nodejs.
My request looks like this:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" ...
0
votes
1answer
220 views
Node.js SSL server frozen, high CPU, not crashed but no connections
I hope anyone could help me with this issue.
In our company we are setting up a node.js server, connected to a Java Push server.
I'm using https module instead of http and SLL certificates.
The ...
0
votes
1answer
118 views
Calling a https web service in node.js (Behind proxy)
I am trying to call a https web service from node.js. I am behind a proxy, so i am providing the proxy and port in the options along with the credentials. But i am getting the following error
[Error: ...
0
votes
1answer
99 views
In-House Certificate Authority (CA) for Node.js https.request: How to point to .PEM?
I recently updated from Node 0.8.xx to 0.10.5. Suddenly, my https.request calls started failing. I believe 0.8.x was not verifying certificates, but 0.10.5 is. We have some in-house certificate ...
0
votes
0answers
55 views
nodejs https server doesn't respond
My https server is running but it doesn't handle requests:
const crypto = require('crypto'),
fs = require("fs"),
http = require("http");
var https = require('https');
var privateKey = ...
1
vote
1answer
263 views
Node.js HTTPS proxy server not working
I would like to create a proxy for HTTPS connections with Node.js. I am using the http-proxy library, which works well. I can get a HTTP proxy to work perfectly, but when I try HTTPS, the request to ...
1
vote
0answers
111 views
Setting up Cloud9 SSL App with Node JS
I've been playing around with the Cloud9 IDE and am having a great time with it. However, I'm trying to setup a simple https server with node js and I can't seem to get it to work. When I run the ...
1
vote
2answers
69 views
Changing a node.js stream in the ondata event
I am trying to edit a node.js http stream before sending it to the parser. I have implemented the following code
//catch any connection event to this server
server.on('secureConnection', function ...
1
vote
1answer
223 views
node.js https.get() fires error ECONNREFUSED
One of the steps of the OAuth dance involves exchanging a code received via a callback for an access token. Specifically for Facebook server side auth, the following https GET request returns the ...
-2
votes
1answer
311 views
throw new Error('Missing PFX or certificate + private key')
I have previously developed a module in node.js and after complete testing put it in git hub. Now i downloaded the zipped version of same module from githup and tried to run the module, installed all ...
0
votes
2answers
119 views
HTTPS redirection for all routes node.js/express - Security concerns
I recently took a stab at setting up HTTPS on a node/express server. I have successfully managed to redirect all the routes to use https using the code below:
// force https redirect
var ...
1
vote
0answers
57 views
How to enable HSTS with node-http-proxy?
Under node.js 0.8, I'm using node-http-proxy in "router table" mode configured like so:
var httpProxy = require("http-proxy");
var config = require("./config");
proxyServer = ...
1
vote
2answers
119 views
HTTPS with nodejs and connect
I'm currently using nodejs with connect as my HTTP server. Is there anyway to activate HTTPS with connect? I cannot find any documentation about it. Thanks.
Herry
1
vote
0answers
144 views
How to set up Node HTTPS on Appfog
The way the appfog documentation reads is that as long as you use their provided domain you will get free SSL.
But as far as I understand things you need a .KEY and a .CERT file in order for NodeJS ...
0
votes
1answer
196 views
How do I use the node.js request module to make an SSL call with my own certificate?
I'm using node.js and this request module to make HTTP calls to another server.
https://github.com/mikeal/request
It works great. I now need to modify this code to make the calls over SSL, using my ...
0
votes
0answers
197 views
https request from heroku
I am tying to get data from vk.com api via https protocol. like this (api vk docs):
var https = require('https');
https.get('https://api.vk.com/method/users.get?access_token=' + ...