From 186c597e24e5f1e771e0516e8ba9ee2f06e2990c Mon Sep 17 00:00:00 2001 From: lilia Date: Thu, 21 Jul 2016 12:21:36 -0700 Subject: [PATCH] Use port 4433 on staging Now with over 9000% more CA-signed cert! // FREEBIE --- CONTRIBUTING.md | 10 ---------- Gruntfile.js | 2 +- js/background.js | 2 +- 3 files changed, 2 insertions(+), 12 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bda78c5a79..308a32a2fb 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -36,16 +36,6 @@ mobile, **you must build a mobile client that targets the staging server** (see below, under [Linking](#linking)). -**Important!** The staging server uses a [self-signed ssl -certificate](https://github.com/WhisperSystems/Signal-Browser/issues/110). -By default, your browser will reject this certificate as insecure. Therefore, -in order to register or send and receive messages of any kind, you must first -visit in a new tab and -click through the warnings to allow the certificate. If done successfully, -you should get a 404 from the server. If at any time in the future you notice -a console error about an "INSECURE RESPONSE" or "Handshake was canceled", -repeat this step. - ## Linking Currently only the Android client supports multi-device linking. diff --git a/Gruntfile.js b/Gruntfile.js index 966de7d585..8c024cb0cb 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -121,7 +121,7 @@ module.exports = function(grunt) { process: function(content, srcpath) { if (srcpath.match('background.js')) { return content.replace( - /textsecure-service-staging.whispersystems.org/g, + /textsecure-service-staging.whispersystems.org:4433/g, 'textsecure-service-ca.whispersystems.org:4433').replace( /whispersystems-textsecure-attachments-staging.s3.amazonaws.com/g, 'whispersystems-textsecure-attachments.s3.amazonaws.com'); diff --git a/js/background.js b/js/background.js index db16bdcc63..38eb34af02 100644 --- a/js/background.js +++ b/js/background.js @@ -47,7 +47,7 @@ }); }); - var SERVER_URL = 'https://textsecure-service-staging.whispersystems.org'; + var SERVER_URL = 'https://textsecure-service-staging.whispersystems.org:4433'; var ATTACHMENT_SERVER_URL = 'https://whispersystems-textsecure-attachments-staging.s3.amazonaws.com'; var messageReceiver; window.getSocketStatus = function() {