Servidor (app) Node.js que sea accesible por HTTPS, escuchando el puerto (ya habilitado, disponible, listo para usar). Actualmente funciona solo con HTTP.
Se tiene:
* VPS (Centos 7) + CPanel + SSL (Sectigo, antes Comodo CA > cPanel, Inc. Certification Authority)
* App Node.js básica:
var app = require('express')();
var http = require('http');
var server = [login to view URL](app);
[login to view URL]('/', function (req, res) {
[login to view URL](__dirname + '/[login to view URL]');
});
[login to view URL](3000, function () {
[login to view URL]('listening on *:3000');
});
Al cambiar http por https, necesita de una clave privada y un certificado (estas fueron creadas manualmente usando openssl), al vincular dichas credenciales, al intentar acceder al dominio> [login to view URL] desencadena el error ERR_CERT_AUTHORITY_INVALID... todas las pruebas con diferentes códigos fuente, llevó al mismo resultado.
Si las credenciales (clave privada y certificado) no son proporcionados, dá el error ERR_SSL_PROTOCOL_ERROR... esto es, poniendo [login to view URL] sin especificar dichas credenciales.
El servidor o app final, será usado con Node.js, para el funcionamiento de un chat en tiempo real, entre otras características afines... pero necesitamos en primer lugar que la app Node.js funcione con HTTPS sin problemas.
------------------------------------------------------------------------
Server (app) Node.js that is accessible by HTTPS, listening to the port (already enabled, available, ready to use). It currently works only with HTTP.
It has:
* VPS (Centos 7) + CPanel + SSL (Sectigo, formerly Comodo CA> cPanel, Inc. Certification Authority)
* Basic App Node.js:
var app = require ('express') ();
var http = require ('http');
var server = [login to view URL] (app);
[login to view URL] ('/', function (req, res) {
[login to view URL] (__ dirname + '/[login to view URL]');
});
[login to view URL] (3000, function () {
[login to view URL] ('listening on *: 3000');
});
When changing http to https, you need a private key and a certificate (these were created manually using openssl), when you link these credentials, when trying to access the domain> [login to view URL] triggers the error ERR_CERT_AUTHORITY_INVALID ... All tests with different source codes, from various websites on the Internet, led to the same result.
If the credentials (private key and certificate) are not provided, give the error ERR_SSL_PROTOCOL_ERROR ... that is, by entering [login to view URL] without specifying those credentials.
The final server or app will be used with Node.js, for the operation of a real-time chat, among other related features ... but first we need the Node.js app to work with HTTPS without problems.
Hi, I have read your project details and this is a task designed according to my skills. I am ready to begin working on this. Let us discuss and get started.
I am Good at HTTP, Javascript, node.js, OpenSSL.
Alz7x please Send me a message so that we can discuss more about this project Regards, Barry
Hello,
I have read your job details carefully and I can do your work if you will provide me more details of the project. I will definitely give you a better solution to your problem.
Thanks
Ambient Infotech
Hi,
I have read carefully your requirements all of the mentioned in the job description.
I am able to proceed this task as per your desire with creativity and submit the project without delay and also bug free.
Could please ping me so we can discuss more about the project?
Thanks
Hitesh Goyal
Hi...
How are you?.
I saw your description carefully carefully and i'm very interesting in your project.
I have rich experience in react.js, react native ,angular, ionic, vue.js so i can do your project.
Also i have been built many rest api for web and mobile app so i think that will be helpfull for your project...
And if you would like to see my skills please go this link:
https://www.freelancer.com/u/crocodile305
When you have enough time to discuss about your project with me, please contact me.
Thanks
time:8/3/2019 6:32:23----17
⭐ Let's discuss on chat ⭐ I 'm a Full-stack developer and Ethical hacker Working last 7 years in the programming field. I love programming. My passion is to solve the programming issue.
Technology Summary :➤
✔️Programming/Languages: PHP, Python, JavaScript, jQuery, Vue.js;
✔️Databases Management: Oracle 8.x/9.x, SQL Server, MySQL, PostgreSQL,MongoDB ,MariaDB
✔️Expert proficiency with Linux and UNIX operating systems
✔️Framework : Laravel,Django,Codeigniter ,CakePHP,Django,Wordpress
✔️Server: Ubuntu Apache, CentOS, AWS, Domain, SSL.
I have a different approach for you...
Self-signed certificates are util, but can causes this kind of problems and browser warnings.
My suggestions is to map the http port (no ssl) to a CDN that redirect requests through a SSL connection. Cloudflare is a service that provides one HTTPS domain connection for free. I can do this mapping and configuration for you.
Other solution is to buy a certificate form an authorised seller, but its much more expensive.
Let me know if you did understand what i said and if you have interest to do this way.