[YMCS/YDMP Free Trial Program]Yealink would like to offer Free Trial Program of Yealink device management service for our current eligible customers. You can see the details below.
https://www.yealink.com/ydmp-freetrial-2020


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Certificate not trusted
Author Message
loop Offline
Junior Member
**

Posts: 6
Joined: Jul 2014
Reputation: 0
Post: #1
Certificate not trusted
I have an OpenSIPS gateway with a bought TLS certificate (not self signed).
I am successfully able to connect T20 handsets and Windows Zoiper soft phones to the gateway. They both trust the certificate.

Unfortunately I can not get the W52P to trust the certificate. I have to set "Only Accept Trusted Certificates" to "Disabled".

I've tested the certificate by using it with Apache for a HTTPS site and all browsers from multiple operating systems see the certificate as trusted. This leads me to believe the certificate is valid.

Is there any guidance on what kinds of paid certificate the W52P is compatible with? Is this a bug with the phone or do I need to buy my TLS certificate from a particular vendor?
07-23-2014 06:43 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
loop Offline
Junior Member
**

Posts: 6
Joined: Jul 2014
Reputation: 0
Post: #2
RE: Certificate not trusted
I've been doing some further investigation and here is what I have found so far.

1. The T20 only worked because by default "Only Accept Trusted Certificates" was set to "Disabled". Enabling "Only Accept Trusted Certificates" caused the same problems as the W52P.

2. I tried installing the bought certificate in to the phones and neither phone would register to the server. Looking at the logs from both phones they said "Failed to validate certificate".

3. I installed the bought certificate in to Zoiper on my Macbook and that connected to the server fine.

4. I generated a self signed certificate for the server in question and installed that in to the T20 and the W52P and they both worked fine.

My suspicion is that the Yealink handsets do not understand certificates that have an "intermediate" certificate (otherwise known as chain certificates).

Has anyone had any success getting a Yealink handset to recognise a certificate with intermediate certificates?
07-24-2014 12:48 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Yealink Support Offline
Administrator
*******

Posts: 2,683
Joined: Dec 2012
Reputation: 25
Post: #3
RE: Certificate not trusted
Hi loop,

We do not recommend users to use intermediate certificates. Hope you can understand it.

thanks
08-06-2014 05:01 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
loop Offline
Junior Member
**

Posts: 6
Joined: Jul 2014
Reputation: 0
Post: #4
RE: Certificate not trusted
(08-06-2014 05:01 PM)Yealink Support Wrote:  Hi loop,

We do not recommend users to use intermediate certificates. Hope you can understand it.

thanks

Thank you for the reply. This creates a problem though. As far as I'm aware you can't buy an SSL certificate without it using intermediates. They simply don't sell SSL certificates without intermediate certificates anymore.

Does Yealink have a recommended vendor for SSL certificates? Or are you indicating that Yealink phones only work with self signed certificates?
08-06-2014 05:05 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
JayPeg Offline
Junior Member
**

Posts: 10
Joined: May 2014
Reputation: 0
Post: #5
RE: Certificate not trusted
(08-06-2014 05:01 PM)Yealink Support Wrote:  Hi loop,

We do not recommend users to use intermediate certificates. Hope you can understand it.

thanks

Why do you not recommend intermediate certificates?
(This post was last modified: 11-28-2014 07:04 PM by JayPeg.)
11-28-2014 07:03 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
loop Offline
Junior Member
**

Posts: 6
Joined: Jul 2014
Reputation: 0
Post: #6
RE: Certificate not trusted
(11-28-2014 07:03 PM)JayPeg Wrote:  
(08-06-2014 05:01 PM)Yealink Support Wrote:  Hi loop,

We do not recommend users to use intermediate certificates. Hope you can understand it.

thanks

Why do you not recommend intermediate certificates?

I've since spoken to another Yealink technician and provided more detailed logs. In the end they said it was the encryption format was not supported:
Quote:This is a certificate signature failure ,because our phone don't
support the signature algorithm of sha256RSA,that is “AlphaSSL CA -
SHA256 - G2.cer”.
We plan to support the signature algorithm of sha256RSA,but not now.
Please advise to use other signature algorithm like sha1RSA in server.

When I pushed for a fix for this I got:
Quote:On the timescales for the fix I am told it is likely to be at least Q1 next year but there is no date in place yet so this may move.
11-28-2014 07:07 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
JayPeg Offline
Junior Member
**

Posts: 10
Joined: May 2014
Reputation: 0
Post: #7
RE: Certificate not trusted
thanks for your reply loop, can I ask if you've managed to find a workaround at all? i can't provisioning any of my handsets without manually going into each of them and disabling the certificate and it seems like such an oversight by yealink.
11-28-2014 07:10 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
loop Offline
Junior Member
**

Posts: 6
Joined: Jul 2014
Reputation: 0
Post: #8
RE: Certificate not trusted
(11-28-2014 07:10 PM)JayPeg Wrote:  thanks for your reply loop, can I ask if you've managed to find a workaround at all? i can't provisioning any of my handsets without manually going into each of them and disabling the certificate and it seems like such an oversight by yealink.

In the end we generated our own root certificate and make our customers install it in whatever phone they are using if they want encryption. After doing testing with some soft phones and running in to issues using bought certificates we decided the only reliable way to make encryption work across all phones was to insist on the installation of our own root certificate.
11-28-2014 07:14 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
JayPeg Offline
Junior Member
**

Posts: 10
Joined: May 2014
Reputation: 0
Post: #9
RE: Certificate not trusted
(11-28-2014 07:14 PM)loop Wrote:  
(11-28-2014 07:10 PM)JayPeg Wrote:  thanks for your reply loop, can I ask if you've managed to find a workaround at all? i can't provisioning any of my handsets without manually going into each of them and disabling the certificate and it seems like such an oversight by yealink.

In the end we generated our own root certificate and make our customers install it in whatever phone they are using if they want encryption. After doing testing with some soft phones and running in to issues using bought certificates we decided the only reliable way to make encryption work across all phones was to insist on the installation of our own root certificate.

but thats still a manual step of installing the certificate on the phone right?
how does that work for you with large deployments of yealink handsets?
12-01-2014 07:47 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
loop Offline
Junior Member
**

Posts: 6
Joined: Jul 2014
Reputation: 0
Post: #10
RE: Certificate not trusted
(12-01-2014 07:47 PM)JayPeg Wrote:  
(11-28-2014 07:14 PM)loop Wrote:  
(11-28-2014 07:10 PM)JayPeg Wrote:  thanks for your reply loop, can I ask if you've managed to find a workaround at all? i can't provisioning any of my handsets without manually going into each of them and disabling the certificate and it seems like such an oversight by yealink.

In the end we generated our own root certificate and make our customers install it in whatever phone they are using if they want encryption. After doing testing with some soft phones and running in to issues using bought certificates we decided the only reliable way to make encryption work across all phones was to insist on the installation of our own root certificate.

but thats still a manual step of installing the certificate on the phone right?
how does that work for you with large deployments of yealink handsets?

Yep. It makes large deployments a little more time consuming but we don't do them very often so it isn't too big an issue.
12-01-2014 07:48 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication