Tagged Questions
0
votes
1answer
24 views
Can't download image with request library
I'm trying to download an image the way it's described in the readme. Here is my code:
...
2
votes
2answers
52 views
iOS HTTPS requests 101
NSURLConnection/CFURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9813)
Very, very frustrating! I've been pulling my hair for hours with this. I'm using a self-signed certificate on my ...
0
votes
0answers
9 views
PATCH https request from Parse
I'm trying to make an https PATCH request from Parse Cloud code (to update part of an object in a Firebase application), and I'm running into the following issues:
Parse.Cloud.httpRequest doesn't ...
0
votes
0answers
12 views
Proxy HTTPS without certificate with nginx
Is it possible to setup nginx so that it proxies a HTTPS connection without decrypting it?
I'm talking about something like this:
server {
listen 443 ssl;
server_name example.com;
...
0
votes
1answer
24 views
Node.js request directly to URL with options (http or https)
I think I'm missing something about http and https requests
I have a variable that contains a URL, for example:
http(s)://website.com/a/b/file.html
I would like to know if there's a easy way to ...
1
vote
0answers
28 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
30 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
25 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
61 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
117 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
106 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
41 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
47 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
82 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
205 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
131 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
337 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
127 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
371 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
226 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/" ...
1
vote
1answer
280 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
158 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
137 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
64 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
399 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 ...
2
votes
0answers
133 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
73 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
405 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
394 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
164 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 ...