Browse Source

Use port 4433 on staging

Now with over 9000% more CA-signed cert!

// FREEBIE
lilia 7 years ago
parent
commit
186c597e24
3 changed files with 2 additions and 12 deletions
  1. 0 10
      CONTRIBUTING.md
  2. 1 1
      Gruntfile.js
  3. 1 1
      js/background.js

+ 0 - 10
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 <https://textsecure-service-staging.whispersystems.org/> 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.

+ 1 - 1
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');

+ 1 - 1
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() {