Forums Read-only archive

Cannot connect from Smartphone (Brekeke Phone) to BSS

11 posts · Brekeke PBX Forum

Truong Original post
1. Brekeke Product Name and Version: 3.9.5.8

2. Java version: 1.8.0_251

3. OS type and the version: Window 10

4. UA (phone), gateway or other hardware/software involved: NA

5. Your problem:
when connect from Smartphone by software Brekeke phone, I can not connect, message as below:
[Error
Failed to login to pbx, err:Timeout ]

Please support me.
Thank you so much!
Truong
I am sorry but with brekeke PBX, I am newbie. It is very difficult for me to connect from Smartphone (Brekeke phone) to Brekeke SIP Server although i tried with document.
I dont know where is wrong and if you did setup it successfully then support me.
My problem:
- i already get 02 file certification and key.
But in the file server.xml i try to config but not run.

Thank you so much!
Niloc
Where did you get key and certification files?
Truong
@Niloc: I have a domain, this domain did install certification.
I copy content key and save to file name: .key
copy content crt and save to file name: .crt
and then convert from 2 file .key and .crt to file .psk

I used this file .psk to configuration in the file server.xml
but I don't know where I did wrong. You have a lot of experience in this, could you please help me?

Thank you so much!
Tata
Is it a certificate which the SIP client can accept?
If it is a self-signed certificate, the SIP client will not accept the certificate until you installed the certificate file in the client side.
Truong
it is not a self-signed certificate.

Currently Apache Tomcat service can not start, when try to start it show message:

Windows could not start the Apache Tomcat 8.5 Tomcat8 service on Local Computer.
Error 1053: The service did not respond to the start or control request in a timely fashion.


I don't know that relate to my problem or not.

Thank you!
llucy
Truong,

I think this page would help,

https://tomcat.apache.org/tomcat-8.0-doc/ssl-howto.html

You need to describe the details of the configuration you have changed.

Lucy
Truong
@Lucy:
Thank you so much with your suggest. I will research with your link which you sent.

Thank you!
Truong
@Lucy: I did try but can not success.

I did some step as below:
+ I get file .crt and file .key from domain.
and then convert to file .pfx

+ Go to to [SIP SERVER] -> [Configuration] -> [SIP] -> [Key and Certificate] and upload file above.

+ Access to path : C:\Program Files\Brekeke\pbx\conf
then creat new folder with name: keystore
paste file.pfx above to this folder.

+ Access to path: C:\Program Files\Brekeke\pbx\conf\server.xml
and add the code below:
[<Connector
protocol="org.apache.coyote.http11.Http11NioProtocol"
port="8443" maxThreads="200"
scheme="https" secure="true" SSLEnabled="true"
keystoreFile="C:\Program Files\Brekeke\pbx\conf\keystore\abc.pfx" keystorePass="123456"
clientAuth="false" sslProtocol="TLS"/>
]
I don't know where is wrong.
Please support me about this.
Thank you so much!
tuctran
Hello Truong,

I think, the keystorefile you added in the <Connector> element is not corrected. Please check following things and try again.
- Use .keystore instead of .pfx file. So convert the .crt to .keystore file (JKS) and use it.
- If you use Windows, you should add the path like this: keystoreFile="C:\\Program Files\\Brekeke\\pbx\\conf\\keystore\\<yourkeystore>.jks"


Thanks,
Truong
Hello Tuctran,
Thank you for your support, I got it.
I will try with your support.

Thank you!