Discussion:
[whispersystems] disabling APN
monoom amina
2016-03-22 11:17:44 UTC
Permalink
How can i disable APN in textsecure stystem.
incandenza
2016-03-22 13:00:01 UTC
Permalink
Post by monoom amina
How can i disable APN in textsecure stystem.
Initially (because now I'm using iOS clients too) into source code I:

- removed @NotEmpty annotation above "private ApnConfiguration apn;"
field definition into PushServerconfiguration. So into yml PushServers's
file the APN related params become optional

- into PusServer.java's "run" method I commented every row with apnSender var
and I've passed null in the jersey Controller registration of the
PushController:
"environment.jersey().register(new PushController(null, gcmSender));"
intead of
"environment.jersey().register(new PushController(apnSender,
gcmSender));"

That's all (in my memory)
--
=========================================================================
| ***@autistici.org |
| Pub key fingerprint: F9CB 6666 B75C 643D E2F5 0614 6519 D675 2DA3 1530 |
=========================================================================
monoom amina
2016-03-29 10:25:55 UTC
Permalink
Hi do you have à solution for this error
W/RegistrationService:
org.whispersystems.textsecure.api.push.exceptions.PushNetworkException:
javax.net.ssl.SSLHandshakeException:
java.security.cert.CertPathValidatorException: Trust anchor for
certification path not found."
Post by incandenza
Post by monoom amina
How can i disable APN in textsecure stystem.
field definition into PushServerconfiguration. So into yml
PushServers's
file the APN related params become optional
- into PusServer.java's "run" method I commented every row with apnSender var
and I've passed null in the jersey Controller registration of the
"environment.jersey().register(new PushController(null, gcmSender));"
intead of
"environment.jersey().register(new PushController(apnSender,
gcmSender));"
That's all (in my memory)
--
=========================================================================
|
| Pub key fingerprint: F9CB 6666 B75C 643D E2F5 0614 6519 D675 2DA3 1530 |
=========================================================================
Loading...