Use port 4433 on staging
Now with over 9000% more CA-signed cert! // FREEBIE
This commit is contained in:
parent
3a50a892dc
commit
186c597e24
3 changed files with 2 additions and 12 deletions
|
@ -36,16 +36,6 @@ mobile, **you must build a mobile client that targets the staging server**
|
||||||
(see below, under
|
(see below, under
|
||||||
[Linking](#linking)).
|
[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
|
## Linking
|
||||||
|
|
||||||
Currently only the Android client supports multi-device linking.
|
Currently only the Android client supports multi-device linking.
|
||||||
|
|
|
@ -121,7 +121,7 @@ module.exports = function(grunt) {
|
||||||
process: function(content, srcpath) {
|
process: function(content, srcpath) {
|
||||||
if (srcpath.match('background.js')) {
|
if (srcpath.match('background.js')) {
|
||||||
return content.replace(
|
return content.replace(
|
||||||
/textsecure-service-staging.whispersystems.org/g,
|
/textsecure-service-staging.whispersystems.org:4433/g,
|
||||||
'textsecure-service-ca.whispersystems.org:4433').replace(
|
'textsecure-service-ca.whispersystems.org:4433').replace(
|
||||||
/whispersystems-textsecure-attachments-staging.s3.amazonaws.com/g,
|
/whispersystems-textsecure-attachments-staging.s3.amazonaws.com/g,
|
||||||
'whispersystems-textsecure-attachments.s3.amazonaws.com');
|
'whispersystems-textsecure-attachments.s3.amazonaws.com');
|
||||||
|
|
|
@ -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 ATTACHMENT_SERVER_URL = 'https://whispersystems-textsecure-attachments-staging.s3.amazonaws.com';
|
||||||
var messageReceiver;
|
var messageReceiver;
|
||||||
window.getSocketStatus = function() {
|
window.getSocketStatus = function() {
|
||||||
|
|
Loading…
Reference in a new issue