UCP Phone Disconnect

Hello all
asterisk 13
freepbx 14
I configure the UCP Phone to display the disconnect.
The selinux and firewall are closed.


[2017-09-26 08:09:58] ERROR[9186]: tcptls.c:446 tcptls_stream_close: SSL_shutdown() failed: error:00000001:lib(0):func(0):reason(1), Internal SSL error
[2017-09-26 08:10:59] ERROR[9722]: tcptls.c:446 tcptls_stream_close: SSL_shutdown() failed: error:00000001:lib(0):func(0):reason(1), Internal SSL error
[2017-09-26 08:14:59] ERROR[10303]: tcptls.c:446 tcptls_stream_close: SSL_shutdown() failed: error:00000001:lib(0):func(0):reason(1), Internal SSL error
[2017-09-26 08:15:59] ERROR[10466]: tcptls.c:446 tcptls_stream_close: SSL_shutdown() failed: error:00000001:lib(0):func(0):reason(1), Internal SSL error

What should I do ?
Thank you

Do you have a valid TLS cert and are you browsing to UCP with https?

Yes,I have TLS cert and I‘m browsing to UCP with https.

How do I test the TSL cert is valid?
I am configured according to the following link.
UCP Phone - PBX GUI - Documentation

I think there is a problem with my cert. The doc does not explain the Private Key. Certificate and Trusted Chain in details. I am confused how to fill the form to upload the cert. under /etc/asterisk/keys, there are also some files. I do not know which file will paste to the form. Can you give me more details for Add New Certificate?

The /var/log/asterisk/ucp_err.log . Log as follows
2017-09-29 02:55 +00:00: There was an error with Asterisk Manager Connection
2017-09-29 02:55 +00:00: Unable to connect to asterisk!
2017-09-29 02:55 +00:00: There was an error with Asterisk Manager Connection
2017-09-29 02:55 +00:00: Unable to connect to asterisk!
2017-09-29 02:55 +00:00: There was an error with UCP_error log: Asterisk Manager Connection
2017-09-29 02:55 +00:00: Unable to connect to asterisk!
2017-09-29 02:55 +00:00: There was an error with Asterisk Manager Connection
2017-09-29 02:55 +00:00: Unable to connect to asterisk!
2017-09-29 02:55 +00:00: There was an error with Asterisk Manager Connection
2017-09-29 02:55 +00:00: Unable to connect to asterisk!
2017-09-29 02:55 +00:00: There was an error with Asterisk Manager Connection